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

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • pAttributes is an opaque NvSciSyncAttrList describing 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 set to 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.

Valid Usage
  • VUID-VkExportFenceSciSyncInfoNV-pAttributes-05108
    pAttributes must be a reconciled NvSciSyncAttrList

Valid Usage (Implicit)
  • VUID-VkExportFenceSciSyncInfoNV-sType-sType
    sType must be VK_STRUCTURE_TYPE_EXPORT_FENCE_SCI_SYNC_INFO_NV

See Also

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.

Copyright 2014-2023 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0