Name unsupported hardware SGPR inputs in shader diagnostics #940

Closed
DoubleD17 wants to merge 1 commit from upstream-pr/941 into main
DoubleD17 commented 2026-11-25 13:22:41 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by DoubleD17 on 2026-11-25T13:22:41Z.


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.

<!-- greyfinch-sync:fxceless/victory-fork:issue:6605467346 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/941). Originally posted by [DoubleD17](https://github.com/DoubleD17) on 2026-11-25T13:22:41Z. --- 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://github.com/fxceless/victory-fork/issues/923). AI-assisted.
upstream-sync closed this pull request 2026-11-26 10:06:38 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!940
No description provided.