diff --git a/third_party/vulkan/vulkan.hpp b/third_party/vulkan/vulkan.hpp index 18f9192..ce2df09 100644 --- a/third_party/vulkan/vulkan.hpp +++ b/third_party/vulkan/vulkan.hpp @@ -57,7 +57,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h # endif #endif -VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 338, "Wrong VK_HEADER_VERSION!" ); +VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 339, "Wrong VK_HEADER_VERSION!" ); // includes through some other header // this results in major(x) being resolved to gnu_dev_major(x) diff --git a/third_party/vulkan/vulkan_core.h b/third_party/vulkan/vulkan_core.h index 0ca3c26..fc06cde 100644 --- a/third_party/vulkan/vulkan_core.h +++ b/third_party/vulkan/vulkan_core.h @@ -66,7 +66,7 @@ extern "C" { //#define VK_API_VERSION VK_MAKE_API_VERSION(0, 1, 0, 0) // Patch version should always be set to 0 // Version of this file -#define VK_HEADER_VERSION 338 +#define VK_HEADER_VERSION 339 // Complete version of this file #define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION) @@ -15367,10 +15367,10 @@ typedef struct VkDebugUtilsMessengerCallbackDataEXT { } VkDebugUtilsMessengerCallbackDataEXT; typedef VkBool32 (VKAPI_PTR *PFN_vkDebugUtilsMessengerCallbackEXT)( - VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, - VkDebugUtilsMessageTypeFlagsEXT messageTypes, - const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, - void* pUserData); + VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity, + VkDebugUtilsMessageTypeFlagsEXT messageTypes, + const VkDebugUtilsMessengerCallbackDataEXT* pCallbackData, + void* pUserData); typedef struct VkDebugUtilsMessengerCreateInfoEXT { VkStructureType sType; @@ -19758,11 +19758,11 @@ typedef struct VkPipelineColorWriteCreateInfoEXT { const VkBool32* pColorWriteEnables; } VkPipelineColorWriteCreateInfoEXT; -typedef void (VKAPI_PTR *PFN_vkCmdSetColorWriteEnableEXT)(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32* pColorWriteEnables); +typedef void (VKAPI_PTR *PFN_vkCmdSetColorWriteEnableEXT)(VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32* pColorWriteEnables); #ifndef VK_NO_PROTOTYPES #ifndef VK_ONLY_EXPORTED_PROTOTYPES -VKAPI_ATTR void VKAPI_CALL vkCmdSetColorWriteEnableEXT( +VKAPI_ATTR void VKAPI_CALL vkCmdSetColorWriteEnableEXT( VkCommandBuffer commandBuffer, uint32_t attachmentCount, const VkBool32* pColorWriteEnables); @@ -21230,7 +21230,8 @@ typedef enum VkDirectDriverLoadingModeLUNARG { } VkDirectDriverLoadingModeLUNARG; typedef VkFlags VkDirectDriverLoadingFlagsLUNARG; typedef PFN_vkVoidFunction (VKAPI_PTR *PFN_vkGetInstanceProcAddrLUNARG)( - VkInstance instance, const char* pName); + VkInstance instance, + const char* pName); typedef struct VkDirectDriverLoadingInfoLUNARG { VkStructureType sType; diff --git a/third_party/vulkan/vulkan_extension_inspection.hpp b/third_party/vulkan/vulkan_extension_inspection.hpp index 8fae13d..a8f30b4 100644 --- a/third_party/vulkan/vulkan_extension_inspection.hpp +++ b/third_party/vulkan/vulkan_extension_inspection.hpp @@ -1772,7 +1772,10 @@ namespace VULKAN_HPP_NAMESPACE "VK_KHR_get_physical_device_properties2", "VK_KHR_swapchain", } } }, - { "VK_VERSION_1_1", { {} } } } }, + { "VK_VERSION_1_1", + { { + "VK_KHR_swapchain", + } } } } }, { "VK_EXT_private_data", { { "VK_VERSION_1_0", { { diff --git a/third_party/vulkan/vulkan_funcs.hpp b/third_party/vulkan/vulkan_funcs.hpp index 3814cb9..69df08e 100644 --- a/third_party/vulkan/vulkan_funcs.hpp +++ b/third_party/vulkan/vulkan_funcs.hpp @@ -2568,7 +2568,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAllocateCommandBuffers && "Function requires " ); # endif - std::vector commandBuffers( allocateInfo.commandBufferCount, commandBufferAllocator ); + std::vector commandBuffers( allocateInfo.commandBufferCount, {}, commandBufferAllocator ); Result result = static_cast( d.vkAllocateCommandBuffers( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); @@ -3796,7 +3796,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateComputePipelines && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateComputePipelines( m_device, static_cast( pipelineCache ), createInfos.size(), @@ -4503,7 +4503,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAllocateDescriptorSets && "Function requires " ); # endif - std::vector descriptorSets( allocateInfo.descriptorSetCount, descriptorSetAllocator ); + std::vector descriptorSets( allocateInfo.descriptorSetCount, {}, descriptorSetAllocator ); Result result = static_cast( d.vkAllocateDescriptorSets( m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); @@ -4970,7 +4970,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateGraphicsPipelines && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, static_cast( pipelineCache ), createInfos.size(), @@ -10401,7 +10401,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateSharedSwapchainsKHR && "Function requires " ); # endif - std::vector swapchains( createInfos.size(), swapchainKHRAllocator ); + std::vector swapchains( createInfos.size(), {}, swapchainKHRAllocator ); Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -16677,7 +16677,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateExecutionGraphPipelinesAMDX && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, static_cast( pipelineCache ), @@ -18123,7 +18123,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateRayTracingPipelinesKHR && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, static_cast( deferredOperation ), static_cast( pipelineCache ), @@ -19376,7 +19376,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateRayTracingPipelinesNV && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, static_cast( pipelineCache ), createInfos.size(), @@ -28408,7 +28408,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateShadersEXT && "Function requires " ); # endif - std::vector shaders( createInfos.size(), shaderEXTAllocator ); + std::vector shaders( createInfos.size(), {}, shaderEXTAllocator ); Result result = static_cast( d.vkCreateShadersEXT( m_device, createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -29832,7 +29832,7 @@ namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCreateDataGraphPipelinesARM && "Function requires " ); # endif - std::vector pipelines( createInfos.size(), pipelineAllocator ); + std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, static_cast( deferredOperation ), static_cast( pipelineCache ), diff --git a/third_party/vulkan/vulkan_video.cppm b/third_party/vulkan/vulkan_video.cppm index a530816..7702ef2 100644 --- a/third_party/vulkan/vulkan_video.cppm +++ b/third_party/vulkan/vulkan_video.cppm @@ -1,4 +1,4 @@ -// Copyright 2021-2025 The Khronos Group Inc. +// Copyright 2021-2026 The Khronos Group Inc. // SPDX-License-Identifier: Apache-2.0 OR MIT // diff --git a/third_party/vulkan/vulkan_video.hpp b/third_party/vulkan/vulkan_video.hpp index 311b0c3..a513d86 100644 --- a/third_party/vulkan/vulkan_video.hpp +++ b/third_party/vulkan/vulkan_video.hpp @@ -1,4 +1,4 @@ -// Copyright 2021-2025 The Khronos Group Inc. +// Copyright 2021-2026 The Khronos Group Inc. // SPDX-License-Identifier: Apache-2.0 OR MIT //