cpu: submit two placed DXR build requests from a lifted PE #1356

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

@⁠R0Y00 on GitHub · 2026-11-24 09:03 UTC · original
R0Y00:codex/aot-placed-dxr-batch → main · +412 −9 · 8 files · 1 commits · merged 2026-11-24 09:08 UTC

Refs #874, #1326 and #1320. This exercises where the guest build records come from. An original, source-built x64 EXE writes two 16-byte destination/scratch records and calls an explicit fixture DLL import. The static translation lifts those same offsets, writes, branches and import calls from the PE machine code. The DLL applies the production placement resolver to both records before recording either build. This two-record layout is a test interface.

Native Windows and pe_map use the same input image. The linked AOT image exports that input's SHA-256 (de5514aebcb8b91c9e6f7f9a9bdd841c9212d0b3ebe319c792a8fd8904be32e4). Each of the three runners independently checked each case on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), Windows 11 build 26200.9974. The new provider ran without a debug layer.

  • Valid records at destination offset 512 and scratch offset 768 record two builds and complete one submission. A direct desktop GPU-address control also records two builds and completes one submission. The 12 DWORDs match each other and the independent expected hit, miss, and mask-filtered miss. Five placements release; the EXE exits 42.
  • When the second scratch extent is one byte short or its address is unregistered, the first rejection is index 1 with E_INVALIDARG. The recorder sees zero builds and zero completed submissions. No output files appear, all five placements release, and the EXE exits 22.
cmake --build --preset release --target cpu_placed_dxr_lifted cpu_placed_draw_lifted startup_stream_consumer offscreen_check pe_map
ctest --preset release --no-tests=error -R '^(cpu_placed_(dxr|draw)_(warp|hardware)|dxr_(placed_build|address_ranges)_(warp|hardware))$' -j 2 --output-on-failure

Local Release at 91aefe89: 8 passed, 0 failed, 0 skipped. All three-runner inputs and geometry are source-built.

**@⁠R0Y00** on GitHub · 2026-11-24 09:03 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/1356) `R0Y00:codex/aot-placed-dxr-batch` → `main` · +412 −9 · 8 files · 1 commits · merged 2026-11-24 09:08 UTC Refs #874, #1326 and #1320. This exercises where the guest build records come from. An original, source-built x64 EXE writes two 16-byte destination/scratch records and calls an explicit fixture DLL import. The static translation lifts those same offsets, writes, branches and import calls from the PE machine code. The DLL applies the production placement resolver to both records before recording either build. This two-record layout is a test interface. Native Windows and `pe_map` use the same input image. The linked AOT image exports that input's SHA-256 (`de5514aebcb8b91c9e6f7f9a9bdd841c9212d0b3ebe319c792a8fd8904be32e4`). Each of the three runners independently checked each case on RTX 4060 Laptop (32.0.16.1656) and WARP (10.0.26100.9818), Windows 11 build 26200.9974. The new provider ran without a debug layer. * Valid records at destination offset 512 and scratch offset 768 record two builds and complete one submission. A direct desktop GPU-address control also records two builds and completes one submission. The 12 DWORDs match each other and the independent expected hit, miss, and mask-filtered miss. Five placements release; the EXE exits 42. * When the second scratch extent is one byte short or its address is unregistered, the first rejection is index 1 with `E_INVALIDARG`. The recorder sees zero builds and zero completed submissions. No output files appear, all five placements release, and the EXE exits 22. ```powershell cmake --build --preset release --target cpu_placed_dxr_lifted cpu_placed_draw_lifted startup_stream_consumer offscreen_check pe_map ctest --preset release --no-tests=error -R '^(cpu_placed_(dxr|draw)_(warp|hardware)|dxr_(placed_build|address_ranges)_(warp|hardware))$' -j 2 --output-on-failure ``` Local Release at `91aefe89`: 8 passed, 0 failed, 0 skipped. All three-runner inputs and geometry are source-built.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 23:00:41 +00:00
github manually merged commit 91aefe8931 into gh-pr/1356/base 2026-11-26 23:00:43 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.