dxbc: name the first differing VS/PS signature element #581
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/581"
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 brcly/TuxBox. Originally posted by csj0oe on 2026-11-30T07:48:47Z.
What
About twenty PSOs a run are rejected with
slot 86 pipeline stage failure ... linked=false, and the only clue is vkd3d'sInput signature element ... not compatible, which does not say which pair or which field.tuxbox_dxbc::packing_mismatch: the first shared semantic whose register, mask or component type differs, described as producer and consumer, with the component type named (float32/uint32/sint32).slot 86 link mismatch VS=<hash> (prepared) PS=<hash> (original): TEXCOORD0 producer reg 2 mask 0x3, consumer reg 3 mask 0x7.has_packing_mismatchkeeps its predicate, refactored onto the same helpers.Tests
runtime/dxbc/src/tests/raster.rs::names_the_first_differing_semantic_of_a_rejected_pair, plus a duplicate-semantic row.tests/diagnostics.rspins the log line so clipping cannot hide the pair.cargo test -p tuxbox-dxbc --features native-bindings: 121 passed.Not run
No GPU behaviour changes, so no GPU suite exercises it; the line itself has not been observed in a real run yet and will appear on the next one. NVIDIA not applicable.
Imported from brcly/TuxBox. Originally posted by brcly on 2026-11-30T09:49:50Z.
Thanks. I checked the premise against our last long boot before deciding:
slot 86 pipeline stage failure … linked=false.Input signature element COLOR0 (reg 0, mask 0x4) not compatible with COLOR0 (reg 1, mask 0x1)andTEXCOORD7 (reg 1, mask 0x8) … (reg 2, mask 0x1).So the information this adds is mostly there already. What's new is having the two hashes on the same line, and the component type. That's handy, but it doesn't move the fault itself. As with the other diagnostics-only changes (#567 and #568), I'd rather not merge a log line on its own.
What the logs do show is where the fault is: every rejected pair is a prepared VS with an original PS, and
linked=false. The vertex shader was translated for a different pixel shader, or with no pixel shader at all, and then paired with this one without relinking. A PR that finds why these pairs skip the link step, and makes them link (or prepares the VS for the PS it's actually paired with), would be very welcome. If you need this helper to find that, keep it locally, and add it to the fix if it's useful as a permanent check there.Imported from brcly/TuxBox. Originally posted by csj0oe on 2026-11-30T10:10:27Z.
Closing, agreed. Reporting why a prepared-VS/original-PS pair skipped linking is not the fix; the fix is making the pair link. Keeping the helper locally until there is a pairing change to carry it. Branch kept.
Imported from brcly/TuxBox. Originally posted by NickStallman on 2026-11-30T10:21:23Z.
@brcly we looked at why these pairs aren't linked, in our own logs, and in ours it isn't a skipped link step. Three runs (RTX 5090,
f482572aplus PRs), 32 rejected pipelines logged in each, the same in all three (the log stops at 32):e5d2e913, joined by digest): pixel wave ops, a divergent wave reduction, a heap stride in a pixel shader,image_get_lodon a heap texture, a dynamicsoffset. None of the 21 has a pixel program that translates.link_on_demandandlink_meshboth require a translated pixel stage, so no link can fix them; each needs its refusal removed.Failed to remap SRV). We have a design for that one and want a capture of the roots first (a run tonight).I can't say whether your 18 pairs are the same: whether the pixel digests in them have a refusal recorded would settle it.
Pull request closed