Shader: fix DXIL signature ordering for packed semantics #112
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by avt0m4t48 on 2026-11-24T21:34:42Z.
Refs #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.
Imported from fxceless/victory-fork. Originally posted by arminkhaleghirod on 2026-11-24T22:23:47Z.
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.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.