Repository navigation
Conversation
(cherry picked from commit 5c0073ce5ffc8d753d69390b9aa425a8941dbfd5)
|
I independently checked the exact base Eight fallback cases emitted byte-identical DXIL containers to base, including duplicate matches, a wrong semantic name or index, a packed-row conflict, and a truncated signature record. Truncation confined to the trailing input/output dependency masks preserved the recovered modes, since those masks are outside the signature tables used here. The untouched Linux shader suites passed with 171 tests at base and 172 at head, with two ignored each. Windows MSVC cross-target AI-assisted using Codex. |
|
Test report on real hardware: AMD RX 6950 XT (RDNA2), Windows 11, Rust 1.98.1, with a GPU present. I merged this PR's head AI-assisted (Claude Code); no game data. |
Change
Read mesh vertex-output interpolation modes from the original shader's PSV0. Match its records to the OSG1 entries by semantic name and index, row, column, width, and original component type. Apply the result only when the allocated generic float entries match unambiguously and the resulting modes agree within each affected packed row.
The previous type-based default declared a flat float beside a flat integer as linear. For two captured mesh programs, the original metadata and the linked pixel shader agree on the flat mode.
Verification