gpu: create the shadow device from the EXE import #826
No reviewers
Labels
No labels
accessibility
awaiting author
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
priority: P0
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/R0Y00--Xbox2Windows!826
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/826/head"
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?
@R0Y00 on GitHub · 2026-11-23 09:16 UTC · original
R0Y00:codex/exe-shadow-runtime-chain→main· +122 −38 · 8 files · 1 commits · merged 2026-11-23 09:26 UTCChange
Refs #730. Lift the real
d3d12_xs!D3D12XboxCreateDevicecall from the source-built EXE. The PE mapper resolves the same import. Adapter selection and ownership stay in the fixture provider. The request uses the desktopID3D12DeviceIID and a null parameter block at feature level 12.0.The success path preserves two color and light depth frames, four tracked surface releases and exit 42. The unsupported IID starts with a non-null output and observes
E_NOINTERFACE, a cleared output, both DXGI references released, no frame data and exit 20.Verification
Tested
ddc841fon Windows 11 26200.9974, RTX 4060 Laptop GPU with NVIDIA 616.56 and WARP 10.0.26100.9818. The shim EXE provider runs without requesting the debug layer. The standalone draw uses its existing debug-layer setup.cmake --build --preset release --target cpu_shim_startup_lifted pe_map offscreen_check --parallel 6passed.ctest --preset release --no-tests=error --output-on-failure -R '^(cpu_native_shim_startup|cpu_shim_(compute|draw|texture_reuse|upload_texture|chain|shadow)_(warp|hardware)|mesh_shadow_draw_(warp|hardware))$'passed all 15 tests.python -B tests/docs_links_check.pyandgit diff --checkpassed.AI-assisted.