upleb.uk

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

summaryrefslogtreecommitdiff
path: root/docs/d3d12_vulkan.md
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:42:34 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-25 16:42:34 -0500
commitac3aef567bbe4ec3aed6199c151e65f8b0d126c2 (patch)
tree1f13bd24a27f18b75a9464e3134dc10f4ba72273 /docs/d3d12_vulkan.md
parent5e85304b1f2b72168087d7cfebe08d2cd4c077ea (diff)
root_sig_public_flags_test: expect the heap-indexed fallback where the host refuses those flags
Since #1353 the shims' serializers (versioned and legacy) serialize a description the host refuses for CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED or SAMPLER_HEAP_DIRECTLY_INDEXED (Windows 10's in-box d3d12.dll): they call the host again without the two bits and put them back into RTS0. The three host-parity checks failed on Windows 10 for that, as reported in review. Where the host refuses such flags but takes the description without them, the shim now has to return S_OK with that blob byte for byte, except the RTS0 flags dword, which must hold all the flags, and a valid container hash. Byte-for-byte parity stays wherever the host accepts, and the shim still has to refuse whatever else the host refuses. The doc bullet says the same. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/d3d12_vulkan.md')
-rw-r--r--docs/d3d12_vulkan.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/d3d12_vulkan.md b/docs/d3d12_vulkan.md
index 3da8a6be1..a8b8ee413 100644
--- a/docs/d3d12_vulkan.md
+++ b/docs/d3d12_vulkan.md
@@ -2168,7 +2168,10 @@ The mask stays unconditional, because it can't touch a public flag: it clears bi
2168safe on every descriptor and blob, whatever built it. `root_sig_public_flags_test` pins this: 2168safe on every descriptor and blob, whatever built it. `root_sig_public_flags_test` pins this:
2169 2169
2170- the helpers keep every flag value in `[0, 0xFFFF]`; 2170- the helpers keep every flag value in `[0, 0xFFFF]`;
2171- the shims' serializers give the host's blob byte for byte for each public flag; 2171- the shims' serializers give the host's blob byte for byte for each public flag the host takes. Where the host
2172 refuses only `CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED` or `SAMPLER_HEAP_DIRECTLY_INDEXED` (Windows 10's in-box `d3d12.dll`),
2173 they serialize on purpose: the blob is the host's blob without those bits, with the full flags in `RTS0` and a valid
2174 container hash (`kDirectlyIndexedFlags`, `runtime/shims/d3d12_xs_rootsig.h`);
2172- a blob with `0x03000080` comes back as `0x80`. 2175- a blob with `0x03000080` comes back as `0x80`.
2173 2176
2174**Version 1.2 on older runtimes.** The in-box `d3d12.dll` of Windows 10 (measured on 22H2, 10.0.19045, without the 2177**Version 1.2 on older runtimes.** The in-box `d3d12.dll` of Windows 10 (measured on 22H2, 10.0.19045, without the