mirror of
https://github.com/openharmony/third_party_vulkan-loader.git
synced 2026-07-20 20:15:56 -04:00
build: Update for 1.1.130 header version
Change-Id: Ie76beb6ec3eb24ca8a0d2d9c16646ca062e3278c
This commit is contained in:
committed by
Lenny Komow
parent
fc6d6fcbbf
commit
d46c13c194
@@ -769,6 +769,7 @@ static inline void layer_init_instance_dispatch_table(VkInstance instance, VkLay
|
||||
#ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
table->CreateMetalSurfaceEXT = (PFN_vkCreateMetalSurfaceEXT) gpa(instance, "vkCreateMetalSurfaceEXT");
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
table->GetPhysicalDeviceToolPropertiesEXT = (PFN_vkGetPhysicalDeviceToolPropertiesEXT) gpa(instance, "vkGetPhysicalDeviceToolPropertiesEXT");
|
||||
table->GetPhysicalDeviceCooperativeMatrixPropertiesNV = (PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV) gpa(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV");
|
||||
table->GetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = (PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV) gpa(instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV");
|
||||
#ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
|
||||
@@ -220,6 +220,9 @@ typedef struct VkLayerInstanceDispatchTable_ {
|
||||
PFN_vkCreateMetalSurfaceEXT CreateMetalSurfaceEXT;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
PFN_vkGetPhysicalDeviceToolPropertiesEXT GetPhysicalDeviceToolPropertiesEXT;
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV GetPhysicalDeviceCooperativeMatrixPropertiesNV;
|
||||
|
||||
|
||||
@@ -258,6 +258,9 @@ VKAPI_ATTR bool VKAPI_CALL loader_icd_init_entries(struct loader_icd_term *icd_t
|
||||
LOOKUP_GIPA(CreateMetalSurfaceEXT, false);
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
LOOKUP_GIPA(GetPhysicalDeviceToolPropertiesEXT, false);
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
LOOKUP_GIPA(GetPhysicalDeviceCooperativeMatrixPropertiesNV, false);
|
||||
|
||||
@@ -911,6 +914,9 @@ VKAPI_ATTR void VKAPI_CALL loader_init_instance_extension_dispatch_table(VkLayer
|
||||
table->CreateMetalSurfaceEXT = (PFN_vkCreateMetalSurfaceEXT)gpa(inst, "vkCreateMetalSurfaceEXT");
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
table->GetPhysicalDeviceToolPropertiesEXT = (PFN_vkGetPhysicalDeviceToolPropertiesEXT)gpa(inst, "vkGetPhysicalDeviceToolPropertiesEXT");
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
table->GetPhysicalDeviceCooperativeMatrixPropertiesNV = (PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV)gpa(inst, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV");
|
||||
|
||||
@@ -1552,6 +1558,9 @@ VKAPI_ATTR void* VKAPI_CALL loader_lookup_instance_dispatch_table(const VkLayerI
|
||||
if (!strcmp(name, "CreateMetalSurfaceEXT")) return (void *)table->CreateMetalSurfaceEXT;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
if (!strcmp(name, "GetPhysicalDeviceToolPropertiesEXT")) return (void *)table->GetPhysicalDeviceToolPropertiesEXT;
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
if (!strcmp(name, "GetPhysicalDeviceCooperativeMatrixPropertiesNV")) return (void *)table->GetPhysicalDeviceCooperativeMatrixPropertiesNV;
|
||||
|
||||
@@ -3217,6 +3226,32 @@ VKAPI_ATTR VkDeviceAddress VKAPI_CALL GetBufferDeviceAddressEXT(
|
||||
}
|
||||
|
||||
|
||||
// ---- VK_EXT_tooling_info extension trampoline/terminators
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceToolPropertiesEXT(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
uint32_t* pToolCount,
|
||||
VkPhysicalDeviceToolPropertiesEXT* pToolProperties) {
|
||||
const VkLayerInstanceDispatchTable *disp;
|
||||
VkPhysicalDevice unwrapped_phys_dev = loader_unwrap_physical_device(physicalDevice);
|
||||
disp = loader_get_instance_layer_dispatch(physicalDevice);
|
||||
return disp->GetPhysicalDeviceToolPropertiesEXT(unwrapped_phys_dev, pToolCount, pToolProperties);
|
||||
}
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL terminator_GetPhysicalDeviceToolPropertiesEXT(
|
||||
VkPhysicalDevice physicalDevice,
|
||||
uint32_t* pToolCount,
|
||||
VkPhysicalDeviceToolPropertiesEXT* pToolProperties) {
|
||||
struct loader_physical_device_term *phys_dev_term = (struct loader_physical_device_term *)physicalDevice;
|
||||
struct loader_icd_term *icd_term = phys_dev_term->this_icd_term;
|
||||
if (NULL == icd_term->dispatch.GetPhysicalDeviceToolPropertiesEXT) {
|
||||
loader_log(icd_term->this_instance, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
|
||||
"ICD associated with VkPhysicalDevice does not support GetPhysicalDeviceToolPropertiesEXT");
|
||||
}
|
||||
return icd_term->dispatch.GetPhysicalDeviceToolPropertiesEXT(phys_dev_term->phys_dev, pToolCount, pToolProperties);
|
||||
}
|
||||
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension trampoline/terminators
|
||||
|
||||
VKAPI_ATTR VkResult VKAPI_CALL GetPhysicalDeviceCooperativeMatrixPropertiesNV(
|
||||
@@ -4165,6 +4200,12 @@ bool extension_instance_gpa(struct loader_instance *ptr_instance, const char *na
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
if (!strcmp("vkGetPhysicalDeviceToolPropertiesEXT", name)) {
|
||||
*addr = (void *)GetPhysicalDeviceToolPropertiesEXT;
|
||||
return true;
|
||||
}
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
if (!strcmp("vkGetPhysicalDeviceCooperativeMatrixPropertiesNV", name)) {
|
||||
*addr = (void *)GetPhysicalDeviceCooperativeMatrixPropertiesNV;
|
||||
@@ -4528,6 +4569,9 @@ const VkLayerInstanceDispatchTable instance_disp = {
|
||||
.CreateMetalSurfaceEXT = terminator_CreateMetalSurfaceEXT,
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
.GetPhysicalDeviceToolPropertiesEXT = terminator_GetPhysicalDeviceToolPropertiesEXT,
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
.GetPhysicalDeviceCooperativeMatrixPropertiesNV = terminator_GetPhysicalDeviceCooperativeMatrixPropertiesNV,
|
||||
|
||||
|
||||
@@ -406,6 +406,9 @@ struct loader_icd_term_dispatch {
|
||||
PFN_vkCreateMetalSurfaceEXT CreateMetalSurfaceEXT;
|
||||
#endif // VK_USE_PLATFORM_METAL_EXT
|
||||
|
||||
// ---- VK_EXT_tooling_info extension commands
|
||||
PFN_vkGetPhysicalDeviceToolPropertiesEXT GetPhysicalDeviceToolPropertiesEXT;
|
||||
|
||||
// ---- VK_NV_cooperative_matrix extension commands
|
||||
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV GetPhysicalDeviceCooperativeMatrixPropertiesNV;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"sub_dir" : "Vulkan-Headers",
|
||||
"build_dir" : "Vulkan-Headers/build",
|
||||
"install_dir" : "Vulkan-Headers/build/install",
|
||||
"commit" : "v1.1.129"
|
||||
"commit" : "v1.1.130"
|
||||
}
|
||||
],
|
||||
"install_names" : {
|
||||
|
||||
Reference in New Issue
Block a user