vulkan: check if current buffer has finished execution before picking another

This saves resources, as dependencies are freed/reclaimed with a lower latency,
and provies a speedup.
This commit is contained in:
Lynne
2024-09-29 08:07:05 +02:00
parent 877c5a9692
commit 37d5cb84e8
8 changed files with 23 additions and 15 deletions

View File

@@ -110,6 +110,7 @@ typedef enum FFVulkanExtensions {
/* Fences */ \
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateFence) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG, WaitForFences) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG, GetFenceStatus) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG, ResetFences) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroyFence) \
\