fix(gpu/hwrt): verify ALLOW_UNORDERED_ACCESS on postbuild destination shadow buffer (#339) #378
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: launcher
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
run report
security: hold
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs gpu test
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Androtim--MiniVI!378
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-378"
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?
@RUIZ-Enrique-25002136 on GitHub · 2026-12-03 07:54 UTC · original
RUIZ-Enrique-25002136:fix/hwrt-postbuild-uav-guard→main· +24 −0 · 1 files · 2 commits · merged 2026-12-03 08:30 UTCSummary
Guards
Manager::emit_postbuildincrates/victory-gpu/src/hwrt.rsagainst destination shadow buffers that lackD3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS, matching the root UAV check indraw.rs.Addresses #339 (Pass #5
[P2]follow-up).Changes
crates/victory-gpu/src/hwrt.rs:Manager::allows_uav(flags)checkingD3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS.emit_postbuild, verifiedsh.buffer.GetDesc().Flagswithallows_uavbefore bindingSetComputeRootUnorderedAccessView(1, dst_aligned)and dispatchingwrite_postbuild; logs a one-time warning and skips the write if absent.allows_uav_checks_unordered_access_flag.Rig Specs Tested On
x86_64)victory-gpucrate; full clippy & tests verified on GitHub Actionswindows-latestCI)x86_64) — Windowsx86_64-pc-windows-msvcCI verifies compilation, clippy, and unit testsRun Settings & Profile
origin/mainVICTORY_*Overrides: N/AMeasurements & Verification
cargo clippy --workspace --all-targets --locked -- -D warnings(verified on GitHub Actionswindows-latestCI)cargo clippy --workspace --all-targets --all-features --locked -- -D warnings(verified on GitHub Actionswindows-latestCI)cargo test --locked -p xtask-> 8 passed, 0 failedcargo xtask policy->asset policy: 349 files okcargo test -p victory-gpu --locked -- --test-threads=1(verified on GitHub Actionswindows-latestCI)github-bot referenced this pull request2026-12-03 08:08:37 +00:00