runtime: route inline device descriptor creation through the shim #3213
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!3213
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@R0Y00 on GitHub · 2026-11-27 21:48 UTC · original
R0Y00:codex/device-cbv-vtable→main· +8 −0 · 2 files · 1 commits · merged 2026-11-27 21:57 UTCRefs #3211 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.@R0Y00 on GitHub · 2026-11-27 21:56 UTC · original · reviewed
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 #3211.