Function Prototype
vkDeviceWaitIdle
Wait for a device to become idle
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);
pub fn device_wait_idle(
device: vk::Device,
) -> vk::Result;
deviceis the logical device to idle.
vkDeviceWaitIdle is equivalent to calling vkQueueWaitIdle for
all queues owned by device.
Valid Usage (Implicit)
VUID-vkDeviceWaitIdle-device-parameter
device must be a valid VkDevice handle
Host Synchronization
- Host access to all
VkQueueobjects created fromdevicethat are not created withVK_DEVICE_QUEUE_CREATE_INTERNALLY_SYNCHRONIZED_BIT_KHRmust be externally synchronized
Parent
VK_VERSION_1_0Type
Function Prototype