gpu: create the shadow device from the EXE import #820
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/826"
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 R0Y00 on 2026-11-23T09:16:12Z.
Change
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.