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

Manually merged
github merged 2 commits from gh-pr/55/head into gh-pr/55/base 2026-11-26 21:24:35 +00:00
Owner

@⁠R0Y00 on GitHub · 2026-11-21 14:25 UTC · original
R0Y00:codex/rcas-packed-texels → main · +253 −5 · 8 files · 2 commits · merged 2026-11-21 14:29 UTC

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

**@⁠R0Y00** on GitHub · 2026-11-21 14:25 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/55) `R0Y00:codex/rcas-packed-texels` → `main` · +253 −5 · 8 files · 2 commits · merged 2026-11-21 14:29 UTC ## 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)
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:24:33 +00:00
github manually merged commit 0fb5aa7d03 into gh-pr/55/base 2026-11-26 21:24:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.