Shaders: backport the scalar-code bounds fix from Vice-Tay #1495
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1495"
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 fxceless/victory-fork. Originally posted by t90 on 2026-11-27T19:37:28Z.
A VOP3 instruction can expose a scalar destination code above 127 while
unspillscans register effects. The current 128-entryusedtable panics (reproduced at index 215) before translation can return its normal result or error. Cover all 256 scalar codes, matching the neighbouring tables.Backport of Vice-Tay 00eaf47 by illuminatedfellow, originally from avatarmanz/VIctory-7900XTX#325. The synthetic regression covers wave32 and wave64 inputs. This PR changes only
ir.rs.Validation on the local source, verified identical to the uploaded file:
victory-formats/src/texture.rs:1346(already addressed by other open PRs); that unrelated file is unchanged.f299fba; the public branch also includes upstreamcd93552, whose water changes are unrelated to this file.Only source and synthetic test instructions are included; no game files, dumps or extracted data. Prepared with AI assistance.