upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/thread_sampler.h
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 06:39:38 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 06:39:38 -0500
commit558206bb09a1819cab21a95b7b79fcbbc2701171 (patch)
treedf84a680f6023ee1a2d2c67b0533824aad41cd51 /runtime/src/thread_sampler.h
parent21625bca8c675c62f9dbffc318ce6a59d57faf31 (diff)
d3d12_xs: pin that the root-signature flag mask keeps every public flag (old upstream PR 7140)
The shims clear bits 24-31 of a root signature's flags on every descriptor and RTS0 blob. Old upstream PR 7140 asks to make that conditional on the blob's origin, since the retail executable's root signatures carry no 0x03000000 (one 1.1 description with Flags 0x80, and a decoder whose Flags is a 16-bit read). Every public D3D12_ROOT_SIGNATURE_FLAGS value is in bits 0-11, so the mask can't change those descriptors and no behaviour change is needed. root_sig_public_flags_test pins it: - the descriptor helpers (1.0, 1.1, 1.2, legacy) keep all 65536 flag values in [0, 0xFFFF], and an RTS0 blob with such flags is not rewritten; - the registered serializer shims give the host's blob byte for byte for each public flag, 0x80 and all twelve, and the deserializer shim returns the host's flags; - a blob with 0x03000080 comes back as 0x80 with a valid container hash and no other byte changed; - static_asserts that no public flag is in kXboxRootSignatureFlagHighByte. docs/d3d12_vulkan.md: the executable's answer to the open question, and why the mask stays unconditional. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/thread_sampler.h')
0 files changed, 0 insertions, 0 deletions