Recompile and verify the first D3D12 device calls in upscaler creation #38

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

@⁠R0Y00 on GitHub · 2026-11-21 12:24 UTC · original
R0Y00:codex/upscaler-device-init → main · +299 −5 · 12 files · 1 commits · merged 2026-11-21 12:25 UTC

Change

Trace the packaged upscaler create export through provider selection to the first device-dependent block of the backend. The optional offline translation executes that block against a real Windows D3D12 device, verifies each heap description and output slot, and stops at the return from the fifth heap creation.

Verification

Tested commit 248b759. The local package build passed both tests with ctest --test-dir out/build/ffx-device -R '^ffx_device_init_' --no-tests=error -V. RTX 4060 Laptop and Microsoft WARP each returned S_OK five times. Both debug-layer logs reported zero warnings and errors.

The default build passed 64 tests in ctest --preset dev --no-tests=error; the two wave64 capability tests skipped. Public WARP coverage uses the source-owned desktop control. A separate source-owned MASM fixture compares native and translated heap arithmetic for six inputs. Both fixtures are original contributions under the repository license.

Evidence and follow-up

The package run supplies the device and fresh one-context scratch at entry to the translated block. The earlier create path was traced statically. Complete effect creation and dispatch remain open. The local image and generated translation stay outside Git.

Reproduction commands and call parameters. Refs #37 for backend slot allocation.

**@⁠R0Y00** on GitHub · 2026-11-21 12:24 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/38) `R0Y00:codex/upscaler-device-init` → `main` · +299 −5 · 12 files · 1 commits · merged 2026-11-21 12:25 UTC ## Change Trace the packaged upscaler create export through provider selection to the first device-dependent block of the backend. The optional offline translation executes that block against a real Windows D3D12 device, verifies each heap description and output slot, and stops at the return from the fifth heap creation. ## Verification Tested commit 248b759. The local package build passed both tests with `ctest --test-dir out/build/ffx-device -R '^ffx_device_init_' --no-tests=error -V`. RTX 4060 Laptop and Microsoft WARP each returned S_OK five times. Both debug-layer logs reported zero warnings and errors. The default build passed 64 tests in `ctest --preset dev --no-tests=error`; the two wave64 capability tests skipped. Public WARP coverage uses the source-owned desktop control. A separate source-owned MASM fixture compares native and translated heap arithmetic for six inputs. Both fixtures are original contributions under the repository license. ## Evidence and follow-up The package run supplies the device and fresh one-context scratch at entry to the translated block. The earlier create path was traced statically. Complete effect creation and dispatch remain open. The local image and generated translation stay outside Git. [Reproduction commands and call parameters](../blob/codex/upscaler-device-init/docs/experiments.md#first-device-calls-in-the-packaged-upscaler). Refs #37 for backend slot allocation.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:23:33 +00:00
github manually merged commit 248b759e35 into gh-pr/38/base 2026-11-26 21:23:35 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.