mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-16 13:59:56 -04:00
vk_exec_draw.c kept what a draw, bind or dispatch carries to the next one in file statics: the state the command buffer holds, the descriptor signatures and skips, the per-binding reuse, the shader and pipeline memos, the shader lookup's caches and the submission's transient resources. They now live in one DrawCtx, and every thread starts with the replay's own, so the replay behaves as before. A later stage can give each recording thread a context of its own. vk_exec.c's inline commands (vk_exec_inline_begin) find the replay state the calling thread records with through a thread-local pointer too, instead of the file's single state and a flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
94 KiB
94 KiB