Translate the FidelityFX provider resource loop and verify context handles #47

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

@⁠R0Y00 on GitHub · 2026-11-21 13:36 UTC · original
R0Y00:codex/ffx-provider-loop → main · +609 −13 · 12 files · 1 commits · merged 2026-11-21 13:37 UTC

Fixes #44.

Change

For the 1280×720 → 1920×1080 default-provider configuration, translate the 12-entry builder, debug-resource filter, backend slot reservation, provider index copy and inner-handle publication. Connect the resulting provider to the existing translated loader create export. The source-owned Windows control exercises the desktop allocations, descriptors, initialization copies, and failure path without local game files.

Verification

On commit 8870b96, the local package build passed all six FidelityFX CTests on the NVIDIA RTX 4060 Laptop (32.0.16.1656) and WARP. Run ctest --test-dir out/build/ffx-device -R '^ffx_provider_loop_' -V to repeat the new cases. On each adapter the debug layer reported zero warnings and zero errors.

  • Default: 11 named resources, 3 nested uploads, next resource index 15, status 0. ID 23 was skipped.
  • Flag 0x200: 12 named resources, next index 16 and ID 23 at index 15, status 0. Success checked both 25-entry tables and both fields in the loader wrapper.
  • Callback error 7 injected at ID 20: provider and loader returned 3, no handle published, no later callbacks, prior indices preserved.

Evidence and follow-up

Resource and index table, reproduction, and scope. Pinned image slices are generated locally. The public control is original project test code. WARP used RGB9E5 directly, while the RTX adapter used R32_UINT for RCAS packed storage. Shader-format equivalence and full upscaling dispatch remain open.

**@⁠R0Y00** on GitHub · 2026-11-21 13:36 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/47) `R0Y00:codex/ffx-provider-loop` → `main` · +609 −13 · 12 files · 1 commits · merged 2026-11-21 13:37 UTC Fixes #44. ## Change For the 1280×720 → 1920×1080 default-provider configuration, translate the 12-entry builder, debug-resource filter, backend slot reservation, provider index copy and inner-handle publication. Connect the resulting provider to the existing translated loader create export. The source-owned Windows control exercises the desktop allocations, descriptors, initialization copies, and failure path without local game files. ## Verification On commit 8870b96, the local package build passed all six FidelityFX CTests on the NVIDIA RTX 4060 Laptop (32.0.16.1656) and WARP. Run `ctest --test-dir out/build/ffx-device -R '^ffx_provider_loop_' -V` to repeat the new cases. On each adapter the debug layer reported zero warnings and zero errors. - Default: 11 named resources, 3 nested uploads, next resource index 15, status 0. ID 23 was skipped. - Flag 0x200: 12 named resources, next index 16 and ID 23 at index 15, status 0. Success checked both 25-entry tables and both fields in the loader wrapper. - Callback error 7 injected at ID 20: provider and loader returned 3, no handle published, no later callbacks, prior indices preserved. ## Evidence and follow-up [Resource and index table, reproduction, and scope](docs/experiments.md#provider-resource-loop-and-returned-handles). Pinned image slices are generated locally. The public control is original project test code. WARP used RGB9E5 directly, while the RTX adapter used R32_UINT for RCAS packed storage. Shader-format equivalence and full upscaling dispatch remain open.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:57 +00:00
github manually merged commit 8870b9624c into gh-pr/47/base 2026-11-26 21:23:59 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.