Shader: fix DXIL signature ordering for packed semantics #112
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!112
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-112"
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?
@avt0m4t48 on GitHub · 2026-11-24 21:34 UTC · original
avt0m4t48:fix/dxil-signature-name-order→main· +37 −2 · 1 files · 1 commits · openRefs #53. The DXC container writer orders signature records by stream, register, and semantic-name offset. VIctory emits stream zero and was using component column as the register tie-breaker. Use the already-computed name offset so packed semantics serialize in the order the validator expects. DXC signature writer
The regression packs two semantics in one register in an order that differs from both their component columns and their alphabetical order. It checks input and output records and verifies their masks. The test fails with the old comparator. With the fix, the shader crate's library suite passed 171 tests with two ignored.
A separate, source-built pixel shader reproduced
Container part 'Program Input Signature' does not match expected for modulewith Linuxdxv. Re-emitting it with the comparator change passed validation. The retail shader from #53 and its Windows pipeline were not rerun.AI-assisted using Codex. Source-built inputs only.
@arminkhaleghirod on GitHub · 2026-11-24 22:23 UTC · original
Merged onto main
90228a7and ranvictory translate --validateover the full title (26,148 programs) on Windows 11 / RTX 4080.Clears the 39
Program Output Signatureand 33Program Input Signaturemismatches. On main those 72 programs then fall into the blanket PSV mismatch (17,359 → 17,431), so the gain only shows on top of #61. #124, #110 and #112 give identical counts here, so they look like they overlap.View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.