Monado OpenXR Runtime
vk_semaphore_list_wait Struct Reference

Accumulator for wait semaphores to be used in VkSubmitInfo. More...

#include <vk/vk_submit_helpers.h>

Collaboration diagram for vk_semaphore_list_wait:

Data Fields

VkSemaphore semaphores [4]
 Array of semaphore handles. More...
 
uint64_t values [4]
 Array of semaphore values (0 for binary, value for timeline) More...
 
VkPipelineStageFlags stages [4]
 Array of pipeline stage flags for each semaphore. More...
 
uint32_t count
 Number of semaphores currently in the list. More...
 

Detailed Description

Accumulator for wait semaphores to be used in VkSubmitInfo.

Handles both binary and timeline semaphores, tracking their handles, values, and pipeline stage flags.

Must be zero-initialized using XRT_STRUCT_INIT before use.

Field Documentation

◆ count

uint32_t vk_semaphore_list_wait::count

◆ semaphores

VkSemaphore vk_semaphore_list_wait::semaphores[4]

◆ stages

VkPipelineStageFlags vk_semaphore_list_wait::stages[4]

Array of pipeline stage flags for each semaphore.

Referenced by vk_semaphore_list_wait_add_binary(), and vk_submit_info_builder_prepare().

◆ values

uint64_t vk_semaphore_list_wait::values[4]

Array of semaphore values (0 for binary, value for timeline)

Referenced by vk_semaphore_list_wait_add_binary(), vk_semaphore_list_wait_add_timeline(), and vk_submit_info_builder_prepare().


The documentation for this struct was generated from the following file: