Recompile and verify the first D3D12 device calls in upscaler creation #38
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/38"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T12:24:04Z.
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 withctest --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.