Verify recurrent texture SRV and UAV bindings on D3D12 #45

Merged
R0Y00 merged 1 commit from upstream-pr/45 into main 2026-11-21 13:10:23 +00:00
R0Y00 commented 2026-11-21 13:08:36 +00:00 (Migrated from github.com)

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 962bdb4 the 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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6529160321 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/45). Originally posted by [R0Y00](https://github.com/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 962bdb4 the 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](https://github.com/R0Y00/Xbox2Windows/blob/962bdb4/docs/experiments.md#recurrent-texture-views-and-pixel-readback). #44 tracks the remaining resource loop.
upstream-sync closed this pull request 2026-11-24 06:41:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
R0Y00/Xbox2Windows!45
No description provided.