Shaders: emit canonical system-value semantic names in ISG1/OSG1 signature parts #1042
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1042"
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 Marvisak/VIctory. Originally posted by gabrielcruzg3 on 2026-11-24T15:15:29Z.
Addresses #201 (signature part semantic name mismatches reported by \dxil.dll).
Changes
Verification
on_canonical_system_value_name_validates\ validated against \dxil.dll.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-24T16:28:58Z.
Review: APPROVED
Canonical DXIL system-value names (SV_TARGET -> SV_Target etc.) written into ISG1/OSG1 so dxil.dll validation accepts non-canonical console casing; fallback keeps custom names. The validator test is Windows-gated (skipped here), but the mapping is a straightforward kind->name table. Local verification: macOS arm64, rustc 1.98.1, PR head merged into main
ffe310e,cargo test -p <crate> --locked. Shader execution tests (valu_tests/host) are#[cfg(all(test, windows))], so macOS covers lowering/decode/unit tests only. victory-shader: 96 passed, 0 failed.Imported from Marvisak/VIctory. Originally posted by Zipettte on 2026-11-24T16:30:24Z.
Tested on AMD Radeon RX 7700 XT (RDNA3, gfx1101), driver 32.0.32029.2010, Windows 11, Rust 1.98.1 MSVC at
ad33015:cargo test -p victory-shaderpasses, 121 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).Tested with AI assistance (Claude).
upstream-sync referenced this pull request2026-11-24 19:03:41 +00:00
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T00:30:55Z.
Automated triage for the maintainers. Closing because this change is already in
main, ormainhas since replaced the code it patches.Rewrites system-value names to canonical casing in ISG1/OSG1. The mismatches of #201 were row order, fixed in main (
13091f6e): every emitted VS/PS validates there with the names as the console signature has them, in the part and the metadata alike. Synthetic test only.If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution.
Pull request closed