6.7. Wait Idle Operations

To wait on the host for the completion of outstanding queue operations for a given queue, call:

 

VkResult vkQueueWaitIdle(
    VkQueue                                     queue);

vkQueueWaitIdle is equivalent to submitting a fence to a queue and waiting with an infinite timeout for that fence to signal.

To wait on the host for the completion of outstanding queue operations for all queues on a given logical device, call:

 

VkResult vkDeviceWaitIdle(
    VkDevice                                    device);

vkDeviceWaitIdle is equivalent to calling vkQueueWaitIdle for all queues owned by device.