Verify recurrent texture SRV and UAV bindings on D3D12 #45

Manually merged
github merged 1 commit from gh-pr/45/head into gh-pr/45/base 2026-11-26 21:23:54 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-21 13:08 UTC · original
R0Y00:codex/ffx-recurrent-views → main · +267 −24 · 12 files · 1 commits · merged 2026-11-21 13:10 UTC

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.

**@⁠R0Y00** on GitHub · 2026-11-21 13:08 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/45) `R0Y00:codex/ffx-recurrent-views` → `main` · +267 −24 · 12 files · 1 commits · merged 2026-11-21 13:10 UTC 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:53 +00:00
github manually merged commit 962bdb4d18 into gh-pr/45/base 2026-11-26 21:23:54 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.