mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-07 13:39:55 +00:00
A DISPATCH_INDIRECT read on the GPU took its group counts unchecked. A count buffer that a skipped producer never wrote (PPSA08427: 0xffffffff left by skipped depth-plane passes) launched up to 2^32 groups and kept the GPU busy until the title hung. The CPU path already refuses counts above maxComputeWorkGroupCount. - Recorder::RecordDispatchArguments copies the three counts from the import into a 12-byte indirect buffer with a one-thread kernel (DispatchArguments.comp), all three 0 when one exceeds the device limit, as RecordMeshArguments does for mesh indirect records. - VulkanDevice records the dispatch from that buffer; without the kernel the import is read directly, as before. - agc_driver_indirect_dispatch_limit: 0xffffffff groups run nothing, one group still runs. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Q8tinbP1MUpUaDsbNWnGnu