GPU: implement resource-backed texture UAV clears (#771) #1352

Closed
github-bot wants to merge 1 commit from gh-pr/1352/head into gh-pr/1352/base
Owner

@⁠wbkepler on GitHub · 2026-11-24 17:35 UTC · original
wbkepler:gpu/resource-texture-uav-clears → main · +828 −81 · 5 files · 1 commits · closed without merging

Summary

Implements #771:

  • Implements ClearUnorderedAccessViewUint and ClearUnorderedAccessViewFloat for resource-backed texture UAVs across crates/victory-gpu/src/{descriptor/host.rs,draw.rs,host.rs,list.rs,texture.rs}.
  • Tracks host texture state transitions and shader-visible/non-shader-visible descriptor pairs cleanly across command-list recording and submission.
  • Adds unit and live D3D12 WARP tests verifying Uint and Float texture UAV clears.

Verification

  • cargo clippy -p victory-gpu --all-targets — passed
  • cargo test -p victory-gpu — passed
  • cargo xtask policy — passed
**@⁠wbkepler** on GitHub · 2026-11-24 17:35 UTC · [original](https://github.com/Marvisak/VIctory/pull/1352) `wbkepler:gpu/resource-texture-uav-clears` → `main` · +828 −81 · 5 files · 1 commits · closed without merging ## Summary Implements #771: - Implements `ClearUnorderedAccessViewUint` and `ClearUnorderedAccessViewFloat` for resource-backed texture UAVs across `crates/victory-gpu/src/{descriptor/host.rs,draw.rs,host.rs,list.rs,texture.rs}`. - Tracks host texture state transitions and shader-visible/non-shader-visible descriptor pairs cleanly across command-list recording and submission. - Adds unit and live D3D12 WARP tests verifying `Uint` and `Float` texture UAV clears. ## Verification - `cargo clippy -p victory-gpu --all-targets` — passed - `cargo test -p victory-gpu` — passed - `cargo xtask policy` — passed
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:28:28 +00:00
github-bot closed this pull request 2026-11-26 04:28:28 +00:00
Author
Owner

@⁠shortselow-byte on GitHub · 2026-11-24 19:32 UTC · original

For triage: this is the third open PR implementing ClearUnorderedAccessViewUint/Float on texture UAVs, after #948 and #1162, and none of the three mentions the others. git merge-tree against the current heads: this conflicts with #948 (descriptor/host.rs, host.rs, list.rs) and with #1162 (descriptor/host.rs, host.rs). #948 has already been run on NVIDIA, AMD and WARP.

This PR on its own, at a695f88 on main ffe310e, isolated target directory, Windows 11, Rust 1.98.1 MSVC, AMD Radeon RX 6900 XT: workspace 344 passed, 0 failed, including its two new tests; both clippy runs clean.

**@⁠shortselow-byte** on GitHub · 2026-11-24 19:32 UTC · [original](https://github.com/Marvisak/VIctory/pull/1352#issuecomment-7142236973) For triage: this is the third open PR implementing `ClearUnorderedAccessViewUint/Float` on texture UAVs, after #948 and #1162, and none of the three mentions the others. `git merge-tree` against the current heads: this conflicts with #948 (`descriptor/host.rs`, `host.rs`, `list.rs`) and with #1162 (`descriptor/host.rs`, `host.rs`). #948 has already been run on NVIDIA, AMD and WARP. This PR on its own, at `a695f88` on `main` `ffe310e`, isolated target directory, Windows 11, Rust 1.98.1 MSVC, AMD Radeon RX 6900 XT: workspace 344 passed, 0 failed, including its two new tests; both clippy runs clean.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:38 UTC · original

Automated triage for the maintainers. Closing because this change is already in main, or main has since replaced the code it patches.

Texture UAV clears are already served in main (draw.rs State::clear_unordered through a dynamic slot of the bound view heap); same capability, 828 stale lines.

If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

**@⁠Marvisak** on GitHub · 2026-11-25 00:38 UTC · [original](https://github.com/Marvisak/VIctory/pull/1352#issuecomment-7148719873) Automated triage for the maintainers. Closing because this change is already in `main`, or `main` has since replaced the code it patches. Texture UAV clears are already served in main (draw.rs State::clear_unordered through a dynamic slot of the bound view heap); same capability, 828 stale lines. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1352
No description provided.