Submit wait: also until the newest submission up to it that hands the CPU results at its completion (events, counter reports, write-backs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tobim6
2026-11-12 16:22:48 +01:00
parent ad288e3bc1
commit d25c3a59d7
3 changed files with 35 additions and 0 deletions

View File

@@ -351,6 +351,8 @@ void vk_mem_mirror_prologue(VkCommandBuffer cb);
// vk_mem_note_live); vk_mem_take_live returns that and starts the next submission's note.
void vk_mem_note_live(void);
int vk_mem_take_live(void);
// The submission being recorded hands results to the CPU at its completion (vk_exec_xfer.c): vk_sync_recorded_wait waits
// for the newest such submission up to the one it waits for.
void vk_mem_lazy_part_end(void); // lazy write-back: a part ends (before its prologue), and it is handed over
void vk_mem_lazy_handed(void);
void vk_mem_lazy_decide(void); // once the driver is known (after vk_caps_driver): on or off, with one log line