From f89af5536389b0c47eec6504d8b34c7c58b6233d Mon Sep 17 00:00:00 2001 From: charles-lunarg <46324611+charles-lunarg@users.noreply.github.com> Date: Tue, 23 Jul 2024 00:48:12 +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 7be1759..8fba1d3 100644 --- a/gen/CurrentBuildVulkanVersion.cmake +++ b/gen/CurrentBuildVulkanVersion.cmake @@ -1,2 +1,2 @@ -set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION 1.3.290) -set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION_GIT_TAG v1.3.290) +set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION 1.3.291) +set(VK_BOOTSTRAP_SOURCE_HEADER_VERSION_GIT_TAG v1.3.291) diff --git a/src/VkBootstrapDispatch.h b/src/VkBootstrapDispatch.h index f64e7f0..cb7a563 100644 --- a/src/VkBootstrapDispatch.h +++ b/src/VkBootstrapDispatch.h @@ -2098,6 +2098,9 @@ struct DispatchTable { #if (defined(VK_NV_device_generated_commands_compute)) fp_vkGetPipelineIndirectDeviceAddressNV = reinterpret_cast(procAddr(device, "vkGetPipelineIndirectDeviceAddressNV")); #endif +#if (defined(VK_AMD_anti_lag)) + fp_vkAntiLagUpdateAMD = reinterpret_cast(procAddr(device, "vkAntiLagUpdateAMD")); +#endif #if (defined(VK_VERSION_1_3)) fp_vkCmdSetCullMode = reinterpret_cast(procAddr(device, "vkCmdSetCullMode")); #endif @@ -4246,6 +4249,11 @@ struct DispatchTable { return fp_vkGetPipelineIndirectDeviceAddressNV(device, pInfo); } #endif +#if (defined(VK_AMD_anti_lag)) + void antiLagUpdateAMD(const VkAntiLagDataAMD* pData) const noexcept { + fp_vkAntiLagUpdateAMD(device, pData); + } +#endif #if (defined(VK_VERSION_1_3)) void cmdSetCullMode(VkCommandBuffer commandBuffer, VkCullModeFlags cullMode) const noexcept { fp_vkCmdSetCullMode(commandBuffer, cullMode); @@ -6645,6 +6653,11 @@ struct DispatchTable { #else void * fp_vkGetPipelineIndirectDeviceAddressNV{}; #endif +#if (defined(VK_AMD_anti_lag)) + PFN_vkAntiLagUpdateAMD fp_vkAntiLagUpdateAMD = nullptr; +#else + void * fp_vkAntiLagUpdateAMD{}; +#endif #if (defined(VK_VERSION_1_3)) PFN_vkCmdSetCullMode fp_vkCmdSetCullMode = nullptr; #else