Name unsupported hardware SGPR inputs in shader diagnostics #941

Closed
github-bot wants to merge 1 commit from github-bot/gh-941 into main AGit
Owner

@⁠DoubleD17 on GitHub · 2026-11-25 13:22 UTC · original
DoubleD17:fix/name-unsupported-sgpr-input → main · +83 −3 · 4 files · 1 commits · closed without merging

The translator's unsupported hardware SGPR error omits the register, so different live-in reads produce the same diagnostic. Report the register when the missing value can be attributed to one input, preserve the consumer offset and the existing failure category, and keep the generic reason at ambiguous joins. Synthetic CPU tests on Windows x64 with Rust 1.98.1 MSVC distinguished s7 and s19 at the same export offset. The dead-read control emitted the same DXIL on the baseline and the candidate tree. An independent test on f5d0366 confirmed the generic reason at a dynamic join with the two inputs in either order. The diagnostics CLI compiled, and its grouping was reviewed in code. The scope is diagnostic formatting and synthetic translation. Reported in #923.

AI-assisted.

**@⁠DoubleD17** on GitHub · 2026-11-25 13:22 UTC · [original](https://github.com/fxceless/victory-fork/pull/941) `DoubleD17:fix/name-unsupported-sgpr-input` → `main` · +83 −3 · 4 files · 1 commits · closed without merging The translator's unsupported hardware SGPR error omits the register, so different live-in reads produce the same diagnostic. Report the register when the missing value can be attributed to one input, preserve the consumer offset and the existing failure category, and keep the generic reason at ambiguous joins. Synthetic CPU tests on Windows x64 with Rust 1.98.1 MSVC distinguished s7 and s19 at the same export offset. The dead-read control emitted the same DXIL on the baseline and the candidate tree. An independent test on f5d0366 confirmed the generic reason at a dynamic join with the two inputs in either order. The diagnostics CLI compiled, and its grouping was reviewed in code. The scope is diagnostic formatting and synthetic translation. Reported in [#923](https://git.gtahub.st/github/fxceless--victory-fork/issues/923). AI-assisted.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 03:54:18 +00:00
github-bot closed this pull request 2026-11-26 11:20:17 +00:00

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.