C Specification
To import a semaphore payload from a NvSciSyncObj
, call:
// Provided by VK_NV_external_sci_sync
VkResult vkImportSemaphoreSciSyncObjNV(
VkDevice device,
const VkImportSemaphoreSciSyncInfoNV* pImportSemaphoreSciSyncInfo);
Parameters
-
device
is the logical device that created the semaphore. -
pImportSemaphoreSciSyncInfo
is a pointer to a VkImportSemaphoreSciSyncInfoNV structure containing parameters of the import operation
Description
Importing a semaphore payload from NvSciSyncObj
does not transfer
ownership of the handle to the Vulkan implementation.
When importing NvSciSyncObj
, Vulkan will make a new reference to that
object, the application must release its ownership using
NvSciSync APIs when that ownership is no
longer needed.
Application must not import the same NvSciSyncObj
with signaler
access permissions into multiple instances of VkSemaphore, and must not
import into the same instance from which it was exported.
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.