@@ -343,6 +343,9 @@ VKAPI_ATTR bool VKAPI_CALL loader_icd_init_entries(struct loader_instance* inst,
343343 // ---- VK_ARM_shader_instrumentation extension commands
344344 LOOKUP_GIPA(EnumeratePhysicalDeviceShaderInstrumentationMetricsARM);
345345
346+ // ---- VK_ARM_data_graph_optical_flow extension commands
347+ LOOKUP_GIPA(GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM);
348+
346349 // ---- VK_SEC_ubm_surface extension commands
347350#if defined(VK_USE_PLATFORM_UBM_SEC)
348351 LOOKUP_GIPA(CreateUbmSurfaceSEC);
@@ -1740,6 +1743,9 @@ VKAPI_ATTR void VKAPI_CALL loader_init_instance_extension_dispatch_table(VkLayer
17401743 // ---- VK_ARM_shader_instrumentation extension commands
17411744 table->EnumeratePhysicalDeviceShaderInstrumentationMetricsARM = (PFN_vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM)gpa(inst, "vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM");
17421745
1746+ // ---- VK_ARM_data_graph_optical_flow extension commands
1747+ table->GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM = (PFN_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM)gpa(inst, "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
1748+
17431749 // ---- VK_SEC_ubm_surface extension commands
17441750#if defined(VK_USE_PLATFORM_UBM_SEC)
17451751 table->CreateUbmSurfaceSEC = (PFN_vkCreateUbmSurfaceSEC)gpa(inst, "vkCreateUbmSurfaceSEC");
@@ -3815,6 +3821,9 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_instance_dispatch_table(const VkLayerI
38153821 // ---- VK_ARM_shader_instrumentation extension commands
38163822 if (!strcmp(name, "EnumeratePhysicalDeviceShaderInstrumentationMetricsARM")) return (void *)table->EnumeratePhysicalDeviceShaderInstrumentationMetricsARM;
38173823
3824+ // ---- VK_ARM_data_graph_optical_flow extension commands
3825+ if (!strcmp(name, "GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM")) return (void *)table->GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM;
3826+
38183827 // ---- VK_SEC_ubm_surface extension commands
38193828#if defined(VK_USE_PLATFORM_UBM_SEC)
38203829 if (!strcmp(name, "CreateUbmSurfaceSEC")) return (void *)table->CreateUbmSurfaceSEC;
@@ -11947,6 +11956,45 @@ VKAPI_ATTR void VKAPI_CALL CmdBeginCustomResolveEXT(
1194711956}
1194811957
1194911958
11959+ // ---- VK_ARM_data_graph_optical_flow extension trampoline/terminators
11960+
11961+ VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
11962+ VkPhysicalDevice physicalDevice,
11963+ uint32_t queueFamilyIndex,
11964+ const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
11965+ const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo,
11966+ uint32_t* pFormatCount,
11967+ VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties) {
11968+ const VkLayerInstanceDispatchTable *disp;
11969+ VkPhysicalDevice unwrapped_phys_dev = loader_unwrap_physical_device(physicalDevice);
11970+ if (VK_NULL_HANDLE == unwrapped_phys_dev) {
11971+ loader_log(NULL, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT | VULKAN_LOADER_VALIDATION_BIT, 0,
11972+ "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM: Invalid physicalDevice "
11973+ "[VUID-vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM-physicalDevice-parameter]");
11974+ abort(); /* Intentionally fail so user can correct issue. */
11975+ }
11976+ disp = loader_get_instance_layer_dispatch(physicalDevice);
11977+ return disp->GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(unwrapped_phys_dev, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount, pImageFormatProperties);
11978+ }
11979+
11980+ VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(
11981+ VkPhysicalDevice physicalDevice,
11982+ uint32_t queueFamilyIndex,
11983+ const VkQueueFamilyDataGraphPropertiesARM* pQueueFamilyDataGraphProperties,
11984+ const VkDataGraphOpticalFlowImageFormatInfoARM* pOpticalFlowImageFormatInfo,
11985+ uint32_t* pFormatCount,
11986+ VkDataGraphOpticalFlowImageFormatPropertiesARM* pImageFormatProperties) {
11987+ struct loader_physical_device_term *phys_dev_term = (struct loader_physical_device_term *)physicalDevice;
11988+ struct loader_icd_term *icd_term = phys_dev_term->this_icd_term;
11989+ if (NULL == icd_term->dispatch.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM) {
11990+ loader_log(icd_term->this_instance, VULKAN_LOADER_FATAL_ERROR_BIT | VULKAN_LOADER_ERROR_BIT, 0,
11991+ "ICD associated with VkPhysicalDevice does not support GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM");
11992+ abort(); /* Intentionally fail so user can correct issue. */
11993+ }
11994+ return icd_term->dispatch.GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM(phys_dev_term->phys_dev, queueFamilyIndex, pQueueFamilyDataGraphProperties, pOpticalFlowImageFormatInfo, pFormatCount, pImageFormatProperties);
11995+ }
11996+
11997+
1195011998// ---- VK_NV_compute_occupancy_priority extension trampoline/terminators
1195111999
1195212000VKAPI_ATTR void VKAPI_CALL CmdSetComputeOccupancyPriorityNV(
@@ -14918,6 +14966,12 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
1491814966 return true;
1491914967 }
1492014968
14969+ // ---- VK_ARM_data_graph_optical_flow extension commands
14970+ if (!strcmp("vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM", name)) {
14971+ *addr = (void *)GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM;
14972+ return true;
14973+ }
14974+
1492114975 // ---- VK_NV_compute_occupancy_priority extension commands
1492214976 if (!strcmp("vkCmdSetComputeOccupancyPriorityNV", name)) {
1492314977 *addr = (void *)CmdSetComputeOccupancyPriorityNV;
@@ -15595,6 +15649,9 @@ const VkLayerInstanceDispatchTable instance_disp = {
1559515649 // ---- VK_ARM_shader_instrumentation extension commands
1559615650 .EnumeratePhysicalDeviceShaderInstrumentationMetricsARM = terminator_EnumeratePhysicalDeviceShaderInstrumentationMetricsARM,
1559715651
15652+ // ---- VK_ARM_data_graph_optical_flow extension commands
15653+ .GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM = terminator_GetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM,
15654+
1559815655 // ---- VK_SEC_ubm_surface extension commands
1559915656#if defined(VK_USE_PLATFORM_UBM_SEC)
1560015657 .CreateUbmSurfaceSEC = terminator_CreateUbmSurfaceSEC,
0 commit comments