shader: raise the dense image resource limit to 64 #457
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!457
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/457/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?
@brandostrong on GitHub · 2026-09-02 21:49 UTC · original
brandostrong:fix/image-resource-limit→main· +1 −1 · 1 files · 1 commits · merged 2026-09-08 15:37 UTCProblem. Astro Bot's first scene has a pixel shader that loads 40 distinct texture descriptors (
s_load_dwordx8from one table at 0x20-byte steps) plus 7 samplers.ResourceTrackingfails it withimage resource limit exceededand the emulator exits. The hardware has no such limit; descriptors are memory.MaxImages = 32is an emulator cap.Change. Raise the dense image resource limit to 64. The host binding tables are vectors sized from the actual count, so nothing else changes.
Effect. The shader compiles and the scene renders instead of exiting the emulator.
Verification. Suites unchanged. Not yet re-measured in a full game run on this branch.
References
MaxImages.