mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 15:59:59 -04:00
queue_submit copies a held submission's command buffer infos into H.cbi[i], two entries each, the mirror prologue and the part. Since the mesh emulation's pre-pass command buffers and cuts (vk_sync_pre, vk_sync_cut) a submission carries up to three plus the cut parts, and the copy ran into the next held submission's entries and past the array: the next held submission's copy then overwrote them, so a submission could go to the queue without its own last command buffers and with another's twice. The buffer now has room for SUB_CBS (CHAIN_MAX + 3), and a larger count stops the run with a message instead of overrunning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
75 KiB
75 KiB