C Specification
To specify additional attributes of NvSciSync handles exported from a
fence, add a VkExportFenceSciSyncInfoNV structure to the pNext
chain of the VkFenceCreateInfo structure.
The VkExportFenceSciSyncInfoNV structure is defined as:
// Provided by VK_NV_external_sci_sync, VK_NV_external_sci_sync2
typedef struct VkExportFenceSciSyncInfoNV {
VkStructureType sType;
const void* pNext;
NvSciSyncAttrList pAttributes;
} VkExportFenceSciSyncInfoNV;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
pAttributesis an opaqueNvSciSyncAttrListdescribing the attributes of the NvSciSync object that will be exported.
Description
If VkExportFenceCreateInfo is not present in the same pNext
chain, this structure is ignored.
If the pNext chain of VkFenceCreateInfo includes a
VkExportFenceCreateInfo structure with a NvSciSync handleType,
but either VkExportFenceSciSyncInfoNV is not included in the
pNext chain, or it is included but pAttributes is NULL,
vkCreateFence will return VK_ERROR_INITIALIZATION_FAILED.
The pAttributes must be a reconciled NvSciSyncAttrList.
Before exporting the NvSciSync handles, applications must use the
vkGetPhysicalDeviceSciSyncAttributesNV command to get the unreconciled
NvSciSyncAttrList and then use the NvSciSync API to reconcile it.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.