Function Prototype

vkQueueWaitIdle

Wait for a queue to become idle

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

VkResult vkQueueWaitIdle(
    VkQueue queue);
  • queue is the queue on which to wait.

vkQueueWaitIdle is equivalent to having submitted a valid fence to every previously executed queue submission command that accepts a fence, then waiting for all of those fences to signal using vkWaitForFences with an infinite timeout and waitAll set to VK_TRUE.

Valid Usage (Implicit)

VUID-vkQueueWaitIdle-queue-parameter

queue must be a valid VkQueue handle

Host Synchronization

  • Host access to queue must be externally synchronized ::