Route silent MaterializeResources exits through SpecializationFail #1181
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!1181
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1181/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?
@baz947 on GitHub · 2026-10-08 02:28 UTC · original
baz947:fix/1005-materialize-diagnostics→main· +6 −4 · 1 files · 1 commits · closed without mergingRefs #1005 (Astro's Playroom cache-hit fatal).
The two silent early-false exits now go through the file's existing
SpecializationFail helper, so the log names the cause (incomplete tracking
vs missing specialization memory vs SRT refresh) instead of only showing
the EXIT_IF condition at the call site.
Diagnostic-only: same false return values, message text only.
@coderabbitai[bot] on GitHub · 2026-10-08 02:32 UTC · original
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
395a2ef9-12ce-43d6-bfb1-dfe109e0c808📥 Commits
Reviewing files that changed from the base of the PR and between
5a8808086aanddc0c950bab.📒 Files selected for processing (1)
src/graphics/shader/recompiler/ir/passes/ResourceMaterialization.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
Walkthrough
MaterializeResourcesnow reports distinct specialization failures for incomplete resource tracking, unavailable specialization memory, or failure to refresh the flattened SRT. Each reported failure returnsfalse.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Refactor
Merge Risk: ⚪ Minimal · up to
dc0c9The change adds cause-specific diagnostics while preserving the existing failure result and control flow. No merge-blocking risk is apparent.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
#1005.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.Pull request closed