shader: support the remaining wave32 SAVEEXEC variants #458
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!458
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-458"
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?
@brandostrong on GitHub · 2026-09-02 21:49 UTC · original
brandostrong:fix/saveexec-b32→main· +57 −7 · 6 files · 1 commits · openProblem. Astro Bot executes
s_orn2_saveexec_b32 vcc_lo, s32(SOP1 0x40). Only the AND/OR wave32 SAVEEXEC forms were decoded, so the shader failed to translate and the emulator exited.Change. Add OR/XOR/ANDN2/ORN2/NAND/NOR/XNOR/ORN1
_B32(SOP1 0x3d–0x43, 0x45) through the existingS_SAVEEXEChelper, which gains anegate_resultflag for the NAND/NOR/XNOR forms. Operand negation follows the RDNA2 SOP1 table (ORN2:S0 | ~EXEC,ANDN1:~S0 & EXEC).Effect. Astro Bot's wave32 shaders using these forms compile.
Verification. Suites pass.
References
S_*_SAVEEXEC_B32) and their operand negation.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.