Compare mapped DLL draw with a Windows load #153
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/154"
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 sof9816 on 2026-11-21T17:37:17Z.
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
a4866f6on Windows 11 build 26200 with MSVC 19.44 and Python 3.13.3.cmake --build --preset dev --parallel 5completed.ctest --preset dev --no-tests=error -R '^cpu_native_frame_(hardware|warp)$' -Vpassed 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=errorreported 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
AI-assisted.