@@ -66,7 +66,7 @@ extern "C" {
6666//#define VK_API_VERSION VK_MAKE_API_VERSION(0, 1, 0, 0) // Patch version should always be set to 0
6767
6868// Version of this file
69- #define VK_HEADER_VERSION 331
69+ #define VK_HEADER_VERSION 332
7070
7171// Complete version of this file
7272#define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION)
@@ -1358,6 +1358,8 @@ typedef enum VkStructureType {
13581358 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_DEVICE_MEMORY_FEATURES_EXT = 1000620000,
13591359 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRESENT_MODE_FIFO_LATEST_READY_FEATURES_KHR = 1000361000,
13601360 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_64_BIT_INDEXING_FEATURES_EXT = 1000627000,
1361+ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_MODEL_FEATURES_QCOM = 1000629000,
1362+ VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_BUILTIN_MODEL_CREATE_INFO_QCOM = 1000629001,
13611363 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_10_FEATURES_KHR = 1000630000,
13621364 VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_10_PROPERTIES_KHR = 1000630001,
13631365 VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_FLAGS_INFO_KHR = 1000630002,
@@ -2182,6 +2184,7 @@ typedef enum VkIndexType {
21822184
21832185typedef enum VkPipelineCacheHeaderVersion {
21842186 VK_PIPELINE_CACHE_HEADER_VERSION_ONE = 1,
2187+ VK_PIPELINE_CACHE_HEADER_VERSION_DATA_GRAPH_QCOM = 1000629000,
21852188 VK_PIPELINE_CACHE_HEADER_VERSION_MAX_ENUM = 0x7FFFFFFF
21862189} VkPipelineCacheHeaderVersion;
21872190
@@ -21260,7 +21263,7 @@ typedef void (VKAPI_PTR *PFN_vkDestroyTensorViewARM)(VkDevice device, VkTensorVi
2126021263typedef void (VKAPI_PTR *PFN_vkGetTensorMemoryRequirementsARM)(VkDevice device, const VkTensorMemoryRequirementsInfoARM* pInfo, VkMemoryRequirements2* pMemoryRequirements);
2126121264typedef VkResult (VKAPI_PTR *PFN_vkBindTensorMemoryARM)(VkDevice device, uint32_t bindInfoCount, const VkBindTensorMemoryInfoARM* pBindInfos);
2126221265typedef void (VKAPI_PTR *PFN_vkGetDeviceTensorMemoryRequirementsARM)(VkDevice device, const VkDeviceTensorMemoryRequirementsARM* pInfo, VkMemoryRequirements2* pMemoryRequirements);
21263- typedef void (VKAPI_PTR *PFN_vkCmdCopyTensorARM)(VkCommandBuffer commandBuffer, const VkCopyTensorInfoARM* pCopyTensorInfo);
21266+ typedef void (VKAPI_PTR *PFN_vkCmdCopyTensorARM)(VkCommandBuffer commandBuffer, const VkCopyTensorInfoARM* pCopyTensorInfo);
2126421267typedef void (VKAPI_PTR *PFN_vkGetPhysicalDeviceExternalTensorPropertiesARM)(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceExternalTensorInfoARM* pExternalTensorInfo, VkExternalTensorPropertiesARM* pExternalTensorProperties);
2126521268typedef VkResult (VKAPI_PTR *PFN_vkGetTensorOpaqueCaptureDescriptorDataARM)(VkDevice device, const VkTensorCaptureDescriptorDataInfoARM* pInfo, void* pData);
2126621269typedef VkResult (VKAPI_PTR *PFN_vkGetTensorViewOpaqueCaptureDescriptorDataARM)(VkDevice device, const VkTensorViewCaptureDescriptorDataInfoARM* pInfo, void* pData);
@@ -21320,7 +21323,7 @@ VKAPI_ATTR void VKAPI_CALL vkGetDeviceTensorMemoryRequirementsARM(
2132021323#ifndef VK_ONLY_EXPORTED_PROTOTYPES
2132121324VKAPI_ATTR void VKAPI_CALL vkCmdCopyTensorARM(
2132221325 VkCommandBuffer commandBuffer,
21323- const VkCopyTensorInfoARM* pCopyTensorInfo);
21326+ const VkCopyTensorInfoARM* pCopyTensorInfo);
2132421327#endif
2132521328
2132621329#ifndef VK_ONLY_EXPORTED_PROTOTYPES
@@ -22228,11 +22231,15 @@ typedef enum VkDataGraphPipelinePropertyARM {
2222822231
2222922232typedef enum VkPhysicalDeviceDataGraphProcessingEngineTypeARM {
2223022233 VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_DEFAULT_ARM = 0,
22234+ VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_NEURAL_QCOM = 1000629000,
22235+ VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_COMPUTE_QCOM = 1000629001,
2223122236 VK_PHYSICAL_DEVICE_DATA_GRAPH_PROCESSING_ENGINE_TYPE_MAX_ENUM_ARM = 0x7FFFFFFF
2223222237} VkPhysicalDeviceDataGraphProcessingEngineTypeARM;
2223322238
2223422239typedef enum VkPhysicalDeviceDataGraphOperationTypeARM {
2223522240 VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_SPIRV_EXTENDED_INSTRUCTION_SET_ARM = 0,
22241+ VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_NEURAL_MODEL_QCOM = 1000629000,
22242+ VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_BUILTIN_MODEL_QCOM = 1000629001,
2223622243 VK_PHYSICAL_DEVICE_DATA_GRAPH_OPERATION_TYPE_MAX_ENUM_ARM = 0x7FFFFFFF
2223722244} VkPhysicalDeviceDataGraphOperationTypeARM;
2223822245typedef VkFlags64 VkDataGraphPipelineSessionCreateFlagsARM;
@@ -23890,6 +23897,38 @@ typedef struct VkPhysicalDeviceShader64BitIndexingFeaturesEXT {
2389023897
2389123898
2389223899
23900+ // VK_QCOM_data_graph_model is a preprocessor guard. Do not pass it to API calls.
23901+ #define VK_QCOM_data_graph_model 1
23902+ #define VK_DATA_GRAPH_MODEL_TOOLCHAIN_VERSION_LENGTH_QCOM 3U
23903+ #define VK_QCOM_DATA_GRAPH_MODEL_SPEC_VERSION 1
23904+ #define VK_QCOM_DATA_GRAPH_MODEL_EXTENSION_NAME "VK_QCOM_data_graph_model"
23905+
23906+ typedef enum VkDataGraphModelCacheTypeQCOM {
23907+ VK_DATA_GRAPH_MODEL_CACHE_TYPE_GENERIC_BINARY_QCOM = 0,
23908+ VK_DATA_GRAPH_MODEL_CACHE_TYPE_MAX_ENUM_QCOM = 0x7FFFFFFF
23909+ } VkDataGraphModelCacheTypeQCOM;
23910+ typedef struct VkPipelineCacheHeaderVersionDataGraphQCOM {
23911+ uint32_t headerSize;
23912+ VkPipelineCacheHeaderVersion headerVersion;
23913+ VkDataGraphModelCacheTypeQCOM cacheType;
23914+ uint32_t cacheVersion;
23915+ uint32_t toolchainVersion[VK_DATA_GRAPH_MODEL_TOOLCHAIN_VERSION_LENGTH_QCOM];
23916+ } VkPipelineCacheHeaderVersionDataGraphQCOM;
23917+
23918+ typedef struct VkDataGraphPipelineBuiltinModelCreateInfoQCOM {
23919+ VkStructureType sType;
23920+ const void* pNext;
23921+ const VkPhysicalDeviceDataGraphOperationSupportARM* pOperation;
23922+ } VkDataGraphPipelineBuiltinModelCreateInfoQCOM;
23923+
23924+ typedef struct VkPhysicalDeviceDataGraphModelFeaturesQCOM {
23925+ VkStructureType sType;
23926+ const void* pNext;
23927+ VkBool32 dataGraphModel;
23928+ } VkPhysicalDeviceDataGraphModelFeaturesQCOM;
23929+
23930+
23931+
2389323932// VK_SEC_pipeline_cache_incremental_mode is a preprocessor guard. Do not pass it to API calls.
2389423933#define VK_SEC_pipeline_cache_incremental_mode 1
2389523934#define VK_SEC_PIPELINE_CACHE_INCREMENTAL_MODE_SPEC_VERSION 1
0 commit comments