startup_compute_translate_e2e fails on the Windows 10 in-box D3D12 runtime: a root signature table with no ranges #2335
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#2335
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@lukaslw-lab on GitHub · 2026-11-25 12:45 UTC · original
Commit or build
b1a644ae(upstream main),devpresetReproduction
Expected behavior
All four tests pass (
startup_compute_translate_e2e_{warp,hardware}and the_wrong_group_controls), as on thewindows-2025CI image.Observed behavior
All four fail before any translation runs. The stand-in consumer creates the root signature from
X2W_TEST_COMPUTE_ROOT, which the test writes fromstartup_gfx2hlsl_compute_check.root_blob()(version 1.1: tworoot constants at b0 and a descriptor table with no ranges). The device rejects it:
In some runs the consumer exits with
0xC0000374(STATUS_HEAP_CORRUPTION) instead.The cause is in the Windows 10 runtime, not in the stand-in, which forwards the blob unchanged
(
d3d12_xs_device.cpp, device slot 16). A plain D3D12 device without the stand-in (ctypes, one process pervariant) gives:
D3D12SerializeVersionedRootSignature, valid hash)The serializer accepts the empty table;
CreateRootSignaturecorrupts the heap. The test blob differs from theserializer's output only in the hash, so the hand-made hash is not the cause.
Environment
Windows 10 22H2 build 19045, in-box D3D12 runtime and in-box WARP 10.0.19041.7811 (no Agility SDK),
NVIDIA GeForce RTX 3080 Ti driver 32.0.16.1047, debug layer off (with
X2W_D3D12_DEBUG=1the consumer ends with0xC0000374 before the log line). Visual Studio 2026 18.x (MSVC 19.52), Python 3.13.7.
AI-assisted (Claude Code); the commands and results above were run on the author's PC.