Repository navigation
Conversation
… clearing the Xbox RTS0 flags Upstream PR #8814
|
The other new checks pass, and the new test with Cause: the checksum comparison in Possible fix: compare the hash before the helper for any well-formed DXBC container and return Windows 10 Pro 22H2 (19045), VS 2022 RelWithDebInfo, merged onto |
|
Thanks a lot for carrying this over, @Andretuta (original work by One difference: this branch checks the container hash again in the shim before forwarding the cleared copy. Since there is nothing left to merge, I am closing this one to keep the queue clear. Please do reopen it if you see something we missed. AI-assisted (Claude Code, Claude Opus 5.5) |
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):What
d3d12_xs.dll now exports
D3D12CreateVersionedRootSignatureDeserializer(ordinal 7, also by name). It clears the Xbox high flag byte of the RTS0 chunk on a copy, re-checks the DXBC checksum first (a corrupt blob is still rejected), then forwards to the host deserializer. A clean blob is forwarded unchanged.docs/d3d12_xs_surface.mdrow 7 is updated from "absent" to "present".Why
The Xbox title's root signatures carry flag bits 24-31. Main already cleans them in
D3D12SerializeVersionedRootSignatureandD3D12CreateRootSignatureDeserializer, but the versioned deserializer (the one that reads 1.1/1.2 blobs) was not exported, so a boot-time root signature read through it fails and the PSO that needs it is never created.Rebased cleanly on current main; supersedes
#8814closed during org migration.Tested
Local cross-build (clang-cl 19 + xwin SDK 10.0.26100) and run under Wine 10.0,
root_sig_test.exe; pods are down so nothing ran on a GPU pod.d3d12_xs.cpp: "shim registry exposes the versioned deserializer" and "ordinal 7 resolves to the versioned deserializer" FAIL.Build note: main currently does not build (issue
#9812, fixed by#9809/#9815). For the local run I applied the#9809hunks for d3d12_xs_device.cpp/.h in a throwaway worktree only; none of it is in this branch.