Verify RCAS intermediate texel access on native and packed RGB9E5 paths #55

Merged
R0Y00 merged 2 commits from upstream-pr/55 into main 2026-11-21 14:29:13 +00:00
R0Y00 commented 2026-11-21 14:25:13 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T14:25:13Z.


Change

Implement reusable RGB9E5 texel packing and unpacking for the R32_UINT fallback identified in #47. Exercise both shader views on the RCAS intermediate published by a successful provider creation. Compare a direct copy of the underlying texture bits and the shader-visible RGBA values against an independent CPU reference.

Verification

Commit 93434f1. All six local package-build FidelityFX tests passed. The RTX 4060 Laptop used R32_UINT. WARP used native RGB9E5 and repeated the test with a forced R32_UINT context. Each path matched the nearest-even reference on all 1,024 finite HDR inputs. Both debug layers reported zero errors and warnings. Reproduce with ctest --test-dir out/build/ffx-device -R '^ffx_provider_loop_' -V.

Evidence and follow-up

The HLSL and input generator are original project code. The package build supplies the provider resource and its views, and public CI uses the source-built provider control. Integer-coordinate loads are covered. The next step is to identify the package shader and access instruction consuming resource ID 16. Experiment

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6530040745 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/55). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T14:25:13Z. --- ## Change Implement reusable RGB9E5 texel packing and unpacking for the R32_UINT fallback identified in #47. Exercise both shader views on the RCAS intermediate published by a successful provider creation. Compare a direct copy of the underlying texture bits and the shader-visible RGBA values against an independent CPU reference. ## Verification Commit 93434f1. All six local package-build FidelityFX tests passed. The RTX 4060 Laptop used R32_UINT. WARP used native RGB9E5 and repeated the test with a forced R32_UINT context. Each path matched the nearest-even reference on all 1,024 finite HDR inputs. Both debug layers reported zero errors and warnings. Reproduce with `ctest --test-dir out/build/ffx-device -R '^ffx_provider_loop_' -V`. ## Evidence and follow-up The HLSL and input generator are original project code. The package build supplies the provider resource and its views, and public CI uses the source-built provider control. Integer-coordinate loads are covered. The next step is to identify the package shader and access instruction consuming resource ID 16. [Experiment](https://github.com/R0Y00/Xbox2Windows/blob/codex/rcas-packed-texels/docs/experiments.md#rcas-intermediate-texel-access)
upstream-sync closed this pull request 2026-11-24 06:41:09 +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!55
No description provided.