Verify recurrent texture SRV and UAV bindings on D3D12 #45
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/45"
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 R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T13:08:36Z.
Fixes #42.
Extend the local translation through SRV creation, both UAV descriptors and the UAV cursor update. The typed desktop bindings check the resource pointer, descriptions and destination slots before issuing the D3D12 calls.
Verification
At commit
962bdb4the RTX 4060 Laptop and WARP package runs passed at 1920x1080 and 1600x900. For each size the shader wrote two distinct patterns, first using the original shader-visible UAV and then using a copy of the CPU UAV. The shader read the SRV, and a direct texture copy independently read the original resource. Each adapter checked 7,027,200 pixels per readback path with zero mismatches, debug errors or warnings. The observed descriptor increments were 32 and 64 bytes respectively.Package command:
ctest --test-dir out/build/ffx-device -R '^ffx_(device_init|recurrent)_' --no-tests=error -V. All four tests passed.Default Windows regression: 66 passed, two wave64 capability skips, zero failures. Public CI uses source-built shaders, a WARP control and a native/translated MASM descriptor-offset fixture. The package binary and generated translation remain local.
View descriptions, heap slots and pixel verification. #44 tracks the remaining resource loop.