fix(gpu): resolve D3D12 error 646 in ambient depth binding #2
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2"
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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by jeremygold02 on 2026-11-26T07:01:26Z.
Problem
The ambient lighting stand-in used the output image's UAV as a placeholder for depth in the radiance and air passes. The descriptor lookup also accepted an unordered view for a shader-resource lookup. The host then bound a UAV to the compute table that expects a depth SRV, triggering Direct3D 12 debug-layer error 646.
Change
Test setup
Verification
Built a clean Windows diagnostics checkpoint containing this fix with
cargo build --offline --locked --target-dir target --jobs 2 --profile diag -p victory --features diagnostics. Ran both NVIDIA launcher presets withVICTORY_D3D12_DEBUG=1.Both validation runs used the integrated local checkpoint. This PR contains only the ambient descriptor-binding change. Frame-rate impact was outside the scope of these checks.