Compare mapped DLL draw with a Windows load #154

Manually merged
github merged 1 commit from gh-pr/154/head into gh-pr/154/base 2026-11-26 21:30:51 +00:00
Owner

@⁠sof9816 on GitHub · 2026-11-21 17:37 UTC · original
sof9816:test/mapped-guest-draw → main · +159 −1 · 6 files · 1 commits · merged 2026-11-21 17:46 UTC

Change

Compare one source-built DLL draw after a normal Windows load and after mapping the same image with pe_map. Both paths call the same exported function and translated two-texture shader. The fixture verifies TLS and DLL entry order, checks the render against the CPU reference, and compares the two captures byte for byte. A withheld graphics import must fail before startup.

Refs #132.

Verification

Tested a4866f6 on Windows 11 build 26200 with MSVC 19.44 and Python 3.13.3.

  • cmake --build --preset dev --parallel 5 completed.
  • ctest --preset dev --no-tests=error -R '^cpu_native_frame_(hardware|warp)$' -V passed both tests. RTX 3060 Ti driver 621.14 and WARP each matched all 4,096 pixels on both load paths. D3D12 reported zero debug warnings or errors. Both tests verified the withheld-import case.
  • ctest --preset dev --no-tests=error reported 82 passes, zero failures and two native wave64 capability skips.

Evidence and follow-up

The fixture extends the existing MIT-licensed TLS assembly and reuses the source-built pixel fixture. The host callback runs the existing offscreen renderer in a child process. The reproduction command is documented in Mapped DLL draw with a Windows reference. EXE startup is tracked separately in #132.

Checklist

  • This pull request covers one reviewable behavior.
  • I included the exact command and result for every check I ran.
  • I considered a negative control or failure case for a new fixture.
  • I updated README/docs when a capability or build requirement changed.
  • I did not include game files, dumps, distribution links or secrets.

AI-assisted.

**@⁠sof9816** on GitHub · 2026-11-21 17:37 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/154) `sof9816:test/mapped-guest-draw` → `main` · +159 −1 · 6 files · 1 commits · merged 2026-11-21 17:46 UTC ## Change Compare one source-built DLL draw after a normal Windows load and after mapping the same image with `pe_map`. Both paths call the same exported function and translated two-texture shader. The fixture verifies TLS and DLL entry order, checks the render against the CPU reference, and compares the two captures byte for byte. A withheld graphics import must fail before startup. Refs #132. ## Verification Tested `a4866f6` on Windows 11 build 26200 with MSVC 19.44 and Python 3.13.3. - `cmake --build --preset dev --parallel 5` completed. - `ctest --preset dev --no-tests=error -R '^cpu_native_frame_(hardware|warp)$' -V` passed both tests. RTX 3060 Ti driver 621.14 and WARP each matched all 4,096 pixels on both load paths. D3D12 reported zero debug warnings or errors. Both tests verified the withheld-import case. - `ctest --preset dev --no-tests=error` reported 82 passes, zero failures and two native wave64 capability skips. ## Evidence and follow-up The fixture extends the existing MIT-licensed TLS assembly and reuses the source-built pixel fixture. The host callback runs the existing offscreen renderer in a child process. The reproduction command is documented in [Mapped DLL draw with a Windows reference](./docs/experiments.md#mapped-dll-draw-with-a-windows-reference). EXE startup is tracked separately in #132. ## Checklist - [x] This pull request covers one reviewable behavior. - [x] I included the exact command and result for every check I ran. - [x] I considered a negative control or failure case for a new fixture. - [x] I updated README/docs when a capability or build requirement changed. - [x] I did not include game files, dumps, distribution links or secrets. AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:30:49 +00:00
github manually merged commit a4866f6d96 into gh-pr/154/base 2026-11-26 21:30:51 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.