runtime: route inline device descriptor creation through the shim #3211
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3211"
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-27T21:48:42Z.
Refs #3209 and #3074.
The guest device ABI checks byte +0x18 before using inline descriptor creation. The shim now requests vtable calls so slot 17 can record constant-buffer views in the descriptor bookkeeping. The existing indirect-dispatch fixture checks the byte on the guest wrapper.
Local verification on
024619df2(MSVC Release /O2, Windows 11 build 26200, RTX 4060 Laptop GPU driver 32.0.16.1656 and WARP). Both WARP and hardware passedctest --preset release --no-tests=error -R '^startup_indirect_dispatch_(warp|hardware)$'. The target workload still needs end-to-end indirect argument and scene-color verification.Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-27T21:56:50Z.
Review: COMMENTED
Independent verification of
024619dfonmain28e4a025(trial treef04d1f0a). The static assertion pins the guest byte at +0x18, and initialization only changes the device wrapper. The current main additions throughd474a393touch the direct compiler and its fixtures, so the wrapper and fixture contents remain identical.Built
startup_indirect_dispatchand ranctest --test-dir <build> --no-tests=error -j1 -V -R '^startup_indirect_(dispatch|root_constants|count)_(warp|hardware)$'. Debug and Release /O2 each passed 6/6, with no skips. WARP 10.0.26100.9818 and RTX 4060 Laptop (driver 32.0.16.1656) ran on Windows 11 26200.9974 with the D3D12 debug layer enabled. Hosted Windows passed. This verifies the wrapper ABI flag and indirect-dispatch regressions. The original executable's indirect-argument and scene-colour evidence remains tracked in #3209.