gpu: verify slot 57 request publication through desktop readback #2514

Merged
RonLogic merged 2 commits from upstream-pr/2522 into main 2026-11-25 20:08:21 +00:00
RonLogic commented 2026-11-25 19:44:46 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by RonLogic on 2026-11-25T19:44:46Z.


Change

Refs #2413 and #1759. Use the same source-built mesh and pixel pair for the guest slot-57 request publisher and the desktop pixel readback. The new test consumes the runtime-written .m57, .ps57, and serialized root, checks that the runtime and offline cache keys agree, compiles the pair with DXC, and renders it with the existing desktop mesh fixture. It compares the 1,024 pixels with the CPU rasterizer and rejects a reference with one changed pixel. This verifies the publisher-to-translator boundary. The source-built desktop draw is a separate process from the guest request capture.

Verification

Windows x64 Release at c77b8f08, base 396e7e2e. WARP 10.0.26100.10068 and RTX 4070 32.0.16.2124. Both exchange tests covered 259 of 1,024 pixels and reported zero D3D12 debug warnings/errors. All 7 selected tests passed without skips.

cmake --build --preset release --target startup_indirect_draw_indexed offscreen_check --parallel 4
ctest --preset release --no-tests=error -j 1 -R '^(startup_mesh57_skeleton.*|startup_indirect_mesh_request_(warp|hardware))$' --output-on-failure
python -B tests/docs_links_check.py
git diff --check origin/main...HEAD

I used Codex to implement the test and ran the checks on my Windows workstation.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6612358892 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/2522). Originally posted by [RonLogic](https://github.com/RonLogic) on 2026-11-25T19:44:46Z. --- ## Change Refs #2413 and #1759. Use the same source-built mesh and pixel pair for the guest slot-57 request publisher and the desktop pixel readback. The new test consumes the runtime-written `.m57`, `.ps57`, and serialized root, checks that the runtime and offline cache keys agree, compiles the pair with DXC, and renders it with the existing desktop mesh fixture. It compares the 1,024 pixels with the CPU rasterizer and rejects a reference with one changed pixel. This verifies the publisher-to-translator boundary. The source-built desktop draw is a separate process from the guest request capture. ## Verification Windows x64 Release at `c77b8f08`, base `396e7e2e`. WARP 10.0.26100.10068 and RTX 4070 32.0.16.2124. Both exchange tests covered 259 of 1,024 pixels and reported zero D3D12 debug warnings/errors. All 7 selected tests passed without skips. ```powershell cmake --build --preset release --target startup_indirect_draw_indexed offscreen_check --parallel 4 ctest --preset release --no-tests=error -j 1 -R '^(startup_mesh57_skeleton.*|startup_indirect_mesh_request_(warp|hardware))$' --output-on-failure python -B tests/docs_links_check.py git diff --check origin/main...HEAD ``` I used Codex to implement the test and ran the checks on my Windows workstation.
upstream-sync closed this pull request 2026-11-25 21:01:15 +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!2514
No description provided.