From dc40c0423297803e8e0bf63d038d886d9b64b85d Mon Sep 17 00:00:00 2001 From: charles-lunarg <46324611+charles-lunarg@users.noreply.github.com> Date: Tue, 29 Oct 2024 00:56:41 +0000 Subject: [PATCH] Update to latest Vulkan-Headers --- gen/CurrentBuildVulkanVersion.cmake | 4 ++-- src/VkBootstrapDispatch.h | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/gen/CurrentBuildVulkanVersion.cmake b/gen/CurrentBuildVulkanVersion.cmake index 16fb5c4..e2ceb5b 100644 --- a/gen/CurrentBuildVulkanVersion.cmake +++ b/gen/CurrentBuildVulkanVersion.cmake @@ -1,2 +1,2 @@ -set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION 1.3.299) -set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION_GIT_TAG v1.3.299) +set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION 1.3.300) +set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION_GIT_TAG v1.3.300) diff --git a/src/VkBootstrapDispatch.h b/src/VkBootstrapDispatch.h index da87aa3..7c59e48 100644 --- a/src/VkBootstrapDispatch.h +++ b/src/VkBootstrapDispatch.h @@ -289,6 +289,9 @@ struct InstanceDispatchTable { #if (defined(VK_KHR_cooperative_matrix)) fp_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR = reinterpret_cast(procAddr(instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR")); #endif +#if (defined(VK_NV_cooperative_matrix2)) + fp_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = reinterpret_cast(procAddr(instance, "vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV")); +#endif #if (defined(VK_KHR_get_physical_device_properties2)) fp_vkGetPhysicalDeviceFeatures2KHR = reinterpret_cast(procAddr(instance, "vkGetPhysicalDeviceFeatures2KHR")); #endif @@ -780,6 +783,11 @@ struct InstanceDispatchTable { return fp_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR(physicalDevice, pPropertyCount, pProperties); } #endif +#if (defined(VK_NV_cooperative_matrix2)) + VkResult getPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(VkPhysicalDevice physicalDevice, uint32_t* pPropertyCount, VkCooperativeMatrixFlexibleDimensionsPropertiesNV* pProperties) const noexcept { + return fp_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV(physicalDevice, pPropertyCount, pProperties); + } +#endif #if (defined(VK_KHR_get_physical_device_properties2)) void getPhysicalDeviceFeatures2KHR(VkPhysicalDevice physicalDevice, VkPhysicalDeviceFeatures2KHR* pFeatures) const noexcept { fp_vkGetPhysicalDeviceFeatures2KHR(physicalDevice, pFeatures); @@ -1272,6 +1280,11 @@ struct InstanceDispatchTable { #else void * fp_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR{}; #endif +#if (defined(VK_NV_cooperative_matrix2)) + PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV fp_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = nullptr; +#else + void * fp_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV{}; +#endif #if (defined(VK_KHR_get_physical_device_properties2)) PFN_vkGetPhysicalDeviceFeatures2KHR fp_vkGetPhysicalDeviceFeatures2KHR = nullptr; #else