Make the replay's Vulkan calls on a recorder thread: each vkCmd* into the replay command buffer becomes a packet in a ring that the recorder makes in order, every other command buffer is called at once, and the submit waits for the ring to empty. Town on an RX 9070: replay 9.98 -> 8.29 ms a frame (in-launch A/B), no new validation messages, same picture

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Valiantsin DzerakhandClaude Opus 5.5 committed 2026-10-28 16:41:46 +03:00
1 parent 48dfe0cfdf
commit 3fb4b8d4b9
10 files changed
+756 -12

No files matched your search

+2
View File
@@ -452,3 +452,5 @@ void vk_pipeline_autosave(void); // vk_pipeline_save at most every 20
void vk_pipeline_shutdown(void); // waits for background builds, saves, destroys pipelines, layouts and the
// cache; before vk_shutdown
int vk_pipeline_selftest(void); // one graphics and one compute pipeline from census shaders; 0 on success
#include "vk_rec.h" // last: its macros route the vkCmd* calls of every file that includes vk.h