shader: allow partial SDWA destinations for V_NOT_B32 #684
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!684
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/684/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?
@ElijaOwO on GitHub · 2026-09-17 18:48 UTC · original
ElijaOwO:shader-v-not-b32-sdwa-partial-dst→main· +83 −1 · 3 files · 1 commits · merged 2026-09-20 14:21 UTCAllows partial SDWA destinations for V_NOT_B32 when source selector is DWORD.
Limited the change to VOP1 SDWA validation rules. (-> Source modifiers remain disabled)
Tests:
@coderabbitai[bot] on GitHub · 2026-09-17 18:54 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
c1c56b43-45a1-4906-b2d5-56507110c1ec📥 Commits
Reviewing files that changed from the base of the PR and between
104530eafcand9d1fd7d5df.📒 Files selected for processing (3)
src/graphics/shader/recompiler/frontend/decode/VectorAluOps.cpptests/ShaderRecompilerComputeTests.cpptests/shaderCfgTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
The
V_NOT_B32SDWA rule now accepts byte-, word-, and full-destination selectors. Decoder tests cover valid and invalid destination metadata and modifiers. A compute recompiler test verifies high-word preservation, opcode output, IR generation, and SPIR-VOpNotsupport.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Feature
Merge Risk: ⚪ Minimal · up to
9d1fdThe SDWA destination expansion has focused validation and runtime coverage, with no actionable merge risk identified.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Comment
@coderabbitai helpto get the list of available commands.