fix windows ci #998
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!998
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/998/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?
@Nmzik on GitHub · 2026-10-03 10:50 UTC · original
KytyPS5:codex/fix-windows-ci→main· +1 −1 · 1 files · 2 commits · merged 2026-10-03 11:05 UTCFix the Windows clang-cl build failure when the runtime-selected SPIR-V gather opcode initializes a uint32_t instruction word. Explicitly cast the opcode to uint32_t, preserving the emitted value.
Failure: https://github.com/KytyPS5/KytyPS5/actions/runs/37116526238/job/111184328330
Validation: a focused compiler reproduction using the repository SPIR-V header and Clang targeting x86_64-pc-windows-msvc fails with the original expression and passes with the cast. git diff --check passes. Full Windows build validation is pending CI.
@coderabbitai[bot] on GitHub · 2026-10-03 10:54 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
34504c96-b598-436c-81db-bc8760a371e8📥 Commits
Reviewing files that changed from the base of the PR and between
99e6839e13and9e61f51bc1.📒 Files selected for processing (1)
src/graphics/shader/recompiler/backend/spirv/spirvEmitterImage.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
The SPIR-V image gather emitter now explicitly casts the selected gather opcode to
uint32_twhen constructing instruction words. The selection between depth-reference and regular image gather is unchanged.Suggested reviewers:
francoisattPriority: ⬇️ Low
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
9e61fThe gather opcode’s word conversion is explicit and preserves the existing selection behavior. No actionable merge-blocking risk remains.
🚥 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.