C Specification

The VkPhysicalDeviceExternalMemorySciBufFeaturesNV structure is defined as:

// Provided by VK_NV_external_memory_sci_buf
typedef struct VkPhysicalDeviceExternalMemorySciBufFeaturesNV {
    VkStructureType    sType;
    void*              pNext;
    VkBool32           sciBufImport;
    VkBool32           sciBufExport;
} VkPhysicalDeviceExternalMemorySciBufFeaturesNV;
// Provided by VK_NV_external_memory_sci_buf
typedef VkPhysicalDeviceExternalMemorySciBufFeaturesNV VkPhysicalDeviceExternalSciBufFeaturesNV;

Members

The members of the VkPhysicalDeviceExternalMemorySciBufFeaturesNV structure describe the following features:

Description

  • sciBufImport indicates whether NvSciBufObj import functionality is supported. If sciBufImport is set to VK_TRUE, VkDeviceMemory supports importing NvSciBufObj from applications. In this case, the application is responsible for the resource management of the NvSciBufObj.

  • sciBufExport indicates whether NvSciBufObj export functionality is supported. If sciBufExport is set to VK_TRUE, VkDeviceMemory supports exporting NvSciBufObj created by the driver to applications. In this case, the driver is responsible for the resource management of the NvSciBufObj.

Table 1. Functionality supported for NvSciBuf features

Features

Functionality

sciBufImport

VkImportMemorySciBufInfoNV, vkGetPhysicalDeviceExternalMemorySciBufPropertiesNV

sciBufExport

VkExportMemorySciBufInfoNV

Always supported1

vkGetPhysicalDeviceSciBufAttributesNV, vkGetMemorySciBufNV,

1

Functionality in this row is always available.

The Functionality supported for NvSciBuf features table summarizes the functionality enabled by the VkPhysicalDeviceExternalMemorySciBufFeaturesNV structure. Each entry in the body of the table summarizes the functionality that can be used when the given features are supported and enabled. This summarizes Valid Usage statements that are added elsewhere in this specification.

If the VkPhysicalDeviceExternalMemorySciBufFeaturesNV structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to vkGetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceExternalMemorySciBufFeaturesNV can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)
  • VUID-VkPhysicalDeviceExternalMemorySciBufFeaturesNV-sType-sType
    sType must be VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_SCI_BUF_FEATURES_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