Enrich GetHandle image failure with arity and per-dword states #1180
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!1180
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1180/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/855-getimage-diagnostics→main· +12 −2 · 1 files · 1 commits · closed without mergingRefs #855 (Demon's Souls GetImageResource dword 0 fatal).
When ValidateSource rejects an image handle, the fatal names only the first
bad dword. This appends the handle arity plus a per-dword type/proof state
list, so reports distinguish "wrongly typed descriptor" from "proof failed
on dword N" without a debugger.
Diagnostic-only: message text, no control-flow change.
@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
2b84d761-c2eb-470f-91ba-1df9da0ca736📥 Commits
Reviewing files that changed from the base of the PR and between
5a8808086aand67dfd43efb.📒 Files selected for processing (1)
src/graphics/shader/recompiler/ir/passes/ResourceTracking.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
When runtime-value validation fails in
Tracker::GetHandle, the failure message now includes the handle’s dword count and each dword’s type or validation state. The invalid-buffer-descriptor return path is unchanged.Suggested reviewers:
nmzikPriority: ⬇️ Low
Change: Refactor
Merge Risk: ⚪ Minimal · up to
67dfdThe change enriches failure diagnostics without establishing a new actionable risk; the PR is mergeable subject to normal checks.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 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.@Nmzik on GitHub · 2026-10-08 15:01 UTC · original
Stale
Pull request closed