Root signatures require RS 1.1 direct-heap flags unconditionally: hosts that refuse them lose the pipeline and the draw #19
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?
Imported from avatarmanz/VIctory-7900XTX. Originally posted by itsonewi on 2026-11-25T23:38:26Z.
Where
crates/victory-gpu/src/pipeline/host.rs:1019-1041(root_signature) builds every host root signature as version 1.1 with both heap-directly-indexed flags, unconditionally:There is no capability query before it and no second attempt after it. If serializing or creating that signature fails,
build()logs and returnsNone(pipeline/host.rs:595-598):and the draw or dispatch that needed it is then dropped (
a dispatch without a host pipeline dropped).What hosts hit it
#12 (Windows 10 22H2 19045, RX 6600, driver 32.0.21045.29003) has all three lines in order:
The first line is this file's own error-blob message (
tracing::warn!("root signature: {}", ...)), so the refusal comes from the platform's root-signature serializer, before any pipeline reaches the driver. The same0x80070057shape for compute shader2cc4c197ee29e291on an RTX 5070 is reported as the baseline in #4.Why it is worth a fix
-Safein #12 because those dispatches are not issued there, which makes "the same with and without-Safe" read as unrelated when it is really "not exercised".Suggestion
Ask once per device and cache the answer (the root-signature tier /
D3D12_FEATURE_D3D12_OPTIONS, or the serializer itself with a 1.1-and-flags signature at device creation):Not checked
I have no build and no GPU here; everything above is source at
0a43566plus the log lines in #12 and #4. I have not run the code and have not confirmed which capability query is the right one on every host.AI use
AI-assisted review (source reading and text). No game files, no build, no hardware run.