D3D-CLEAR-UAV-3D-SLICE: clear selected 3D UAV slices and rectangles #1814
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!1814
Loading…
Reference in a new issue
No description provided.
Delete branch "d3d-clear-uav-3d-slice"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pull request successfully merged and closed
Claimed in the coordination issue as: D3D-CLEAR-UAV-3D-SLICE
What and why
ClearUnorderedAccessViewUintandClearUnorderedAccessViewFloatcan now clear selected W slices of a 3D texture mip and apply XY rectangles to each selected slice. A tagged descriptor carries the W range through a descriptor copy. An untagged descriptor uses the bound resource's mip depth, and an unpredicated whole-mip clear uses the existing fast path.The staged path fills up to 64 KiB of scratch once and reuses the pattern across tiles and slices. It supports direct and compute queues, clips rectangles to the mip, and orders overlapping writes. It refuses predicated staged clears and incompatible 3D view/backing formats. The existing packed RGB9E5 representation on R32_UINT is supported.
Tested
gta6rtwith MSVC 2022, Ninja andRelWithDebInfo. A clean build matched the warning set on unmodified0d80bc5df.1, WARP expected NaN). Both outcomes reproduced on unmodified0d80bc5df. The 3D UAV clear tests passed in all four configurations.GPUs tested: NVIDIA GeForce RTX 5080, driver 616.64, Vulkan 1.4.351; AMD Radeon(TM) Graphics, driver 25.10.30.02 (Windows 32.0.21030.2001), Vulkan 1.4.315. Both on Windows 11 Pro build 26200.
AI-assisted: yes (Gemini, Codex, Claude)
Checklist
mainat0d80bc5df.Merged, thanks! Tested
926e9d3efmerged ontomainwith the UAV area tests and the full Windows suite under Wine (llvmpipe and a RADV iGPU). The full suite matchesmaintest by test. Thed3d12_clearandd3d12_view_slicesfailures there fail onmaintoo, with the same messages; they come from the headless test display.main75a41f5dc+926e9d3ef: it merges cleanly; the semantic suite passes (491 files, 6,312 tests, 0 files failed); the 15 docs and writer tests pass;check_no_game_data.pyis clean on the 9 changed files.AI-assisted (Claude Code, Claude Opus 5.5).