VkImportSemaphoreZirconHandleInfoFUCHSIA
The VkImportSemaphoreZirconHandleInfoFUCHSIA
structure is defined as:
typedef struct VkImportSemaphoreZirconHandleInfoFUCHSIA {
VkStructureType sType;
const void* pNext;
VkSemaphore semaphore;
VkSemaphoreImportFlags flags;
VkExternalSemaphoreHandleTypeFlagBits handleType;
zx_handle_t zirconHandle;
} VkImportSemaphoreZirconHandleInfoFUCHSIA;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structure.semaphore
is the semaphore into which the payload will be imported.flags
is a bitmask of VkSemaphoreImportFlagBits specifying additional parameters for the semaphore payload import operation.handleType
is a VkExternalSemaphoreHandleTypeFlagBits value specifying the type ofzirconHandle
.zirconHandle
is the external handle to import.
The handle types supported by handleType
are:
Handle Type | Transference | Permanence Supported |
---|---|---|
Reference | Temporary,Permanent |
Valid Usage
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-handleType-04765
handleType
must be a value included in the
Handle Types Supported
by VkImportSemaphoreZirconHandleInfoFUCHSIA
table
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-zirconHandle-04766
zirconHandle
must obey any requirements listed for
handleType
in
external semaphore
handle types compatibility
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-zirconHandle-04767
zirconHandle
must have ZX_RIGHTS_BASIC
and
ZX_RIGHTS_SIGNAL
rights
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-semaphoreType-04768
The VkSemaphoreTypeCreateInfo::semaphoreType
field must not
be VK_SEMAPHORE_TYPE_TIMELINE
Valid Usage (Implicit)
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-sType-sType
sType
must be VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_ZIRCON_HANDLE_INFO_FUCHSIA
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-pNext-pNext
pNext
must be NULL
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-semaphore-parameter
semaphore
must be a valid VkSemaphore handle
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-flags-parameter
flags
must be a valid combination of VkSemaphoreImportFlagBits values
VUID-VkImportSemaphoreZirconHandleInfoFUCHSIA-handleType-parameter
handleType
must be a valid VkExternalSemaphoreHandleTypeFlagBits value
Host Synchronization
- Host access to
semaphore
must be externally synchronized ::