Structures
VkSemaphoreWaitInfo
Structure containing information about the semaphore wait condition
The VkSemaphoreWaitInfo structure is defined as:
typedef struct VkSemaphoreWaitInfo {
VkStructureType sType;
const void* pNext;
VkSemaphoreWaitFlags flags;
uint32_t semaphoreCount;
const VkSemaphore* pSemaphores;
const uint64_t* pValues;
} VkSemaphoreWaitInfo;
or the equivalent
typedef VkSemaphoreWaitInfo VkSemaphoreWaitInfoKHR;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.flagsis a bitmask of VkSemaphoreWaitFlagBits specifying additional parameters for the semaphore wait operation.semaphoreCountis the number of semaphores to wait on.pSemaphoresis a pointer to an array ofsemaphoreCountsemaphore handles to wait on.pValuesis a pointer to an array ofsemaphoreCounttimeline semaphore values.
Valid Usage
VUID-VkSemaphoreWaitInfo-pSemaphores-03256
All of the elements of pSemaphores must reference a semaphore
that was created with a VkSemaphoreType of
VK_SEMAPHORE_TYPE_TIMELINE
Valid Usage (Implicit)
VUID-VkSemaphoreWaitInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_SEMAPHORE_WAIT_INFO
VUID-VkSemaphoreWaitInfo-pNext-pNext
pNext must be NULL
VUID-VkSemaphoreWaitInfo-flags-parameter
flags must be a valid combination of VkSemaphoreWaitFlagBits values
VUID-VkSemaphoreWaitInfo-pSemaphores-parameter
pSemaphores must be a valid pointer to an array of semaphoreCount valid VkSemaphore handles
VUID-VkSemaphoreWaitInfo-pValues-parameter
pValues must be a valid pointer to an array of semaphoreCount uint64_t values
VUID-VkSemaphoreWaitInfo-semaphoreCount-arraylength
semaphoreCount must be greater than 0