shader: implement DS_INC_U32 and DS_DEC_U32 #790
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!790
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/790/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?
@joaodiaslobo on GitHub · 2026-09-23 19:01 UTC · original
joaodiaslobo:shader/ds-inc-dec-u32→main· +24 −9 · 5 files · 1 commits · merged 2026-09-23 20:45 UTCAdds support for
DS_INC_U32(0x03) andDS_DEC_U32(0x04) instructions.Both route through the existing
DS_ATOMIChelper withreturns_value = false, reusing theSharedAtomicInc32/SharedAtomicDec32IR opcodes added with the return forms.DsAtomicNoReturnVariantsis extended to cover both instructions across every branch of their wrap semantics.Tested on Windows with clang-cl.
@coderabbitai[bot] on GitHub · 2026-09-23 19:07 UTC · original
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
Review profile: CHILL
Plan: Advanced
Run ID:
33e6cd39-52b3-4d59-9c85-2eb6dc8c73bf📥 Commits
Reviewing files that changed from the base of the PR and between
569ec04d1aand9290f1e068.📒 Files selected for processing (5)
src/graphics/shader/recompiler/frontend/decode/MemoryOps.cppsrc/graphics/shader/recompiler/frontend/decode/ShaderDecoder.cppsrc/graphics/shader/recompiler/frontend/decode/ShaderDecoder.hsrc/graphics/shader/recompiler/frontend/translate/Memory.cpptests/ShaderRecompilerComputeTests.cppIncluded review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
The decoder now recognizes non-returning DS increment and decrement variants. The translator dispatches these variants to shared atomic operations without returning a value. The compute test includes additional inputs and expected outputs for the variants.
Suggested reviewers:
nmzikMerge Risk: ⚪ Minimal · up to
9290fNo actionable merge-blocking issue remains for the new DS increment and decrement instructions after normal checks.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 4 files. (1 skipped: 1 too large.)
Comment
@coderabbitai helpto get the list of available commands.