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

Manually merged
github merged 2 commits from gh-pr/2522/head into gh-pr/2522/base 2026-11-27 00:59:10 +00:00
Owner

@⁠RonLogic on GitHub · 2026-11-25 19:44 UTC · original
RonLogic:test/slot57-request-to-translation → main · +91 −18 · 4 files · 2 commits · merged 2026-11-25 20:08 UTC

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.

**@⁠RonLogic** on GitHub · 2026-11-25 19:44 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2522) `RonLogic:test/slot57-request-to-translation` → `main` · +91 −18 · 4 files · 2 commits · merged 2026-11-25 20:08 UTC ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 00:59:09 +00:00
github manually merged commit b4144da3f6 into gh-pr/2522/base 2026-11-27 00:59:10 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.