shader: add SDWA support for V_MIN_I32 #1342
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!1342
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1342/head"
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?
@popcoder565 on GitHub · 2026-10-09 23:58 UTC · original
popcoder565:fix/shader-sdwa-min-i32→main· +48 −1 · 2 files · 1 commits · merged 2026-10-10 01:43 UTCWWE 2K26 stops building a shader CFG with "unsupported family=VOP2 opcode=0x11 raw=[0x220404f9 0x00060605] reason=VOP2 SDWA modifier is not supported for opcode".
V_MIN_I32 takes the same integer path as V_MAX_I32, so give it the same full-destination SDWA profile. The test runs the game's encoding, which takes the signed minimum with the zero-extended low byte of a register.
@coderabbitai[bot] on GitHub · 2026-10-10 00:01 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
ecbd010f-c6ca-476e-a37b-9c51663019b8📥 Commits
Reviewing files that changed from the base of the PR and between
59183dbfa8and4e96294065.📒 Files selected for processing (2)
src/graphics/shader/recompiler/frontend/decode/VectorAluOps.cpptests/ShaderRecompilerComputeTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Walkthrough
Walkthrough
V_MIN_I32now uses the integer full-destination SDWA profile. A new compute test covers SDWA byte-0 source selection, signed-comparison cases, and inactive execution. The test runs with wave sizes 32 and 64.Suggested reviewers:
nmzikPriority: ➖ Normal
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
4e962No actionable merge-blocking risk is established for the V_MIN_I32 SDWA change. It is ready for normal validation.
Pre-merge checks |
5
✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.