Shaders: emit canonical system-value semantic names in ISG1/OSG1 signature parts #1042

Closed
github-bot wants to merge 1 commit from gh-pr/1042/head into gh-pr/1042/base
Owner

@⁠gabrielcruzg3 on GitHub · 2026-11-24 15:15 UTC · original
gabrielcruzg3:fix/dxil-signature-part → main · +65 −2 · 2 files · 1 commits · closed without merging

Addresses #201 (signature part semantic name mismatches reported by \dxil.dll).

Changes

  • \crates/victory-shader/src/emit/container.rs, \mod.rs: Write canonical DXIL system-value semantic names (\SV_Position, \SV_Target, etc.) into \ISG1/\OSG1\ container parts so they match the module signature metadata.

Verification

  • Added synthetic test
    on_canonical_system_value_name_validates\ validated against \dxil.dll.
  • Passed \cargo clippy -- -D warnings, \cargo test -p victory-shader, and \cargo xtask policy.
**@⁠gabrielcruzg3** on GitHub · 2026-11-24 15:15 UTC · [original](https://github.com/Marvisak/VIctory/pull/1042) `gabrielcruzg3:fix/dxil-signature-part` → `main` · +65 −2 · 2 files · 1 commits · closed without merging Addresses #201 (signature part semantic name mismatches reported by \dxil.dll\). ### Changes - \crates/victory-shader/src/emit/container.rs\, \mod.rs\: Write canonical DXIL system-value semantic names (\SV_Position\, \SV_Target\, etc.) into \ISG1\/\OSG1\ container parts so they match the module signature metadata. ### Verification - Added synthetic test \ on_canonical_system_value_name_validates\ validated against \dxil.dll\. - Passed \cargo clippy -- -D warnings\, \cargo test -p victory-shader\, and \cargo xtask policy\.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:18:06 +00:00
github-bot closed this pull request 2026-11-26 04:18:06 +00:00
Author
Owner

@⁠Zipettte on GitHub · 2026-11-24 16:30 UTC · original

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-shader passes, 121 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed).

Tested with AI assistance (Claude).

**@⁠Zipettte** on GitHub · 2026-11-24 16:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1042#issuecomment-7137770971) 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-shader` passes, 121 passed / 0 failed. Workspace baseline on main (ffe310e) is green on the same machine (342 passed). _Tested with AI assistance (Claude)._
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 00:30 UTC · original

Automated triage for the maintainers. Closing because this change is already in main, or main has 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.

**@⁠Marvisak** on GitHub · 2026-11-25 00:30 UTC · [original](https://github.com/Marvisak/VIctory/pull/1042#issuecomment-7148587149) Automated triage for the maintainers. Closing because this change is already in `main`, or `main` has 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

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1042
No description provided.