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

Merged
R0Y00 merged 1 commit from upstream-pr/47 into main 2026-11-21 13:37:56 +00:00
R0Y00 commented 2026-11-21 13:36:02 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T13:36:02Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6529470954 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/47). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T13:36:02Z. --- 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.
upstream-sync closed this pull request 2026-11-24 06:41:07 +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!47
No description provided.