From 6c86f1e3148df4a441bed86ce4e8ceafe3c1b7f6 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sat, 12 Sep 2026 07:52:44 +0200 Subject: [PATCH 01/25] third-party: update vulkan headers & vma Signed-off-by: Dylan Hollemaert --- Source/ThirdParty/CMakeLists.txt | 2 +- Source/ThirdParty/VMA/CMakeLists.txt | 21 +- Source/ThirdParty/VMA/vk_mem_alloc.cppm | 111 +- Source/ThirdParty/VMA/vk_mem_alloc.h | 9 +- Source/ThirdParty/VMA/vk_mem_alloc.hpp | 11 +- Source/ThirdParty/VMA/vk_mem_alloc_enums.hpp | 4 +- Source/ThirdParty/VMA/vk_mem_alloc_funcs.hpp | 143 +- .../ThirdParty/VMA/vk_mem_alloc_handles.hpp | 81 +- Source/ThirdParty/VMA/vk_mem_alloc_raii.hpp | 124 +- .../ThirdParty/VMA/vk_mem_alloc_structs.hpp | 81 +- .../ThirdParty/VMA/vk_mem_alloc_to_string.hpp | 2 +- Source/ThirdParty/Vulkan/CMakeLists.txt | 4 +- Source/ThirdParty/Vulkan/vulkan/vulkan.cppm | 7 +- Source/ThirdParty/Vulkan/vulkan/vulkan.hpp | 375 +- Source/ThirdParty/Vulkan/vulkan/vulkan_core.h | 157 +- .../ThirdParty/Vulkan/vulkan/vulkan_enums.hpp | 136 +- .../vulkan/vulkan_extension_inspection.hpp | 69 +- .../ThirdParty/Vulkan/vulkan/vulkan_funcs.hpp | 12929 ++++++++++++++-- .../Vulkan/vulkan/vulkan_handles.hpp | 9701 +++++++++++- .../ThirdParty/Vulkan/vulkan/vulkan_hash.hpp | 149 +- .../ThirdParty/Vulkan/vulkan/vulkan_raii.hpp | 89 +- .../vulkan/vulkan_static_assertions.hpp | 95 +- .../Vulkan/vulkan/vulkan_structs.hpp | 1383 +- .../Vulkan/vulkan/vulkan_to_string.hpp | 75 +- .../Vulkan/vulkan/vulkan_video.cppm | 1 + .../ThirdParty/Vulkan/vulkan/vulkan_video.hpp | 28 +- 26 files changed, 23997 insertions(+), 1790 deletions(-) diff --git a/Source/ThirdParty/CMakeLists.txt b/Source/ThirdParty/CMakeLists.txt index 17916ba..ee66608 100644 --- a/Source/ThirdParty/CMakeLists.txt +++ b/Source/ThirdParty/CMakeLists.txt @@ -12,4 +12,4 @@ add_subdirectory(Volk) add_subdirectory(Vulkan) add_subdirectory(VMA) -target_link_libraries(NexusThirdParty INTERFACE cpptrace::cpptrace glfw glm imgui Jolt volk VulkanMemoryAllocator-Hpp::VulkanMemoryAllocator-HppModule) +target_link_libraries(NexusThirdParty INTERFACE cpptrace::cpptrace glfw glm imgui Jolt volk VulkanMemoryAllocator-HppModule) diff --git a/Source/ThirdParty/VMA/CMakeLists.txt b/Source/ThirdParty/VMA/CMakeLists.txt index 8142f19..429f45e 100644 --- a/Source/ThirdParty/VMA/CMakeLists.txt +++ b/Source/ThirdParty/VMA/CMakeLists.txt @@ -2,14 +2,21 @@ add_library(VulkanMemoryAllocator INTERFACE) add_library(GPUOpen::VulkanMemoryAllocator ALIAS VulkanMemoryAllocator) add_library(VulkanMemoryAllocator::Headers ALIAS VulkanMemoryAllocator) +target_include_directories(VulkanMemoryAllocator INTERFACE "$") + +# VMA Configuration Flags +target_compile_definitions(VulkanMemoryAllocator INTERFACE VMA_STATIC_VULKAN_FUNCTIONS=0) +target_compile_definitions(VulkanMemoryAllocator INTERFACE VMA_DYNAMIC_VULKAN_FUNCTIONS=1) + add_library(VulkanMemoryAllocator-Hpp INTERFACE) target_compile_options(VulkanMemoryAllocator-Hpp INTERFACE $<$:-Wno-nullability-completeness> ) add_library(VulkanMemoryAllocator-Hpp::VulkanMemoryAllocator-Hpp ALIAS VulkanMemoryAllocator-Hpp) +add_library(VulkanMemoryAllocator::Hpp ALIAS VulkanMemoryAllocator-Hpp) target_include_directories(VulkanMemoryAllocator-Hpp INTERFACE $) -if (TARGET Vulkan::HppModule) +if (TARGET Vulkan-HppModule) message(STATUS "VMA-Hpp module is available") # Set up VulkanMemoryAllocator-HppModule. @@ -19,7 +26,17 @@ if (TARGET Vulkan::HppModule) target_sources(VulkanMemoryAllocator-HppModule PUBLIC FILE_SET CXX_MODULES FILES "${CMAKE_CURRENT_SOURCE_DIR}/vk_mem_alloc.cppm") - target_link_libraries(VulkanMemoryAllocator-HppModule PUBLIC VulkanMemoryAllocator-Hpp Vulkan::HppModule) + target_link_libraries(VulkanMemoryAllocator-HppModule PUBLIC VulkanMemoryAllocator-Hpp Vulkan-HppModule) + + # fallback + if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/vk_mem_alloc.h") + target_link_libraries(VulkanMemoryAllocator-HppModule PUBLIC GPUOpen::VulkanMemoryAllocator) + else () + if (NOT TARGET GPUOpen::VulkanMemoryAllocator) + find_package(VulkanMemoryAllocator CONFIG REQUIRED) + endif () + target_link_libraries(VulkanMemoryAllocator-HppModule PUBLIC GPUOpen::VulkanMemoryAllocator) + endif () endif () target_include_directories(NexusEngine PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/Source/ThirdParty/VMA/vk_mem_alloc.cppm b/Source/ThirdParty/VMA/vk_mem_alloc.cppm index fc7467f..be32ab6 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc.cppm +++ b/Source/ThirdParty/VMA/vk_mem_alloc.cppm @@ -1,110 +1,23 @@ // Generated from the Vulkan Memory Allocator (vk_mem_alloc.h). module; #define VMA_HPP_CXX_MODULE + +#define VULKAN_HPP_CXX_MODULE +#include + #define VMA_IMPLEMENTATION +#include "vk_mem_alloc.h" + +export module vk_mem_alloc; +import std; +import vulkan; + #include "vk_mem_alloc.hpp" #include "vk_mem_alloc_raii.hpp" -export module vk_mem_alloc; -export import vulkan; -export namespace VMA_HPP_NAMESPACE { -#ifndef VULKAN_HPP_NO_TO_STRING - using VMA_HPP_NAMESPACE::to_string; -#endif - using VMA_HPP_NAMESPACE::functionsFromDispatchers; - using VMA_HPP_NAMESPACE::functionsFromDispatcher; - using VMA_HPP_NAMESPACE::operator&; - using VMA_HPP_NAMESPACE::operator|; - using VMA_HPP_NAMESPACE::operator^; - using VMA_HPP_NAMESPACE::operator~; - using VMA_HPP_NAMESPACE::operator<; - using VMA_HPP_NAMESPACE::operator<=; - using VMA_HPP_NAMESPACE::operator>; - using VMA_HPP_NAMESPACE::operator>=; - using VMA_HPP_NAMESPACE::operator==; - using VMA_HPP_NAMESPACE::operator!=; -#ifdef VULKAN_HPP_HAS_SPACESHIP_OPERATOR - using VMA_HPP_NAMESPACE::operator<=>; -#endif - using VMA_HPP_NAMESPACE::AllocatorCreateFlagBits; - using VMA_HPP_NAMESPACE::AllocatorCreateFlags; - using VMA_HPP_NAMESPACE::MemoryUsage; - using VMA_HPP_NAMESPACE::AllocationCreateFlagBits; - using VMA_HPP_NAMESPACE::AllocationCreateFlags; - using VMA_HPP_NAMESPACE::PoolCreateFlagBits; - using VMA_HPP_NAMESPACE::PoolCreateFlags; - using VMA_HPP_NAMESPACE::DefragmentationFlagBits; - using VMA_HPP_NAMESPACE::DefragmentationFlags; - using VMA_HPP_NAMESPACE::DefragmentationMoveOperation; - using VMA_HPP_NAMESPACE::VirtualBlockCreateFlagBits; - using VMA_HPP_NAMESPACE::VirtualBlockCreateFlags; - using VMA_HPP_NAMESPACE::VirtualAllocationCreateFlagBits; - using VMA_HPP_NAMESPACE::VirtualAllocationCreateFlags; - using VMA_HPP_NAMESPACE::DeviceMemoryCallbacks; - using VMA_HPP_NAMESPACE::VulkanFunctions; - using VMA_HPP_NAMESPACE::AllocatorCreateInfo; - using VMA_HPP_NAMESPACE::AllocatorInfo; - using VMA_HPP_NAMESPACE::Statistics; - using VMA_HPP_NAMESPACE::DetailedStatistics; - using VMA_HPP_NAMESPACE::TotalStatistics; - using VMA_HPP_NAMESPACE::Budget; - using VMA_HPP_NAMESPACE::AllocationCreateInfo; - using VMA_HPP_NAMESPACE::PoolCreateInfo; - using VMA_HPP_NAMESPACE::AllocationInfo; - using VMA_HPP_NAMESPACE::AllocationInfo2; - using VMA_HPP_NAMESPACE::DefragmentationInfo; - using VMA_HPP_NAMESPACE::DefragmentationMove; - using VMA_HPP_NAMESPACE::DefragmentationPassMoveInfo; - using VMA_HPP_NAMESPACE::DefragmentationStats; - using VMA_HPP_NAMESPACE::VirtualBlockCreateInfo; - using VMA_HPP_NAMESPACE::VirtualAllocationCreateInfo; - using VMA_HPP_NAMESPACE::VirtualAllocationInfo; - using VMA_HPP_NAMESPACE::Allocator; - using VMA_HPP_NAMESPACE::Pool; - using VMA_HPP_NAMESPACE::Allocation; - using VMA_HPP_NAMESPACE::DefragmentationContext; - using VMA_HPP_NAMESPACE::VirtualAllocation; - using VMA_HPP_NAMESPACE::VirtualBlock; -#ifdef VOLK_HEADER_VERSION - using VMA_HPP_NAMESPACE::importVulkanFunctionsFromVolk; +#if !defined(__GNUC__) +module : private; #endif - using VMA_HPP_NAMESPACE::createAllocator; - using VMA_HPP_NAMESPACE::createVirtualBlock; -#ifndef VULKAN_HPP_NO_SMART_HANDLE - using VMA_HPP_NAMESPACE::UniqueAllocator; - using VMA_HPP_NAMESPACE::UniquePool; - using VMA_HPP_NAMESPACE::UniqueAllocation; - using VMA_HPP_NAMESPACE::UniqueVirtualAllocation; - using VMA_HPP_NAMESPACE::UniqueVirtualBlock; - using VMA_HPP_NAMESPACE::createAllocatorUnique; - using VMA_HPP_NAMESPACE::createVirtualBlockUnique; - using VMA_HPP_NAMESPACE::UniqueBuffer; - using VMA_HPP_NAMESPACE::UniqueImage; -#endif -#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE - namespace VMA_HPP_RAII_NAMESPACE { -#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - using VMA_HPP_RAII_NAMESPACE::operator<=>; -#else - using VMA_HPP_RAII_NAMESPACE::operator<; -#endif - using VMA_HPP_RAII_NAMESPACE::operator==; - using VMA_HPP_RAII_NAMESPACE::operator!=; - using VMA_HPP_RAII_NAMESPACE::Allocator; - using VMA_HPP_RAII_NAMESPACE::Pool; - using VMA_HPP_RAII_NAMESPACE::Allocation; - using VMA_HPP_RAII_NAMESPACE::DefragmentationContext; - using VMA_HPP_RAII_NAMESPACE::VirtualAllocation; - using VMA_HPP_RAII_NAMESPACE::VirtualBlock; - using VMA_HPP_RAII_NAMESPACE::Buffer; - using VMA_HPP_RAII_NAMESPACE::Image; - using VMA_HPP_RAII_NAMESPACE::StatsString; - using VMA_HPP_RAII_NAMESPACE::createAllocator; - using VMA_HPP_RAII_NAMESPACE::createVirtualBlock; - } -#endif -} - namespace VULKAN_HPP_NAMESPACE { // This is needed for template specializations to be visible outside the module when importing vulkan (is this a MSVC bug?). template<> struct FlagTraits; diff --git a/Source/ThirdParty/VMA/vk_mem_alloc.h b/Source/ThirdParty/VMA/vk_mem_alloc.h index f2b58bf..88bf18e 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc.h +++ b/Source/ThirdParty/VMA/vk_mem_alloc.h @@ -3241,12 +3241,10 @@ void* vma_aligned_alloc(size_t alignment, size_t size) } } // namespace #elif defined(_WIN32) -namespace { -void* vma_aligned_alloc(size_t alignment, size_t size) +inline void* vma_aligned_alloc(size_t alignment, size_t size) { return _aligned_malloc(size, alignment); } -} // namespace #elif __cplusplus >= 201703L || _MSVC_LANG >= 201703L // C++17 namespace { void* vma_aligned_alloc(size_t alignment, size_t size) @@ -3265,10 +3263,8 @@ void* vma_aligned_alloc(size_t alignment, size_t size) } // namespace #endif -namespace -{ #if defined(_WIN32) -void vma_aligned_free(void* ptr) +inline void vma_aligned_free(void* ptr) { _aligned_free(ptr); } @@ -3278,7 +3274,6 @@ void vma_aligned_free(void* VMA_NULLABLE ptr) free(ptr); } #endif -} // namespace #ifndef VMA_ALIGN_OF #define VMA_ALIGN_OF(type) (alignof(type)) diff --git a/Source/ThirdParty/VMA/vk_mem_alloc.hpp b/Source/ThirdParty/VMA/vk_mem_alloc.hpp index 6d1f64a..aa21dce 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc.hpp @@ -16,10 +16,9 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_HPP #define VULKAN_MEMORY_ALLOCATOR_HPP -#ifdef VMA_HPP_CXX_MODULE -import vulkan; -#else -#include +// volk +#ifdef VMA_HPP_ENABLE_VOLK +#include #endif #define VMA_HPP_NAMESPACE_STRING VULKAN_HPP_STRINGIFY(VMA_HPP_NAMESPACE) @@ -29,7 +28,7 @@ import vulkan; // https://github.com/KhronosGroup/Vulkan-Hpp/commit/a0a4c22975c89f70202542cc52d0f182db296002 // Just add dummy operators, so that using declarations would always compile. namespace VMA_HPP_NAMESPACE { class Dummy; } -namespace VULKAN_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { void operator<(VMA_HPP_NAMESPACE::Dummy, VMA_HPP_NAMESPACE::Dummy); void operator<=(VMA_HPP_NAMESPACE::Dummy, VMA_HPP_NAMESPACE::Dummy); void operator>(VMA_HPP_NAMESPACE::Dummy, VMA_HPP_NAMESPACE::Dummy); @@ -39,7 +38,7 @@ namespace VULKAN_HPP_NAMESPACE { #endif } -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { using VULKAN_HPP_NAMESPACE::operator&; using VULKAN_HPP_NAMESPACE::operator|; using VULKAN_HPP_NAMESPACE::operator^; diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_enums.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_enums.hpp index 58a1eed..f92a0f5 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_enums.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_enums.hpp @@ -2,7 +2,7 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_ENUMS_HPP #define VULKAN_MEMORY_ALLOCATOR_ENUMS_HPP -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { // wrapper class for enum VmaAllocatorCreateFlagBits, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_enum.html enum class AllocatorCreateFlagBits : VmaAllocatorCreateFlags { @@ -104,7 +104,7 @@ namespace VMA_HPP_NAMESPACE { using VirtualAllocationCreateFlags = VULKAN_HPP_NAMESPACE::Flags; } -namespace VULKAN_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { template<> struct FlagTraits { using WrappedType = VmaAllocatorCreateFlagBits; diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_funcs.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_funcs.hpp index c538810..5041e28 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_funcs.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_funcs.hpp @@ -2,7 +2,7 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_FUNCS_HPP #define VULKAN_MEMORY_ALLOCATOR_FUNCS_HPP -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaDestroyAllocator, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html @@ -326,6 +326,41 @@ namespace VMA_HPP_NAMESPACE { return result; } +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + Allocation allocation; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaAllocateDedicatedMemory(m_allocator, reinterpret_cast(&vkMemoryRequirements), reinterpret_cast(&createInfo), memoryAllocateNext, reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::allocateDedicatedMemory"); + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, allocation); + } +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::allocateDedicatedMemoryUnique(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + Allocation allocation; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaAllocateDedicatedMemory(m_allocator, reinterpret_cast(&vkMemoryRequirements), reinterpret_cast(&createInfo), memoryAllocateNext, reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::allocateDedicatedMemoryUnique"); + UniqueAllocation allocationUnique { allocation, *this }; + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, std::move(allocationUnique)); + } +#endif +#endif + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Result Allocator::allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements* pVkMemoryRequirements, + const AllocationCreateInfo* pCreateInfo, + void* pMemoryAllocateNext, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT { + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaAllocateDedicatedMemory(m_allocator, reinterpret_cast(pVkMemoryRequirements), reinterpret_cast(pCreateInfo), pMemoryAllocateNext, reinterpret_cast(pAllocation), reinterpret_cast(pAllocationInfo)) ); + return result; + } + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaAllocateMemoryPages, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html template @@ -633,6 +668,26 @@ namespace VMA_HPP_NAMESPACE { return result; } +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::getMemoryWin32Handle2(Allocation allocation, + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + HANDLE handle; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaGetMemoryWin32Handle2(m_allocator, static_cast(allocation), static_cast(handleType), hTargetProcess, &handle) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::getMemoryWin32Handle2"); + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, handle); + } +#endif + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Result Allocator::getMemoryWin32Handle2(Allocation allocation, + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess, + HANDLE* pHandle) const VULKAN_HPP_NOEXCEPT { + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaGetMemoryWin32Handle2(m_allocator, static_cast(allocation), static_cast(handleType), hTargetProcess, pHandle) ); + return result; + } + #endif #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaMapMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html @@ -1035,6 +1090,49 @@ namespace VMA_HPP_NAMESPACE { return result; } +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType>::type Allocator::createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + std::pair pair; + VULKAN_HPP_NAMESPACE::Buffer& buffer = pair.second; + Allocation& allocation = pair.first; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedBuffer(m_allocator, reinterpret_cast(&bufferCreateInfo), reinterpret_cast(&allocationCreateInfo), memoryAllocateNext, reinterpret_cast(&buffer), reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::createDedicatedBuffer"); + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, pair); + } +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType>::type Allocator::createDedicatedBufferUnique(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + std::pair pair; + VULKAN_HPP_NAMESPACE::Buffer& buffer = pair.second; + Allocation& allocation = pair.first; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedBuffer(m_allocator, reinterpret_cast(&bufferCreateInfo), reinterpret_cast(&allocationCreateInfo), memoryAllocateNext, reinterpret_cast(&buffer), reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::createDedicatedBufferUnique"); + std::pair pairUnique { + UniqueAllocation(allocation, *this), + UniqueBuffer(buffer, *this) + }; + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, std::move(pairUnique)); + } +#endif +#endif + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Result Allocator::createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo* pBufferCreateInfo, + const AllocationCreateInfo* pAllocationCreateInfo, + void* pMemoryAllocateNext, + VULKAN_HPP_NAMESPACE::Buffer* pBuffer, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT { + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedBuffer(m_allocator, reinterpret_cast(pBufferCreateInfo), reinterpret_cast(pAllocationCreateInfo), pMemoryAllocateNext, reinterpret_cast(pBuffer), reinterpret_cast(pAllocation), reinterpret_cast(pAllocationInfo)) ); + return result; + } + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createAliasingBuffer(Allocation allocation, @@ -1164,6 +1262,49 @@ namespace VMA_HPP_NAMESPACE { return result; } +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType>::type Allocator::createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + std::pair pair; + VULKAN_HPP_NAMESPACE::Image& image = pair.second; + Allocation& allocation = pair.first; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedImage(m_allocator, reinterpret_cast(&imageCreateInfo), reinterpret_cast(&allocationCreateInfo), memoryAllocateNext, reinterpret_cast(&image), reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::createDedicatedImage"); + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, pair); + } +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType>::type Allocator::createDedicatedImageUnique(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + std::pair pair; + VULKAN_HPP_NAMESPACE::Image& image = pair.second; + Allocation& allocation = pair.first; + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedImage(m_allocator, reinterpret_cast(&imageCreateInfo), reinterpret_cast(&allocationCreateInfo), memoryAllocateNext, reinterpret_cast(&image), reinterpret_cast(&allocation), reinterpret_cast(static_cast(allocationInfo))) ); + VULKAN_HPP_NAMESPACE::detail::resultCheck(result, VMA_HPP_NAMESPACE_STRING "::Allocator::createDedicatedImageUnique"); + std::pair pairUnique { + UniqueAllocation(allocation, *this), + UniqueImage(image, *this) + }; + return VULKAN_HPP_NAMESPACE::detail::createResultValueType(result, std::move(pairUnique)); + } +#endif +#endif + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Result Allocator::createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo* pImageCreateInfo, + const AllocationCreateInfo* pAllocationCreateInfo, + void* pMemoryAllocateNext, + VULKAN_HPP_NAMESPACE::Image* pImage, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT { + VULKAN_HPP_NAMESPACE::Result result = static_cast( vmaCreateDedicatedImage(m_allocator, reinterpret_cast(pImageCreateInfo), reinterpret_cast(pAllocationCreateInfo), pMemoryAllocateNext, reinterpret_cast(pImage), reinterpret_cast(pAllocation), reinterpret_cast(pAllocationInfo)) ); + return result; + } + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createAliasingImage(Allocation allocation, diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_handles.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_handles.hpp index 814b141..50fa9cb 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_handles.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_handles.hpp @@ -2,7 +2,7 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_HANDLES_HPP #define VULKAN_MEMORY_ALLOCATOR_HANDLES_HPP -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { struct DeviceMemoryCallbacks; struct VulkanFunctions; struct AllocatorCreateInfo; @@ -273,6 +273,27 @@ namespace VMA_HPP_NAMESPACE { Allocation* pAllocation, AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type allocateDedicatedMemoryUnique(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif +#endif + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Result allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements* pVkMemoryRequirements, + const AllocationCreateInfo* pCreateInfo, + void* pMemoryAllocateNext, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaAllocateMemoryPages, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html template > @@ -431,6 +452,18 @@ namespace VMA_HPP_NAMESPACE { HANDLE hTargetProcess, HANDLE* pHandle) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type getMemoryWin32Handle2(Allocation allocation, + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Result getMemoryWin32Handle2(Allocation allocation, + VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess, + HANDLE* pHandle) const VULKAN_HPP_NOEXCEPT; + #endif #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaMapMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html @@ -654,6 +687,28 @@ namespace VMA_HPP_NAMESPACE { Allocation* pAllocation, AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType>::type createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType>::type createDedicatedBufferUnique(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif +#endif + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Result createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo* pBufferCreateInfo, + const AllocationCreateInfo* pAllocationCreateInfo, + void* pMemoryAllocateNext, + VULKAN_HPP_NAMESPACE::Buffer* pBuffer, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createAliasingBuffer(Allocation allocation, @@ -726,6 +781,28 @@ namespace VMA_HPP_NAMESPACE { Allocation* pAllocation, AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType>::type createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#ifndef VULKAN_HPP_NO_SMART_HANDLE + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType>::type createDedicatedImageUnique(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; +#endif +#endif + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Result createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo* pImageCreateInfo, + const AllocationCreateInfo* pAllocationCreateInfo, + void* pMemoryAllocateNext, + VULKAN_HPP_NAMESPACE::Image* pImage, + Allocation* pAllocation, + AllocationInfo* pAllocationInfo) const VULKAN_HPP_NOEXCEPT; + #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createAliasingImage(Allocation allocation, @@ -1241,7 +1318,7 @@ namespace VMA_HPP_NAMESPACE { #endif } -namespace VULKAN_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { template <> struct isVulkanHandleType { static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; }; diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_raii.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_raii.hpp index 2a48d20..00eec10 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_raii.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_raii.hpp @@ -11,7 +11,7 @@ #if defined( _MSC_VER ) # pragma warning(disable : 4834) // MSVC thinks we are discarding chained return values, like foo(), detail::wrap<...>(...) #endif -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { namespace VMA_HPP_RAII_NAMESPACE { namespace detail { template struct Seq : Seq {}; @@ -70,6 +70,26 @@ namespace VMA_HPP_NAMESPACE { struct Converter, Wrapper, VULKAN_HPP_NAMESPACE::Result> : Converter, Wrapper> {}; + // std::expected converter. +#if defined (VULKAN_HPP_EXPECTED) + template + struct Converter, Wrapper, std::expected> : Converter { + std::expected convert(std::expected&& src) const { + if (!src.has_value()) return std::unexpected(src.error()); + return std::expected(std::in_place, + static_cast const&>(*this).convert(std::move(*src))); + } + }; + template + struct Converter, Wrapper, std::expected> : Converter { + std::expected convert(std::expected&& src) const { + if (!src.has_value()) return std::unexpected(src.error()); + return std::expected(std::in_place, + static_cast const&>(*this).convert()); + } + }; +#endif + // vk::raii::Buffer and vk::raii::Image converters. template struct VulkanRAIIResourceConverter : private T { using T::T; @@ -245,6 +265,12 @@ namespace VMA_HPP_NAMESPACE { const AllocationCreateInfo& createInfo, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaAllocateMemoryPages, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType>::type allocateMemoryPages(VULKAN_HPP_NAMESPACE::ArrayProxy const & vkMemoryRequirements, VULKAN_HPP_NAMESPACE::ArrayProxy const & createInfo, @@ -300,6 +326,12 @@ namespace VMA_HPP_NAMESPACE { VULKAN_HPP_NAMESPACE::DeviceSize minAlignment, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createAliasingBuffer(VMA_HPP_NAMESPACE::Allocation allocation, const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -323,6 +355,12 @@ namespace VMA_HPP_NAMESPACE { const AllocationCreateInfo& allocationCreateInfo, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type createAliasingImage(VMA_HPP_NAMESPACE::Allocation allocation, const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -449,6 +487,13 @@ namespace VMA_HPP_NAMESPACE { const AllocationCreateInfo& createInfo, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + explicit Allocation(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaAllocateMemoryForBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html explicit Allocation(Allocator const & allocator, VULKAN_HPP_NAMESPACE::Buffer buffer, @@ -522,6 +567,10 @@ namespace VMA_HPP_NAMESPACE { // wrapper function for command vmaGetMemoryWin32Handle, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type getWin32Handle(HANDLE hTargetProcess) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type getWin32Handle2(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; + #endif // wrapper function for command vmaMapMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD typename VULKAN_HPP_NAMESPACE::ResultValueType::type map() const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -834,6 +883,13 @@ namespace VMA_HPP_NAMESPACE { VULKAN_HPP_NAMESPACE::DeviceSize minAlignment, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + explicit Buffer(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html explicit Buffer(Allocator const & allocator, Allocation&& allocation, @@ -926,6 +982,13 @@ namespace VMA_HPP_NAMESPACE { const AllocationCreateInfo& allocationCreateInfo, VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + explicit Image(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo = nullptr); + // wrapper constructor for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html explicit Image(Allocator const & allocator, Allocation&& allocation, @@ -1168,6 +1231,15 @@ namespace VMA_HPP_NAMESPACE { detail::wrap::type>(*this, detail::placeholder); } + // wrapper function for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::allocateDedicatedMemory(const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + return m_allocator.allocateDedicatedMemory(vkMemoryRequirements, createInfo, memoryAllocateNext, allocationInfo), + detail::wrap::type>(*this, detail::placeholder); + } + // wrapper function for command vmaAllocateMemoryPages, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType>::type Allocator::allocateMemoryPages(VULKAN_HPP_NAMESPACE::ArrayProxy const & vkMemoryRequirements, VULKAN_HPP_NAMESPACE::ArrayProxy const & createInfo, @@ -1255,6 +1327,15 @@ namespace VMA_HPP_NAMESPACE { detail::wrap::type>(*this, detail::placeholder); } + // wrapper function for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createDedicatedBuffer(const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + return m_allocator.createDedicatedBuffer(bufferCreateInfo, allocationCreateInfo, memoryAllocateNext, allocationInfo), + detail::wrap::type>(*this, detail::placeholder); + } + // wrapper function for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createAliasingBuffer(VMA_HPP_NAMESPACE::Allocation allocation, const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { @@ -1293,6 +1374,15 @@ namespace VMA_HPP_NAMESPACE { detail::wrap::type>(*this, detail::placeholder); } + // wrapper function for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createDedicatedImage(const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + return m_allocator.createDedicatedImage(imageCreateInfo, allocationCreateInfo, memoryAllocateNext, allocationInfo), + detail::wrap::type>(*this, detail::placeholder); + } + // wrapper function for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocator::createAliasingImage(VMA_HPP_NAMESPACE::Allocation allocation, const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { @@ -1387,6 +1477,12 @@ namespace VMA_HPP_NAMESPACE { return m_allocator.getMemoryWin32Handle(m_allocation, hTargetProcess); } + // wrapper function for command vmaGetMemoryWin32Handle2, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocation::getWin32Handle2(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType, + HANDLE hTargetProcess) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { + return m_allocator.getMemoryWin32Handle2(m_allocation, handleType, hTargetProcess); + } + #endif // wrapper function for command vmaMapMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename VULKAN_HPP_NAMESPACE::ResultValueType::type Allocation::map() const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { @@ -1556,6 +1652,14 @@ namespace VMA_HPP_NAMESPACE { VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : Allocation(allocator.allocateMemory(vkMemoryRequirements, createInfo, allocationInfo)) {} + // wrapper constructor for command vmaAllocateDedicatedMemory, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_INLINE Allocation::Allocation(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::MemoryRequirements& vkMemoryRequirements, + const AllocationCreateInfo& createInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : + Allocation(allocator.allocateDedicatedMemory(vkMemoryRequirements, createInfo, memoryAllocateNext, allocationInfo)) {} + // wrapper constructor for command vmaAllocateMemoryForBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_INLINE Allocation::Allocation(Allocator const & allocator, VULKAN_HPP_NAMESPACE::Buffer buffer, @@ -1607,6 +1711,14 @@ namespace VMA_HPP_NAMESPACE { VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : Buffer(allocator.createBufferWithAlignment(bufferCreateInfo, allocationCreateInfo, minAlignment, allocationInfo)) {} + // wrapper constructor for command vmaCreateDedicatedBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_INLINE Buffer::Buffer(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::BufferCreateInfo& bufferCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : + Buffer(allocator.createDedicatedBuffer(bufferCreateInfo, allocationCreateInfo, memoryAllocateNext, allocationInfo)) {} + // wrapper constructor for command vmaCreateAliasingBuffer, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_INLINE Buffer::Buffer(Allocator const & allocator, Allocation&& allocation, @@ -1634,6 +1746,14 @@ namespace VMA_HPP_NAMESPACE { VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : Image(allocator.createImage(imageCreateInfo, allocationCreateInfo, allocationInfo)) {} + // wrapper constructor for command vmaCreateDedicatedImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html + VULKAN_HPP_INLINE Image::Image(Allocator const & allocator, + const VULKAN_HPP_NAMESPACE::ImageCreateInfo& imageCreateInfo, + const AllocationCreateInfo& allocationCreateInfo, + void* memoryAllocateNext, + VULKAN_HPP_NAMESPACE::Optional const & allocationInfo) : + Image(allocator.createDedicatedImage(imageCreateInfo, allocationCreateInfo, memoryAllocateNext, allocationInfo)) {} + // wrapper constructor for command vmaCreateAliasingImage, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/globals_func.html VULKAN_HPP_INLINE Image::Image(Allocator const & allocator, Allocation&& allocation, @@ -1661,7 +1781,7 @@ namespace VMA_HPP_NAMESPACE { #endif } } -namespace VULKAN_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { namespace VULKAN_HPP_RAII_NAMESPACE { template <> struct isVulkanRAIIHandleType { static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_structs.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_structs.hpp index 1098534..9ee88b8 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_structs.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_structs.hpp @@ -2,7 +2,7 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_STRUCTS_HPP #define VULKAN_MEMORY_ALLOCATOR_STRUCTS_HPP -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { // wrapper struct for struct VmaDeviceMemoryCallbacks, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/struct_vma_device_memory_callbacks.html struct DeviceMemoryCallbacks { @@ -125,7 +125,7 @@ namespace VMA_HPP_NAMESPACE { , PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR_ = {} , PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR_ = {} #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR_ = {} #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -136,6 +136,9 @@ namespace VMA_HPP_NAMESPACE { , PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR_ = {} #else , void* vkGetMemoryWin32HandleKHR_ = {} +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR_ = {} #endif ) VULKAN_HPP_NOEXCEPT : vkGetInstanceProcAddr { vkGetInstanceProcAddr_ } @@ -165,7 +168,7 @@ namespace VMA_HPP_NAMESPACE { , vkBindBufferMemory2KHR { vkBindBufferMemory2KHR_ } , vkBindImageMemory2KHR { vkBindImageMemory2KHR_ } #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , vkGetPhysicalDeviceMemoryProperties2KHR { vkGetPhysicalDeviceMemoryProperties2KHR_ } #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -176,6 +179,9 @@ namespace VMA_HPP_NAMESPACE { , vkGetMemoryWin32HandleKHR { vkGetMemoryWin32HandleKHR_ } #else , vkGetMemoryWin32HandleKHR { vkGetMemoryWin32HandleKHR_ } +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , vkGetPhysicalDeviceProperties2KHR { vkGetPhysicalDeviceProperties2KHR_ } #endif {} @@ -310,7 +316,7 @@ namespace VMA_HPP_NAMESPACE { } #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 VULKAN_HPP_CONSTEXPR_14 VulkanFunctions& setVkGetPhysicalDeviceMemoryProperties2KHR(PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR_) VULKAN_HPP_NOEXCEPT { vkGetPhysicalDeviceMemoryProperties2KHR = vkGetPhysicalDeviceMemoryProperties2KHR_; return *this; @@ -340,6 +346,13 @@ namespace VMA_HPP_NAMESPACE { vkGetMemoryWin32HandleKHR = vkGetMemoryWin32HandleKHR_; return *this; } + +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + VULKAN_HPP_CONSTEXPR_14 VulkanFunctions& setVkGetPhysicalDeviceProperties2KHR(PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR_) VULKAN_HPP_NOEXCEPT { + vkGetPhysicalDeviceProperties2KHR = vkGetPhysicalDeviceProperties2KHR_; + return *this; + } #endif #endif @@ -387,7 +400,7 @@ namespace VMA_HPP_NAMESPACE { , PFN_vkBindBufferMemory2KHR const & , PFN_vkBindImageMemory2KHR const & #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , PFN_vkGetPhysicalDeviceMemoryProperties2KHR const & #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -398,6 +411,9 @@ namespace VMA_HPP_NAMESPACE { , PFN_vkGetMemoryWin32HandleKHR const & #else , void* const & +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , PFN_vkGetPhysicalDeviceProperties2KHR const & #endif > reflect() const VULKAN_HPP_NOEXCEPT { @@ -428,7 +444,7 @@ namespace VMA_HPP_NAMESPACE { , vkBindBufferMemory2KHR , vkBindImageMemory2KHR #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , vkGetPhysicalDeviceMemoryProperties2KHR #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -439,6 +455,9 @@ namespace VMA_HPP_NAMESPACE { , vkGetMemoryWin32HandleKHR #else , vkGetMemoryWin32HandleKHR +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , vkGetPhysicalDeviceProperties2KHR #endif ); } @@ -475,7 +494,7 @@ namespace VMA_HPP_NAMESPACE { && vkBindBufferMemory2KHR == rhs.vkBindBufferMemory2KHR && vkBindImageMemory2KHR == rhs.vkBindImageMemory2KHR #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 && vkGetPhysicalDeviceMemoryProperties2KHR == rhs.vkGetPhysicalDeviceMemoryProperties2KHR #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -486,6 +505,9 @@ namespace VMA_HPP_NAMESPACE { && vkGetMemoryWin32HandleKHR == rhs.vkGetMemoryWin32HandleKHR #else && vkGetMemoryWin32HandleKHR == rhs.vkGetMemoryWin32HandleKHR +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + && vkGetPhysicalDeviceProperties2KHR == rhs.vkGetPhysicalDeviceProperties2KHR #endif ; #endif @@ -522,7 +544,7 @@ namespace VMA_HPP_NAMESPACE { PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = {}; PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = {}; #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = {}; #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -533,6 +555,9 @@ namespace VMA_HPP_NAMESPACE { PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = {}; #else void* vkGetMemoryWin32HandleKHR = {}; +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = {}; #endif }; @@ -565,7 +590,7 @@ namespace VMA_HPP_NAMESPACE { struct vkBindBufferMemory2 { using type = PFN_vkBindBufferMemory2; }; struct vkBindImageMemory2 { using type = PFN_vkBindImageMemory2; }; #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 struct vkGetPhysicalDeviceMemoryProperties2 { using type = PFN_vkGetPhysicalDeviceMemoryProperties2; }; #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -575,6 +600,9 @@ namespace VMA_HPP_NAMESPACE { #if VMA_EXTERNAL_MEMORY_WIN32 struct vkGetMemoryWin32HandleKHR { using type = PFN_vkGetMemoryWin32HandleKHR; }; #else +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + struct vkGetPhysicalDeviceProperties2 { using type = PFN_vkGetPhysicalDeviceProperties2; }; #endif template struct FromDispatchers { static PFN get(const T&, const Ts&... ts) VULKAN_HPP_NOEXCEPT { @@ -635,7 +663,7 @@ namespace VMA_HPP_NAMESPACE { template struct VulkanPFN::FromDispatchers { static PFN_vkBindImageMemory2 get(const T& t, const Ts&...) VULKAN_HPP_NOEXCEPT { return t.vkBindImageMemory2; } }; #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 template struct VulkanPFN::FromDispatchers { static PFN_vkGetPhysicalDeviceMemoryProperties2 get(const T& t, const Ts&...) VULKAN_HPP_NOEXCEPT { return t.vkGetPhysicalDeviceMemoryProperties2; } }; #endif @@ -649,6 +677,10 @@ namespace VMA_HPP_NAMESPACE { template struct VulkanPFN::FromDispatchers { static PFN_vkGetMemoryWin32HandleKHR get(const T& t, const Ts&...) VULKAN_HPP_NOEXCEPT { return t.vkGetMemoryWin32HandleKHR; } }; #else +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + template struct VulkanPFN::FromDispatchers + { static PFN_vkGetPhysicalDeviceProperties2 get(const T& t, const Ts&...) VULKAN_HPP_NOEXCEPT { return t.vkGetPhysicalDeviceProperties2; } }; #endif } @@ -683,7 +715,7 @@ namespace VMA_HPP_NAMESPACE { , detail::VulkanPFN::get(dispatch...) , detail::VulkanPFN::get(dispatch...) #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , detail::VulkanPFN::get(dispatch...) #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -694,6 +726,9 @@ namespace VMA_HPP_NAMESPACE { , detail::VulkanPFN::get(dispatch...) #else , nullptr +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , detail::VulkanPFN::get(dispatch...) #endif }; } @@ -732,7 +767,7 @@ namespace VMA_HPP_NAMESPACE { , &vkBindBufferMemory2 , &vkBindImageMemory2 #endif -#if VMA_MEMORY_BUDGET || VMA_VULKAN_VERSION >= 1001000 +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 , &vkGetPhysicalDeviceMemoryProperties2 #endif #if VMA_KHR_MAINTENANCE4 || VMA_VULKAN_VERSION >= 1003000 @@ -743,6 +778,9 @@ namespace VMA_HPP_NAMESPACE { , &vkGetMemoryWin32HandleKHR #else , nullptr +#endif +#if VMA_GET_PHYSICAL_DEVICE_PROPERTIES2 + , &vkGetPhysicalDeviceProperties2 #endif }; } @@ -1464,6 +1502,7 @@ namespace VMA_HPP_NAMESPACE { , Pool pool_ = {} , void* pUserData_ = {} , float priority_ = {} + , VULKAN_HPP_NAMESPACE::DeviceSize minAlignment_ = {} ) VULKAN_HPP_NOEXCEPT : flags { flags_ } , usage { usage_ } @@ -1472,7 +1511,8 @@ namespace VMA_HPP_NAMESPACE { , memoryTypeBits { memoryTypeBits_ } , pool { pool_ } , pUserData { pUserData_ } - , priority { priority_ } {} + , priority { priority_ } + , minAlignment { minAlignment_ } {} VULKAN_HPP_CONSTEXPR AllocationCreateInfo(AllocationCreateInfo const &) VULKAN_HPP_NOEXCEPT = default; AllocationCreateInfo(VmaAllocationCreateInfo const & rhs) VULKAN_HPP_NOEXCEPT : AllocationCreateInfo(*reinterpret_cast(&rhs)) {} @@ -1525,6 +1565,11 @@ namespace VMA_HPP_NAMESPACE { priority = priority_; return *this; } + + VULKAN_HPP_CONSTEXPR_14 AllocationCreateInfo& setMinAlignment(VULKAN_HPP_NAMESPACE::DeviceSize minAlignment_) VULKAN_HPP_NOEXCEPT { + minAlignment = minAlignment_; + return *this; + } #endif operator VmaAllocationCreateInfo const &() const VULKAN_HPP_NOEXCEPT { @@ -1551,7 +1596,8 @@ namespace VMA_HPP_NAMESPACE { , uint32_t const & , Pool const & , void* const & - , float const &> + , float const & + , VULKAN_HPP_NAMESPACE::DeviceSize const &> reflect() const VULKAN_HPP_NOEXCEPT { return std::tie(flags , usage @@ -1560,7 +1606,8 @@ namespace VMA_HPP_NAMESPACE { , memoryTypeBits , pool , pUserData - , priority); + , priority + , minAlignment); } #endif @@ -1578,7 +1625,8 @@ namespace VMA_HPP_NAMESPACE { && memoryTypeBits == rhs.memoryTypeBits && pool == rhs.pool && pUserData == rhs.pUserData - && priority == rhs.priority; + && priority == rhs.priority + && minAlignment == rhs.minAlignment; #endif } bool operator!=(AllocationCreateInfo const & rhs) const VULKAN_HPP_NOEXCEPT { @@ -1595,6 +1643,7 @@ namespace VMA_HPP_NAMESPACE { Pool pool = {}; void* pUserData = {}; float priority = {}; + VULKAN_HPP_NAMESPACE::DeviceSize minAlignment = {}; }; // wrapper struct for struct VmaPoolCreateInfo, see https://gpuopen-librariesandsdks.github.io/VulkanMemoryAllocator/html/struct_vma_pool_create_info.html diff --git a/Source/ThirdParty/VMA/vk_mem_alloc_to_string.hpp b/Source/ThirdParty/VMA/vk_mem_alloc_to_string.hpp index 0d96a4d..b099b19 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc_to_string.hpp +++ b/Source/ThirdParty/VMA/vk_mem_alloc_to_string.hpp @@ -2,7 +2,7 @@ #ifndef VULKAN_MEMORY_ALLOCATOR_TO_STRING_HPP #define VULKAN_MEMORY_ALLOCATOR_TO_STRING_HPP -namespace VMA_HPP_NAMESPACE { +VULKAN_HPP_EXPORT namespace VMA_HPP_NAMESPACE { VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string(AllocatorCreateFlagBits value) { if (value == AllocatorCreateFlagBits::eExternallySynchronized) return "ExternallySynchronized"; diff --git a/Source/ThirdParty/Vulkan/CMakeLists.txt b/Source/ThirdParty/Vulkan/CMakeLists.txt index 028012d..7b30936 100644 --- a/Source/ThirdParty/Vulkan/CMakeLists.txt +++ b/Source/ThirdParty/Vulkan/CMakeLists.txt @@ -29,7 +29,9 @@ set(VULKAN_HEADERS_ENABLE_MODULE ON) # set up Vulkan-Headers add_library(Vulkan-Headers INTERFACE) add_library(Vulkan::Headers ALIAS Vulkan-Headers) -target_compile_definitions(Vulkan-Headers INTERFACE VK_NO_PROTOTYPES=1) +target_compile_definitions(Vulkan-Headers INTERFACE VULKAN_HPP_DISPATCH_LOADER_DYNAMIC=1) +target_compile_definitions(Vulkan-Headers INTERFACE VULKAN_HPP_STORAGE_SHARED) +target_compile_definitions(Vulkan-Headers INTERFACE VULKAN_HPP_STORAGE_SHARED_EXPORT) target_compile_definitions(Vulkan-Headers INTERFACE VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING) target_include_directories(Vulkan-Headers INTERFACE $) diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan.cppm b/Source/ThirdParty/Vulkan/vulkan/vulkan.cppm index ca23cd1..3ee3cd7 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan.cppm +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan.cppm @@ -24,9 +24,9 @@ VULKAN_HPP_COMPILE_WARNING( VULKAN_HPP_CXX_MODULE_EXPERIMENTAL_WARNING ) export module vulkan; -export import std; +import std; -VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 357, "Wrong VK_HEADER_VERSION!" ); +VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 362, "Wrong VK_HEADER_VERSION!" ); #if defined( __clang__ ) # pragma clang diagnostic push @@ -1335,6 +1335,9 @@ export //=== VK_NV_compute_occupancy_priority === using ::PFN_vkCmdSetComputeOccupancyPriorityNV; + //=== VK_EXT_cooperative_matrix_maintenance1 === + using ::PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT; + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === using ::PFN_vkCreateUbmSurfaceSEC; diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp index 98a5fb3..a056ab2 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp @@ -18,6 +18,9 @@ # include // strnlen # include // std::string # include // std::exchange +# if defined( __APPLE__ ) +# include // std::getenv +# endif # if 17 <= VULKAN_HPP_CPP_VERSION # include # endif @@ -36,7 +39,7 @@ # endif #endif -VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 357, "Wrong VK_HEADER_VERSION!" ); +VULKAN_HPP_STATIC_ASSERT( VK_HEADER_VERSION == 362, "Wrong VK_HEADER_VERSION!" ); VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { @@ -87,14 +90,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_CONSTEXPR ArrayWrapper1D( std::array const & data ) VULKAN_HPP_NOEXCEPT : std::array( data ) {} +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template + requires std::is_same::value +#endif VULKAN_HPP_CONSTEXPR_14 ArrayWrapper1D( std::string const & data ) VULKAN_HPP_NOEXCEPT { copy( data.data(), data.length() ); } #if 17 <= VULKAN_HPP_CPP_VERSION +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template + requires std::is_same::value +# endif VULKAN_HPP_CONSTEXPR_14 ArrayWrapper1D( std::string_view data ) VULKAN_HPP_NOEXCEPT { copy( data.data(), data.length() ); @@ -124,14 +137,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return this->data(); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template + requires std::is_same::value +#endif operator std::string() const { return std::string( this->data(), strnlen( this->data(), N ) ); } #if 17 <= VULKAN_HPP_CPP_VERSION +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template + requires std::is_same::value +# endif operator std::string_view() const { return std::string_view( this->data(), strnlen( this->data(), N ) ); @@ -344,7 +367,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template + requires std::is_const::value +# endif ArrayProxy( std::initializer_list::type> const & list ) VULKAN_HPP_NOEXCEPT : m_count( static_cast( list.size() ) ) , m_ptr( list.begin() ) @@ -357,9 +385,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // Any type with a .data() return type implicitly convertible to T*, and a .size() return type implicitly // convertible to size_t. The const version can capture temporaries, with lifetime ending at end of statement. +# if VULKAN_HPP_CPP_VERSION < 20 template ().data() ), T *>::value && std::is_convertible().size() ), std::size_t>::value>::type * = nullptr> +# else + template + requires std::is_convertible().data() ), T *>::value && + std::is_convertible().size() ), std::size_t>::value +# endif ArrayProxy( V const & v ) VULKAN_HPP_NOEXCEPT : m_count( static_cast( v.size() ) ) , m_ptr( v.data() ) @@ -424,8 +458,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { } - template ::value && std::is_lvalue_reference::value, int>::type = 0> - ArrayProxyNoTemporaries( B && value ) VULKAN_HPP_NOEXCEPT +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value && std::is_lvalue_reference::value, int>::type = 0> +# else + template + requires std::is_convertible::value && std::is_lvalue_reference::value +# endif + ArrayProxyNoTemporaries( S && value ) VULKAN_HPP_NOEXCEPT : m_count( 1 ) , m_ptr( &value ) { @@ -448,11 +487,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ArrayProxyNoTemporaries( T ( &&ptr )[C] ) = delete; // Any l-value reference with a .data() return type implicitly convertible to T*, and a .size() return type implicitly convertible to size_t. +# if VULKAN_HPP_CPP_VERSION < 20 template ().begin() ), T *>::value && std::is_convertible().data() ), T *>::value && std::is_convertible().size() ), std::size_t>::value && std::is_lvalue_reference::value, int>::type = 0> +# else + template + requires( !std::is_convertible().begin() ), T *>::value && + std::is_convertible().data() ), T *>::value && + std::is_convertible().size() ), std::size_t>::value && std::is_lvalue_reference::value ) +# endif ArrayProxyNoTemporaries( V && v ) VULKAN_HPP_NOEXCEPT : m_count( static_cast( v.size() ) ) , m_ptr( v.data() ) @@ -460,10 +506,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // Any l-value reference with a .begin() return type implicitly convertible to T*, and a .size() return type implicitly convertible to size_t. +# if VULKAN_HPP_CPP_VERSION < 20 template ().begin() ), T *>::value && std::is_convertible().size() ), std::size_t>::value && std::is_lvalue_reference::value, int>::type = 0> +# else + template + requires std::is_convertible().begin() ), T *>::value && + std::is_convertible().size() ), std::size_t>::value && std::is_lvalue_reference::value +# endif ArrayProxyNoTemporaries( V && v ) VULKAN_HPP_NOEXCEPT : m_count( static_cast( v.size() ) ) , m_ptr( v.begin() ) @@ -605,16 +657,28 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; + template + struct IsFirstInStructureChain + { + static bool const value = false; + }; + + template + struct IsFirstInStructureChain + { + static bool const value = std::is_same::value; + }; + template struct IsPartOfStructureChain { - static bool const valid = false; + static bool const value = false; }; template struct IsPartOfStructureChain { - static bool const valid = std::is_same::value || IsPartOfStructureChain::valid; + static bool const value = std::is_same::value || IsPartOfStructureChain::value; }; template @@ -772,28 +836,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return *this; } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value && ( Which == 0 ), int>::type = 0> +# else template - VULKAN_HPP_NODISCARD - typename std::enable_if>::type>::value && ( Which == 0 ), bool>::type - isLinked() const VULKAN_HPP_NOEXCEPT + requires IsFirstInStructureChain::value && ( Which == 0 ) +# endif + VULKAN_HPP_NODISCARD bool isLinked() const VULKAN_HPP_NOEXCEPT { return true; } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value || ( Which != 0 ) ) && + IsPartOfStructureChain::value, + int>::type = 0> +# else template - VULKAN_HPP_NODISCARD - typename std::enable_if>::type>::value || ( Which != 0 ), bool>::type - isLinked() const VULKAN_HPP_NOEXCEPT + requires( !IsFirstInStructureChain::value || ( Which != 0 ) ) && IsPartOfStructureChain::value +# endif + VULKAN_HPP_NODISCARD bool isLinked() const VULKAN_HPP_NOEXCEPT { - VULKAN_HPP_STATIC_ASSERT( IsPartOfStructureChain::valid, "Can't unlink Structure that's not part of this StructureChain!" ); return isLinked( reinterpret_cast( &get() ) ); } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value || ( Which != 0 ) ) && + IsPartOfStructureChain::value, + int>::type = 0> +# else template - typename std::enable_if>::type>::value || ( Which != 0 ), void>::type - relink() VULKAN_HPP_NOEXCEPT + requires( !IsFirstInStructureChain::value || ( Which != 0 ) ) && IsPartOfStructureChain::value +# endif + void relink() VULKAN_HPP_NOEXCEPT { - VULKAN_HPP_STATIC_ASSERT( IsPartOfStructureChain::valid, "Can't relink Structure that's not part of this StructureChain!" ); auto pNext = reinterpret_cast( &get() ); VULKAN_HPP_ASSERT( !isLinked( pNext ) ); auto & headElement = std::get<0>( static_cast &>( *this ) ); @@ -801,11 +883,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE headElement.pNext = pNext; } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value || ( Which != 0 ) ) && + IsPartOfStructureChain::value, + int>::type = 0> +# else template - typename std::enable_if>::type>::value || ( Which != 0 ), void>::type - unlink() VULKAN_HPP_NOEXCEPT + requires( !IsFirstInStructureChain::value || ( Which != 0 ) ) && IsPartOfStructureChain::value +# endif + void unlink() VULKAN_HPP_NOEXCEPT { - VULKAN_HPP_STATIC_ASSERT( IsPartOfStructureChain::valid, "Can't unlink Structure that's not part of this StructureChain!" ); unlink( reinterpret_cast( &get() ) ); } @@ -848,16 +937,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return false; } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::type = 0> +# else template - typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT + requires( Index != 0 ) +# endif + void link() VULKAN_HPP_NOEXCEPT { auto & x = std::get( static_cast &>( *this ) ); x.pNext = &std::get( static_cast &>( *this ) ); link(); } +# if VULKAN_HPP_CPP_VERSION < 20 + template ::type = 0> +# else template - typename std::enable_if::type link() VULKAN_HPP_NOEXCEPT + requires( Index == 0 ) +# endif + void link() VULKAN_HPP_NOEXCEPT { } @@ -1719,6 +1818,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) + DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) DECLARE_IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) @@ -8206,6 +8306,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return ::vkCmdSetComputeOccupancyPriorityNV( commandBuffer, pParameters ); } + //=== VK_EXT_cooperative_matrix_maintenance1 === + + VULKAN_HPP_INLINE VkResult vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( VkPhysicalDevice physicalDevice, + VkPhysicalDeviceCooperativeMatrixInfo2EXT const * pCooperativeMatrixInfo, + uint32_t * pPropertyCount, + VkCooperativeMatrixProperties2EXT * pProperties ) const VULKAN_HPP_NOEXCEPT + { + return ::vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( physicalDevice, pCooperativeMatrixInfo, pPropertyCount, pProperties ); + } + # if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === @@ -8511,11 +8621,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== BASE TYPEs === //================== + using SampleMask = uint32_t; using Bool32 = uint32_t; - using DeviceAddress = uint64_t; using DeviceSize = uint64_t; + using DeviceAddress = uint64_t; using RemoteAddressNV = void *; - using SampleMask = uint32_t; template struct CppType @@ -9327,47 +9437,83 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //========================= //=== CONSTEXPR CALLEEs === //========================= +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t apiVersionMajor( T const version ) { return ( ( (uint32_t)( version ) >> 22U ) & 0x7FU ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t apiVersionMinor( T const version ) { return ( ( (uint32_t)( version ) >> 12U ) & 0x3FFU ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t apiVersionPatch( T const version ) { return ( (uint32_t)( version ) & 0xFFFU ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t apiVersionVariant( T const version ) { return ( (uint32_t)( version ) >> 29U ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t makeApiVersion( T const variant, T const major, T const minor, T const patch ) { return ( ( ( (uint32_t)( variant ) ) << 29U ) | ( ( (uint32_t)( major ) ) << 22U ) | ( ( (uint32_t)( minor ) ) << 12U ) | ( (uint32_t)( patch ) ) ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t makeVersion( T const major, T const minor, T const patch ) { return ( ( ( (uint32_t)( major ) ) << 22U ) | ( ( (uint32_t)( minor ) ) << 12U ) | ( (uint32_t)( patch ) ) ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t versionMajor( T const version ) { return ( (uint32_t)( version ) >> 22U ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t versionMinor( T const version ) { return ( ( (uint32_t)( version ) >> 12U ) & 0x3FFU ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value>::type> +#else + template +#endif VULKAN_HPP_CONSTEXPR uint32_t versionPatch( T const version ) { return ( (uint32_t)( version ) & 0xFFFU ); @@ -11352,10 +11498,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_CONSTEXPR_INLINE auto NVComputeOccupancyPrioritySpecVersion = VK_NV_COMPUTE_OCCUPANCY_PRIORITY_SPEC_VERSION; VULKAN_HPP_CONSTEXPR_INLINE auto NVComputeOccupancyPriorityExtensionName = VK_NV_COMPUTE_OCCUPANCY_PRIORITY_EXTENSION_NAME; + //=== VK_KHR_pipeline_library_group_handles === + VULKAN_HPP_CONSTEXPR_INLINE auto KHRPipelineLibraryGroupHandlesSpecVersion = VK_KHR_PIPELINE_LIBRARY_GROUP_HANDLES_SPEC_VERSION; + VULKAN_HPP_CONSTEXPR_INLINE auto KHRPipelineLibraryGroupHandlesExtensionName = VK_KHR_PIPELINE_LIBRARY_GROUP_HANDLES_EXTENSION_NAME; + //=== VK_KHR_maintenance11 === VULKAN_HPP_CONSTEXPR_INLINE auto KHRMaintenance11SpecVersion = VK_KHR_MAINTENANCE_11_SPEC_VERSION; VULKAN_HPP_CONSTEXPR_INLINE auto KHRMaintenance11ExtensionName = VK_KHR_MAINTENANCE_11_EXTENSION_NAME; + //=== VK_EXT_cooperative_matrix_maintenance1 === + VULKAN_HPP_CONSTEXPR_INLINE auto EXTCooperativeMatrixMaintenance1SpecVersion = VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_SPEC_VERSION; + VULKAN_HPP_CONSTEXPR_INLINE auto EXTCooperativeMatrixMaintenance1ExtensionName = VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_EXTENSION_NAME; + //=== VK_EXT_shader_subgroup_partitioned === VULKAN_HPP_CONSTEXPR_INLINE auto EXTShaderSubgroupPartitionedSpecVersion = VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION; VULKAN_HPP_CONSTEXPR_INLINE auto EXTShaderSubgroupPartitionedExtensionName = VK_EXT_SHADER_SUBGROUP_PARTITIONED_EXTENSION_NAME; @@ -11390,10 +11544,30 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_CONSTEXPR_INLINE auto EXTPrimitiveRestartIndexSpecVersion = VK_EXT_PRIMITIVE_RESTART_INDEX_SPEC_VERSION; VULKAN_HPP_CONSTEXPR_INLINE auto EXTPrimitiveRestartIndexExtensionName = VK_EXT_PRIMITIVE_RESTART_INDEX_EXTENSION_NAME; + //=== VK_EXT_image_tiling_control === + VULKAN_HPP_CONSTEXPR_INLINE auto EXTImageTilingControlSpecVersion = VK_EXT_IMAGE_TILING_CONTROL_SPEC_VERSION; + VULKAN_HPP_CONSTEXPR_INLINE auto EXTImageTilingControlExtensionName = VK_EXT_IMAGE_TILING_CONTROL_EXTENSION_NAME; + //=== VK_NV_cooperative_matrix_decode_vector === VULKAN_HPP_CONSTEXPR_INLINE auto NVCooperativeMatrixDecodeVectorSpecVersion = VK_NV_COOPERATIVE_MATRIX_DECODE_VECTOR_SPEC_VERSION; VULKAN_HPP_CONSTEXPR_INLINE auto NVCooperativeMatrixDecodeVectorExtensionName = VK_NV_COOPERATIVE_MATRIX_DECODE_VECTOR_EXTENSION_NAME; + //=== VK_NV_private_data_base_handle === + VULKAN_HPP_CONSTEXPR_INLINE auto NVPrivateDataBaseHandleSpecVersion = VK_NV_PRIVATE_DATA_BASE_HANDLE_SPEC_VERSION; + VULKAN_HPP_CONSTEXPR_INLINE auto NVPrivateDataBaseHandleExtensionName = VK_NV_PRIVATE_DATA_BASE_HANDLE_EXTENSION_NAME; + + //=== VK_VALVE_buffer_device_address_allocation_alignment === + VULKAN_HPP_CONSTEXPR_INLINE auto VALVEBufferDeviceAddressAllocationAlignmentSpecVersion = VK_VALVE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_SPEC_VERSION; + VULKAN_HPP_CONSTEXPR_INLINE auto VALVEBufferDeviceAddressAllocationAlignmentExtensionName = + VK_VALVE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_EXTENSION_NAME; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template + concept IsAllocator = requires( Allocator allocator, std::size_t n ) { + { *allocator.allocate( n ) } -> std::same_as; + { allocator.deallocate( allocator.allocate( n ), n ) }; + } && std::copy_constructible && std::equality_comparable && std::same_as; +#endif } // namespace VULKAN_HPP_NAMESPACE // clang-format off @@ -19986,25 +20160,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; - //=== VK_EXT_pipeline_library_group_handles === - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - - template <> - struct StructExtends - { - enum - { - value = true - }; - }; - //=== VK_EXT_dynamic_rendering_unused_attachments === template <> struct StructExtends @@ -22624,6 +22779,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; + //=== VK_KHR_pipeline_library_group_handles === + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + //=== VK_KHR_maintenance11 === template <> struct StructExtends @@ -22652,6 +22826,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; + //=== VK_EXT_cooperative_matrix_maintenance1 === + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + //=== VK_EXT_shader_subgroup_partitioned === template <> struct StructExtends @@ -22965,6 +23158,34 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; + //=== VK_EXT_image_tiling_control === + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + //=== VK_NV_cooperative_matrix_decode_vector === template <> struct StructExtends @@ -22984,6 +23205,71 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; }; + //=== VK_NV_private_data_base_handle === + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + //=== VK_VALVE_buffer_device_address_allocation_alignment === + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + + template <> + struct StructExtends + { + enum + { + value = true + }; + }; + #endif // VULKAN_HPP_DISABLE_ENHANCED_MODE namespace detail @@ -24495,6 +24781,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_compute_occupancy_priority === PFN_vkCmdSetComputeOccupancyPriorityNV vkCmdSetComputeOccupancyPriorityNV = 0; + //=== VK_EXT_cooperative_matrix_maintenance1 === + PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT vkGetPhysicalDeviceCooperativeMatrixProperties2EXT = 0; + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === PFN_vkCreateUbmSurfaceSEC vkCreateUbmSurfaceSEC = 0; @@ -26258,6 +26547,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_compute_occupancy_priority === vkCmdSetComputeOccupancyPriorityNV = PFN_vkCmdSetComputeOccupancyPriorityNV( vkGetInstanceProcAddr( instance, "vkCmdSetComputeOccupancyPriorityNV" ) ); + //=== VK_EXT_cooperative_matrix_maintenance1 === + vkGetPhysicalDeviceCooperativeMatrixProperties2EXT = + PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixProperties2EXT" ) ); + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === vkCreateUbmSurfaceSEC = PFN_vkCreateUbmSurfaceSEC( vkGetInstanceProcAddr( instance, "vkCreateUbmSurfaceSEC" ) ); diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_core.h b/Source/ThirdParty/Vulkan/vulkan/vulkan_core.h index 64b8803..b0b1163 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_core.h +++ b/Source/ThirdParty/Vulkan/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 357 +#define VK_HEADER_VERSION 362 // Complete version of this file #define VK_HEADER_VERSION_COMPLETE VK_MAKE_API_VERSION(0, 1, 4, VK_HEADER_VERSION) @@ -1215,7 +1215,6 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT = 1000496000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM = 1000497000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM = 1000497001, - VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT = 1000498000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT = 1000499000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INTERNALLY_SYNCHRONIZED_QUEUES_FEATURES_KHR = 1000504000, VK_STRUCTURE_TYPE_LATENCY_SLEEP_MODE_INFO_NV = 1000505000, @@ -1468,8 +1467,12 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT = 1000642000, VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV = 1000645000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV = 1000645001, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_KHR = 1000498000, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_11_FEATURES_KHR = 1000657000, VK_STRUCTURE_TYPE_QUEUE_FAMILY_OPTIMAL_IMAGE_TRANSFER_GRANULARITY_PROPERTIES_KHR = 1000657001, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_MAINTENANCE_1_FEATURES_EXT = 1000659000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_INFO_2_EXT = 1000659001, + VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_2_EXT = 1000659002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT = 1000662000, VK_STRUCTURE_TYPE_UBM_SURFACE_CREATE_INFO_SEC = 1000664000, VK_STRUCTURE_TYPE_FORMAT_PROPERTIES_4_KHR = 1000668000, @@ -1487,7 +1490,13 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_NEURAL_STATISTICS_CREATE_INFO_ARM = 1000676001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_FEATURES_ARM = 1000676002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_RESTART_INDEX_FEATURES_EXT = 1000678000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_TILING_CONTROL_FEATURES_EXT = 1000687000, + VK_STRUCTURE_TYPE_IMAGE_TILING_CONTROL_CREATE_INFO_EXT = 1000687001, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_DECODE_VECTOR_FEATURES_NV = 1000689000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_BASE_HANDLE_FEATURES_NV = 1000707000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_FEATURES_VALVE = 1000709000, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_PROPERTIES_VALVE = 1000709001, + VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_ALIGNMENT_ALLOCATE_INFO_VALVE = 1000709002, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VARIABLE_POINTERS_FEATURES, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETER_FEATURES = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_DRAW_PARAMETERS_FEATURES, // VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT is a legacy alias @@ -1726,6 +1735,7 @@ typedef enum VkStructureType { VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_PIPELINE_CREATE_FLAGS_2_CREATE_INFO, VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_BUFFER_USAGE_FLAGS_2_CREATE_INFO, VK_STRUCTURE_TYPE_SHADER_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO, + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_KHR, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_PROPERTIES, VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO_KHR = VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_DIVISOR_STATE_CREATE_INFO, VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES_KHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VERTEX_ATTRIBUTE_DIVISOR_FEATURES, @@ -6371,6 +6381,7 @@ typedef enum VkDriverId { VK_DRIVER_ID_MESA_KOSMICKRISP = 28, VK_DRIVER_ID_MESA_GFXSTREAM = 29, VK_DRIVER_ID_APE_SOFT = 30, + VK_DRIVER_ID_RESERVED_31 = 31, VK_DRIVER_ID_AMD_PROPRIETARY_KHR = VK_DRIVER_ID_AMD_PROPRIETARY, VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR = VK_DRIVER_ID_AMD_OPEN_SOURCE, VK_DRIVER_ID_MESA_RADV_KHR = VK_DRIVER_ID_MESA_RADV, @@ -7121,6 +7132,11 @@ typedef enum VkToolPurposeFlagBits { VK_TOOL_PURPOSE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF } VkToolPurposeFlagBits; typedef VkFlags VkToolPurposeFlags; + +typedef enum VkPrivateDataSlotCreateFlagBits { + VK_PRIVATE_DATA_SLOT_CREATE_BASE_OBJECT_HANDLE_BIT_NV = 0x00000001, + VK_PRIVATE_DATA_SLOT_CREATE_FLAG_BITS_MAX_ENUM = 0x7FFFFFFF +} VkPrivateDataSlotCreateFlagBits; typedef VkFlags VkPrivateDataSlotCreateFlags; typedef VkFlags64 VkPipelineStageFlags2; @@ -14822,6 +14838,18 @@ VKAPI_ATTR void VKAPI_CALL vkCmdEndRendering2KHR( #endif +// VK_KHR_pipeline_library_group_handles is a preprocessor guard. Do not pass it to API calls. +#define VK_KHR_pipeline_library_group_handles 1 +#define VK_KHR_PIPELINE_LIBRARY_GROUP_HANDLES_SPEC_VERSION 1 +#define VK_KHR_PIPELINE_LIBRARY_GROUP_HANDLES_EXTENSION_NAME "VK_KHR_pipeline_library_group_handles" +typedef struct VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR { + VkStructureType sType; + void* pNext; + VkBool32 pipelineLibraryGroupHandles; +} VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; + + + // VK_KHR_maintenance11 is a preprocessor guard. Do not pass it to API calls. #define VK_KHR_maintenance11 1 #define VK_KHR_MAINTENANCE_11_SPEC_VERSION 1 @@ -20064,6 +20092,8 @@ typedef VkPrivateDataSlot VkPrivateDataSlotEXT; #define VK_EXT_PRIVATE_DATA_EXTENSION_NAME "VK_EXT_private_data" typedef VkPrivateDataSlotCreateFlags VkPrivateDataSlotCreateFlagsEXT; +typedef VkPrivateDataSlotCreateFlagBits VkPrivateDataSlotCreateFlagBitsEXT; + typedef VkPhysicalDevicePrivateDataFeatures VkPhysicalDevicePrivateDataFeaturesEXT; typedef VkDevicePrivateDataCreateInfo VkDevicePrivateDataCreateInfoEXT; @@ -23979,11 +24009,7 @@ typedef struct VkPhysicalDeviceShaderCoreBuiltinsPropertiesARM { #define VK_EXT_pipeline_library_group_handles 1 #define VK_EXT_PIPELINE_LIBRARY_GROUP_HANDLES_SPEC_VERSION 1 #define VK_EXT_PIPELINE_LIBRARY_GROUP_HANDLES_EXTENSION_NAME "VK_EXT_pipeline_library_group_handles" -typedef struct VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT { - VkStructureType sType; - void* pNext; - VkBool32 pipelineLibraryGroupHandles; -} VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; +typedef VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; @@ -24001,7 +24027,7 @@ typedef struct VkPhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT { // VK_NV_low_latency2 is a preprocessor guard. Do not pass it to API calls. #define VK_NV_low_latency2 1 -#define VK_NV_LOW_LATENCY_2_SPEC_VERSION 2 +#define VK_NV_LOW_LATENCY_2_SPEC_VERSION 3 #define VK_NV_LOW_LATENCY_2_EXTENSION_NAME "VK_NV_low_latency2" typedef enum VkLatencyMarkerNV { @@ -26372,6 +26398,60 @@ VKAPI_ATTR void VKAPI_CALL vkCmdSetComputeOccupancyPriorityNV( #endif +// VK_EXT_cooperative_matrix_maintenance1 is a preprocessor guard. Do not pass it to API calls. +#define VK_EXT_cooperative_matrix_maintenance1 1 +#define VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_SPEC_VERSION 1 +#define VK_EXT_COOPERATIVE_MATRIX_MAINTENANCE_1_EXTENSION_NAME "VK_EXT_cooperative_matrix_maintenance1" + +typedef enum VkCooperativeMatrixFlagBitsEXT { + VK_COOPERATIVE_MATRIX_SATURATING_ACCUMULATION_BIT_EXT = 0x00000001, + VK_COOPERATIVE_MATRIX_FLAG_BITS_MAX_ENUM_EXT = 0x7FFFFFFF +} VkCooperativeMatrixFlagBitsEXT; +typedef VkFlags VkCooperativeMatrixFlagsEXT; +typedef struct VkCooperativeMatrixProperties2EXT { + VkStructureType sType; + void* pNext; + uint32_t MGranularity; + uint32_t NGranularity; + uint32_t KGranularity; + VkComponentTypeKHR AType; + VkComponentTypeKHR BType; + VkComponentTypeKHR CType; + VkComponentTypeKHR ResultType; +} VkCooperativeMatrixProperties2EXT; + +typedef struct VkPhysicalDeviceCooperativeMatrixInfo2EXT { + VkStructureType sType; + const void* pNext; + VkScopeKHR scope; + uint32_t invocations; + uint32_t subgroupSize; + VkCooperativeMatrixFlagsEXT flags; +} VkPhysicalDeviceCooperativeMatrixInfo2EXT; + +typedef struct VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT { + VkStructureType sType; + void* pNext; + VkBool32 cooperativeMatrixProperties2; + VkBool32 cooperativeMatrixReductions; + VkBool32 cooperativeMatrixConversions; + VkBool32 cooperativeMatrixPerElementOperations; + VkBool32 cooperativeMatrixGetCoordinate; +} VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + +typedef VkResult (VKAPI_PTR *PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT)(VkPhysicalDevice physicalDevice, const VkPhysicalDeviceCooperativeMatrixInfo2EXT* pCooperativeMatrixInfo, uint32_t* pPropertyCount, VkCooperativeMatrixProperties2EXT* pProperties); + +#ifndef VK_NO_PROTOTYPES +#ifndef VK_ONLY_EXPORTED_PROTOTYPES +VKAPI_ATTR VkResult VKAPI_CALL vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( + VkPhysicalDevice physicalDevice, + const VkPhysicalDeviceCooperativeMatrixInfo2EXT* pCooperativeMatrixInfo, + uint32_t* pPropertyCount, + VkCooperativeMatrixProperties2EXT* pProperties); +#endif +#endif + + // VK_EXT_shader_subgroup_partitioned is a preprocessor guard. Do not pass it to API calls. #define VK_EXT_shader_subgroup_partitioned 1 #define VK_EXT_SHADER_SUBGROUP_PARTITIONED_SPEC_VERSION 1 @@ -26491,6 +26571,31 @@ VKAPI_ATTR void VKAPI_CALL vkCmdSetPrimitiveRestartIndexEXT( #endif +// VK_EXT_image_tiling_control is a preprocessor guard. Do not pass it to API calls. +#define VK_EXT_image_tiling_control 1 +#define VK_EXT_IMAGE_TILING_CONTROL_SPEC_VERSION 1 +#define VK_EXT_IMAGE_TILING_CONTROL_EXTENSION_NAME "VK_EXT_image_tiling_control" + +typedef enum VkImageTilingControlEXT { + VK_IMAGE_TILING_CONTROL_DEFAULT_EXT = 0, + VK_IMAGE_TILING_CONTROL_MIN_SIZE_EXT = 1, + VK_IMAGE_TILING_CONTROL_MAX_PERFORMANCE_EXT = 2, + VK_IMAGE_TILING_CONTROL_MAX_ENUM_EXT = 0x7FFFFFFF +} VkImageTilingControlEXT; +typedef struct VkPhysicalDeviceImageTilingControlFeaturesEXT { + VkStructureType sType; + void* pNext; + VkBool32 imageTilingControl; +} VkPhysicalDeviceImageTilingControlFeaturesEXT; + +typedef struct VkImageTilingControlCreateInfoEXT { + VkStructureType sType; + const void* pNext; + VkImageTilingControlEXT tilingControl; +} VkImageTilingControlCreateInfoEXT; + + + // VK_NV_cooperative_matrix_decode_vector is a preprocessor guard. Do not pass it to API calls. #define VK_NV_cooperative_matrix_decode_vector 1 #define VK_NV_COOPERATIVE_MATRIX_DECODE_VECTOR_SPEC_VERSION 1 @@ -26503,6 +26608,42 @@ typedef struct VkPhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV { +// VK_NV_private_data_base_handle is a preprocessor guard. Do not pass it to API calls. +#define VK_NV_private_data_base_handle 1 +#define VK_NV_PRIVATE_DATA_BASE_HANDLE_SPEC_VERSION 1 +#define VK_NV_PRIVATE_DATA_BASE_HANDLE_EXTENSION_NAME "VK_NV_private_data_base_handle" +typedef struct VkPhysicalDevicePrivateDataBaseHandleFeaturesNV { + VkStructureType sType; + void* pNext; + VkBool32 privateDataBaseHandle; +} VkPhysicalDevicePrivateDataBaseHandleFeaturesNV; + + + +// VK_VALVE_buffer_device_address_allocation_alignment is a preprocessor guard. Do not pass it to API calls. +#define VK_VALVE_buffer_device_address_allocation_alignment 1 +#define VK_VALVE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_SPEC_VERSION 1 +#define VK_VALVE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_EXTENSION_NAME "VK_VALVE_buffer_device_address_allocation_alignment" +typedef struct VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE { + VkStructureType sType; + void* pNext; + VkBool32 bufferDeviceAddressAllocationAlignment; +} VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + +typedef struct VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE { + VkStructureType sType; + void* pNext; + uint32_t maxBufferDeviceAddressAllocationAlignment; +} VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + +typedef struct VkBufferDeviceAddressAlignmentAllocateInfoVALVE { + VkStructureType sType; + void* pNext; + uint32_t alignment; +} VkBufferDeviceAddressAlignmentAllocateInfoVALVE; + + + // VK_KHR_acceleration_structure is a preprocessor guard. Do not pass it to API calls. #define VK_KHR_acceleration_structure 1 #define VK_KHR_ACCELERATION_STRUCTURE_SPEC_VERSION 13 diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_enums.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_enums.hpp index 4eb23ff..49508f0 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_enums.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_enums.hpp @@ -22,6 +22,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE static VULKAN_HPP_CONST_OR_CONSTEXPR bool isBitmask = false; }; +#if 20 <= VULKAN_HPP_CPP_VERSION + template + concept Bitmask = FlagTraits::isBitmask; +#endif + template class Flags { @@ -142,85 +147,101 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #if !defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) // relational operators only needed for pre C++20 - template - VULKAN_HPP_CONSTEXPR bool operator<( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator<( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator>( bit ); } - template - VULKAN_HPP_CONSTEXPR bool operator<=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator<=( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator>=( bit ); } - template - VULKAN_HPP_CONSTEXPR bool operator>( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator>( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator<( bit ); } - template - VULKAN_HPP_CONSTEXPR bool operator>=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator>=( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator<=( bit ); } - template - VULKAN_HPP_CONSTEXPR bool operator==( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator==( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator==( bit ); } - template - VULKAN_HPP_CONSTEXPR bool operator!=( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR bool operator!=( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator!=( bit ); } #endif // bitwise operators - template - VULKAN_HPP_CONSTEXPR Flags operator&( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR Flags operator&( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator&( bit ); } - template - VULKAN_HPP_CONSTEXPR Flags operator|( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR Flags operator|( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator|( bit ); } - template - VULKAN_HPP_CONSTEXPR Flags operator^( BitType bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT + template + VULKAN_HPP_CONSTEXPR Flags operator^( T bit, Flags const & flags ) VULKAN_HPP_NOEXCEPT { return flags.operator^( bit ); } - // bitwise operators on BitType - template ::isBitmask, bool>::type = true> - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator&( BitType lhs, BitType rhs ) VULKAN_HPP_NOEXCEPT +// bitwise operators on BitType T +#if VULKAN_HPP_CPP_VERSION < 20 + template ::isBitmask, bool>::type = true> +#else + template +#endif + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator&( T lhs, T rhs ) VULKAN_HPP_NOEXCEPT { - return Flags( lhs ) & rhs; + return Flags( lhs ) & rhs; } - template ::isBitmask, bool>::type = true> - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator|( BitType lhs, BitType rhs ) VULKAN_HPP_NOEXCEPT +#if VULKAN_HPP_CPP_VERSION < 20 + template ::isBitmask, bool>::type = true> +#else + template +#endif + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator|( T lhs, T rhs ) VULKAN_HPP_NOEXCEPT { - return Flags( lhs ) | rhs; + return Flags( lhs ) | rhs; } - template ::isBitmask, bool>::type = true> - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator^( BitType lhs, BitType rhs ) VULKAN_HPP_NOEXCEPT +#if VULKAN_HPP_CPP_VERSION < 20 + template ::isBitmask, bool>::type = true> +#else + template +#endif + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator^( T lhs, T rhs ) VULKAN_HPP_NOEXCEPT { - return Flags( lhs ) ^ rhs; + return Flags( lhs ) ^ rhs; } - template ::isBitmask, bool>::type = true> - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator~( BitType bit ) VULKAN_HPP_NOEXCEPT +#if VULKAN_HPP_CPP_VERSION < 20 + template ::isBitmask, bool>::type = true> +#else + template +#endif + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR Flags operator~( T bit ) VULKAN_HPP_NOEXCEPT { - return ~( Flags( bit ) ); + return ~( Flags( bit ) ); } //============= @@ -1573,7 +1594,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eLayerSettingsCreateInfoEXT = VK_STRUCTURE_TYPE_LAYER_SETTINGS_CREATE_INFO_EXT, ePhysicalDeviceShaderCoreBuiltinsFeaturesARM = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_FEATURES_ARM, ePhysicalDeviceShaderCoreBuiltinsPropertiesARM = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_BUILTINS_PROPERTIES_ARM, - ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT, ePhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DYNAMIC_RENDERING_UNUSED_ATTACHMENTS_FEATURES_EXT, ePhysicalDeviceInternallySynchronizedQueuesFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_INTERNALLY_SYNCHRONIZED_QUEUES_FEATURES_KHR, eLatencySleepModeInfoNV = VK_STRUCTURE_TYPE_LATENCY_SLEEP_MODE_INFO_NV, @@ -1845,8 +1865,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ePhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_UNIFORM_BUFFER_UNSIZED_ARRAY_FEATURES_EXT, eComputeOccupancyPriorityParametersNV = VK_STRUCTURE_TYPE_COMPUTE_OCCUPANCY_PRIORITY_PARAMETERS_NV, ePhysicalDeviceComputeOccupancyPriorityFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COMPUTE_OCCUPANCY_PRIORITY_FEATURES_NV, + ePhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_KHR, + ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_LIBRARY_GROUP_HANDLES_FEATURES_EXT, ePhysicalDeviceMaintenance11FeaturesKHR = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MAINTENANCE_11_FEATURES_KHR, eQueueFamilyOptimalImageTransferGranularityPropertiesKHR = VK_STRUCTURE_TYPE_QUEUE_FAMILY_OPTIMAL_IMAGE_TRANSFER_GRANULARITY_PROPERTIES_KHR, + ePhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_MAINTENANCE_1_FEATURES_EXT, + ePhysicalDeviceCooperativeMatrixInfo2EXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_INFO_2_EXT, + eCooperativeMatrixProperties2EXT = VK_STRUCTURE_TYPE_COOPERATIVE_MATRIX_PROPERTIES_2_EXT, ePhysicalDeviceShaderSubgroupPartitionedFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_SUBGROUP_PARTITIONED_FEATURES_EXT, #if defined( VK_USE_PLATFORM_UBM_SEC ) eUbmSurfaceCreateInfoSEC = VK_STRUCTURE_TYPE_UBM_SURFACE_CREATE_INFO_SEC, @@ -1866,7 +1891,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eDataGraphPipelineSessionNeuralStatisticsCreateInfoARM = VK_STRUCTURE_TYPE_DATA_GRAPH_PIPELINE_SESSION_NEURAL_STATISTICS_CREATE_INFO_ARM, ePhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DATA_GRAPH_NEURAL_ACCELERATOR_STATISTICS_FEATURES_ARM, ePhysicalDevicePrimitiveRestartIndexFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIMITIVE_RESTART_INDEX_FEATURES_EXT, - ePhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_DECODE_VECTOR_FEATURES_NV + ePhysicalDeviceImageTilingControlFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_TILING_CONTROL_FEATURES_EXT, + eImageTilingControlCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_TILING_CONTROL_CREATE_INFO_EXT, + ePhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COOPERATIVE_MATRIX_DECODE_VECTOR_FEATURES_NV, + ePhysicalDevicePrivateDataBaseHandleFeaturesNV = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PRIVATE_DATA_BASE_HANDLE_FEATURES_NV, + ePhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE = + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_FEATURES_VALVE, + ePhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE = + VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BUFFER_DEVICE_ADDRESS_ALLOCATION_ALIGNMENT_PROPERTIES_VALVE, + eBufferDeviceAddressAlignmentAllocateInfoVALVE = VK_STRUCTURE_TYPE_BUFFER_DEVICE_ADDRESS_ALIGNMENT_ALLOCATE_INFO_VALVE }; // wrapper class for enum VkObjectType, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkObjectType.html @@ -4905,7 +4938,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eVulkanScEmulationOnVulkan = VK_DRIVER_ID_VULKAN_SC_EMULATION_ON_VULKAN, eMesaKosmickrisp = VK_DRIVER_ID_MESA_KOSMICKRISP, eMesaGfxstream = VK_DRIVER_ID_MESA_GFXSTREAM, - eApeSoft = VK_DRIVER_ID_APE_SOFT + eApeSoft = VK_DRIVER_ID_APE_SOFT, + eReserved31 = VK_DRIVER_ID_RESERVED_31 }; using DriverIdKHR = DriverId; @@ -5072,8 +5106,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ToolPurposeFlagBits::eModifyingFeatures | ToolPurposeFlagBits::eDebugReportingEXT | ToolPurposeFlagBits::eDebugMarkersEXT; }; + // wrapper class for enum VkPrivateDataSlotCreateFlagBits, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPrivateDataSlotCreateFlagBits.html enum class PrivateDataSlotCreateFlagBits : VkPrivateDataSlotCreateFlags { + eBaseObjectHandleNV = VK_PRIVATE_DATA_SLOT_CREATE_BASE_OBJECT_HANDLE_BIT_NV }; using PrivateDataSlotCreateFlagBitsEXT = PrivateDataSlotCreateFlagBits; @@ -5085,8 +5121,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE template <> struct FlagTraits { + using WrappedType = VkPrivateDataSlotCreateFlagBits; static VULKAN_HPP_CONST_OR_CONSTEXPR bool isBitmask = true; - static VULKAN_HPP_CONST_OR_CONSTEXPR PrivateDataSlotCreateFlags allFlags = {}; + static VULKAN_HPP_CONST_OR_CONSTEXPR PrivateDataSlotCreateFlags allFlags = PrivateDataSlotCreateFlagBits::eBaseObjectHandleNV; }; // wrapper class for enum VkPipelineStageFlagBits2, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPipelineStageFlagBits2.html @@ -10484,6 +10521,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eOpticalFlowCost = VK_DATA_GRAPH_PIPELINE_NODE_CONNECTION_TYPE_OPTICAL_FLOW_COST_ARM }; + //=== VK_EXT_cooperative_matrix_maintenance1 === + + // wrapper class for enum VkCooperativeMatrixFlagBitsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeMatrixFlagBitsEXT.html + enum class CooperativeMatrixFlagBitsEXT : VkCooperativeMatrixFlagsEXT + { + eSaturatingAccumulation = VK_COOPERATIVE_MATRIX_SATURATING_ACCUMULATION_BIT_EXT + }; + + // wrapper using for bitmask VkCooperativeMatrixFlagsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeMatrixFlagsEXT.html + using CooperativeMatrixFlagsEXT = Flags; + + template <> + struct FlagTraits + { + using WrappedType = VkCooperativeMatrixFlagBitsEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR bool isBitmask = true; + static VULKAN_HPP_CONST_OR_CONSTEXPR CooperativeMatrixFlagsEXT allFlags = CooperativeMatrixFlagBitsEXT::eSaturatingAccumulation; + }; + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === @@ -10633,6 +10689,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eStatistics1 = VK_NEURAL_ACCELERATOR_STATISTICS_MODE_STATISTICS1_ARM }; + //=== VK_EXT_image_tiling_control === + + // wrapper class for enum VkImageTilingControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkImageTilingControlEXT.html + enum class ImageTilingControlEXT + { + eDefault = VK_IMAGE_TILING_CONTROL_DEFAULT_EXT, + eMinSize = VK_IMAGE_TILING_CONTROL_MIN_SIZE_EXT, + eMaxPerformance = VK_IMAGE_TILING_CONTROL_MAX_PERFORMANCE_EXT + }; + //=========================================================== //=== Mapping from ObjectType to DebugReportObjectTypeEXT === //=========================================================== diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_extension_inspection.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_extension_inspection.hpp index 8322188..04d6fc3 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_extension_inspection.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_extension_inspection.hpp @@ -542,7 +542,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "VK_SEC_pipeline_cache_incremental_mode", "VK_EXT_shader_uniform_buffer_unsized_array", "VK_NV_compute_occupancy_priority", + "VK_KHR_pipeline_library_group_handles", "VK_KHR_maintenance11", + "VK_EXT_cooperative_matrix_maintenance1", "VK_EXT_shader_subgroup_partitioned", "VK_KHR_extended_flags", "VK_EXT_shader_ocp_microscaling_types", @@ -550,7 +552,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "VK_SEC_throttle_hint", "VK_ARM_data_graph_neural_accelerator_statistics", "VK_EXT_primitive_restart_index", - "VK_NV_cooperative_matrix_decode_vector" }; + "VK_EXT_image_tiling_control", + "VK_NV_cooperative_matrix_decode_vector", + "VK_NV_private_data_base_handle", + "VK_VALVE_buffer_device_address_allocation_alignment" }; return deviceExtensions; } @@ -2448,6 +2453,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { { "VK_VERSION_1_0", { { "VK_EXT_image_compression_control", + "VK_KHR_swapchain", } } } } }, { "VK_QCOM_image_processing", { { "VK_VERSION_1_0", @@ -3241,12 +3247,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "VK_KHR_get_physical_device_properties2", } } }, { "VK_VERSION_1_1", { {} } } } }, + { "VK_KHR_pipeline_library_group_handles", + { { "VK_VERSION_1_0", + { { + "VK_KHR_pipeline_library", + "VK_KHR_ray_tracing_pipeline", + } } } } }, { "VK_KHR_maintenance11", { { "VK_VERSION_1_0", { { "VK_KHR_get_physical_device_properties2", } } }, { "VK_VERSION_1_1", { {} } } } }, + { "VK_EXT_cooperative_matrix_maintenance1", + { { "VK_VERSION_1_0", + { { + "VK_KHR_cooperative_matrix", + } } } } }, { "VK_EXT_shader_subgroup_partitioned", { { "VK_VERSION_1_0", { { @@ -3285,17 +3302,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "VK_KHR_shader_float16_int8", } } }, { "VK_VERSION_1_2", { {} } } } }, + { "VK_ARM_data_graph_neural_accelerator_statistics", + { { "VK_VERSION_1_0", + { { + "VK_KHR_get_physical_device_properties2", + } } }, + { "VK_VERSION_1_1", { {} } } } }, { "VK_EXT_primitive_restart_index", { { "VK_VERSION_1_0", { { "VK_KHR_get_physical_device_properties2", } } }, { "VK_VERSION_1_1", { {} } } } }, + { "VK_EXT_image_tiling_control", + { { "VK_VERSION_1_0", + { { + "VK_KHR_get_physical_device_properties2", + } } }, + { "VK_VERSION_1_1", { {} } } } }, { "VK_NV_cooperative_matrix_decode_vector", { { "VK_VERSION_1_0", { { "VK_NV_cooperative_matrix2", - } } } } } + } } } } }, + { "VK_NV_private_data_base_handle", + { { "VK_VERSION_1_0", + { { + "VK_EXT_private_data", + } } }, + { "VK_VERSION_1_3", { {} } } } }, + { "VK_VALVE_buffer_device_address_allocation_alignment", + { { "VK_VERSION_1_0", + { { + "VK_KHR_buffer_device_address", + } } }, + { "VK_VERSION_1_2", { {} } } } } }; auto depIt = dependencies.find( extension ); return ( depIt != dependencies.end() ) ? depIt->second : noDependencies; @@ -3447,6 +3488,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { "VK_EXT_pipeline_protected_access", "VK_VERSION_1_4" }, { "VK_KHR_maintenance5", "VK_VERSION_1_4" }, { "VK_NV_ray_tracing_invocation_reorder", "VK_EXT_ray_tracing_invocation_reorder" }, + { "VK_EXT_pipeline_library_group_handles", "VK_KHR_pipeline_library_group_handles" }, { "VK_KHR_vertex_attribute_divisor", "VK_VERSION_1_4" }, { "VK_KHR_load_store_op_none", "VK_VERSION_1_4" }, { "VK_KHR_shader_float_controls2", "VK_VERSION_1_4" }, @@ -3992,6 +4034,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { return "VK_EXT_ray_tracing_invocation_reorder"; } + if ( extension == "VK_EXT_pipeline_library_group_handles" ) + { + return "VK_KHR_pipeline_library_group_handles"; + } if ( extension == "VK_KHR_vertex_attribute_divisor" ) { return "VK_VERSION_1_4"; @@ -4280,10 +4326,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ( extension == "VK_QCOM_data_graph_model" ) || ( extension == "VK_KHR_maintenance10" ) || ( extension == "VK_ARM_data_graph_optical_flow" ) || ( extension == "VK_EXT_shader_long_vector" ) || ( extension == "VK_SEC_pipeline_cache_incremental_mode" ) || ( extension == "VK_EXT_shader_uniform_buffer_unsized_array" ) || ( extension == "VK_NV_compute_occupancy_priority" ) || - ( extension == "VK_KHR_maintenance11" ) || ( extension == "VK_EXT_shader_subgroup_partitioned" ) || ( extension == "VK_KHR_extended_flags" ) || - ( extension == "VK_EXT_shader_ocp_microscaling_types" ) || ( extension == "VK_VALVE_shader_mixed_float_dot_product" ) || - ( extension == "VK_SEC_throttle_hint" ) || ( extension == "VK_ARM_data_graph_neural_accelerator_statistics" ) || - ( extension == "VK_EXT_primitive_restart_index" ) || ( extension == "VK_NV_cooperative_matrix_decode_vector" ); + ( extension == "VK_KHR_pipeline_library_group_handles" ) || ( extension == "VK_KHR_maintenance11" ) || + ( extension == "VK_EXT_cooperative_matrix_maintenance1" ) || ( extension == "VK_EXT_shader_subgroup_partitioned" ) || + ( extension == "VK_KHR_extended_flags" ) || ( extension == "VK_EXT_shader_ocp_microscaling_types" ) || + ( extension == "VK_VALVE_shader_mixed_float_dot_product" ) || ( extension == "VK_SEC_throttle_hint" ) || + ( extension == "VK_ARM_data_graph_neural_accelerator_statistics" ) || ( extension == "VK_EXT_primitive_restart_index" ) || + ( extension == "VK_EXT_image_tiling_control" ) || ( extension == "VK_NV_cooperative_matrix_decode_vector" ) || + ( extension == "VK_NV_private_data_base_handle" ) || ( extension == "VK_VALVE_buffer_device_address_allocation_alignment" ); } VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 bool isInstanceExtension( std::string const & extension ) @@ -4407,10 +4456,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ( extension == "VK_KHR_maintenance4" ) || ( extension == "VK_KHR_shader_subgroup_rotate" ) || ( extension == "VK_EXT_depth_clamp_zero_one" ) || ( extension == "VK_QCOM_fragment_density_map_offset" ) || ( extension == "VK_NV_copy_memory_indirect" ) || ( extension == "VK_NV_memory_decompression" ) || ( extension == "VK_EXT_pipeline_protected_access" ) || ( extension == "VK_KHR_maintenance5" ) || - ( extension == "VK_NV_ray_tracing_invocation_reorder" ) || ( extension == "VK_KHR_vertex_attribute_divisor" ) || - ( extension == "VK_KHR_load_store_op_none" ) || ( extension == "VK_KHR_shader_float_controls2" ) || ( extension == "VK_KHR_index_type_uint8" ) || - ( extension == "VK_KHR_line_rasterization" ) || ( extension == "VK_KHR_shader_expect_assume" ) || ( extension == "VK_KHR_maintenance6" ) || - ( extension == "VK_EXT_vertex_attribute_robustness" ); + ( extension == "VK_NV_ray_tracing_invocation_reorder" ) || ( extension == "VK_EXT_pipeline_library_group_handles" ) || + ( extension == "VK_KHR_vertex_attribute_divisor" ) || ( extension == "VK_KHR_load_store_op_none" ) || + ( extension == "VK_KHR_shader_float_controls2" ) || ( extension == "VK_KHR_index_type_uint8" ) || ( extension == "VK_KHR_line_rasterization" ) || + ( extension == "VK_KHR_shader_expect_assume" ) || ( extension == "VK_KHR_maintenance6" ) || ( extension == "VK_EXT_vertex_attribute_robustness" ); } } // namespace VULKAN_HPP_NAMESPACE diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_funcs.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_funcs.hpp index 5f7c8d1..cd09420 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_funcs.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_funcs.hpp @@ -19,7 +19,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result createInstance( InstanceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Instance * pInstance, Dispatch const & d ) VULKAN_HPP_NOEXCEPT { @@ -31,7 +36,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type createInstance( InstanceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) { @@ -51,7 +61,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type createInstanceUnique( InstanceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) { @@ -73,7 +88,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyInstance.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyInstance ) ) +#endif VULKAN_HPP_INLINE void Instance::destroy( AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -82,7 +102,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyInstance ) ) +# endif VULKAN_HPP_INLINE void Instance::destroy( Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -90,12 +115,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyInstance && "Function requires " ); # endif - d.vkDestroyInstance( m_instance, reinterpret_cast( allocator.get() ) ); + d.vkDestroyInstance( static_cast( m_instance ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDevices( uint32_t * pPhysicalDeviceCount, PhysicalDevice * pPhysicalDevices, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -106,10 +136,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDevices( Dispatch const & d ) const { @@ -123,12 +158,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDevices( static_cast( m_instance ), &physicalDeviceCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceCount ) { physicalDevices.resize( physicalDeviceCount ); - result = static_cast( - d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); + result = static_cast( d.vkEnumeratePhysicalDevices( + static_cast( m_instance ), &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDevices" ); @@ -141,10 +176,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDevices( PhysicalDeviceAllocator const & physicalDeviceAllocator, Dispatch const & d ) const { @@ -158,12 +198,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDevices( static_cast( m_instance ), &physicalDeviceCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceCount ) { physicalDevices.resize( physicalDeviceCount ); - result = static_cast( - d.vkEnumeratePhysicalDevices( m_instance, &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); + result = static_cast( d.vkEnumeratePhysicalDevices( + static_cast( m_instance ), &physicalDeviceCount, reinterpret_cast( physicalDevices.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDevices" ); @@ -177,7 +217,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceFeatures, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFeatures( PhysicalDeviceFeatures * pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -186,7 +231,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures PhysicalDevice::getFeatures( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -195,7 +245,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceFeatures features; - d.vkGetPhysicalDeviceFeatures( m_physicalDevice, reinterpret_cast( &features ) ); + d.vkGetPhysicalDeviceFeatures( static_cast( m_physicalDevice ), reinterpret_cast( &features ) ); return features; } @@ -203,7 +253,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties( Format format, FormatProperties * pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -215,7 +270,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties PhysicalDevice::getFormatProperties( Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -224,7 +284,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif FormatProperties formatProperties; - d.vkGetPhysicalDeviceFormatProperties( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + d.vkGetPhysicalDeviceFormatProperties( + static_cast( m_physicalDevice ), static_cast( format ), reinterpret_cast( &formatProperties ) ); return formatProperties; } @@ -232,7 +293,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, @@ -254,7 +320,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, Dispatch const & d ) const { @@ -264,7 +335,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ImageFormatProperties imageFormatProperties; - Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties( m_physicalDevice, + Result result = static_cast( d.vkGetPhysicalDeviceImageFormatProperties( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( tiling ), @@ -279,7 +350,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getProperties( PhysicalDeviceProperties * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -289,7 +365,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties PhysicalDevice::getProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -298,7 +379,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceProperties properties; - d.vkGetPhysicalDeviceProperties( m_physicalDevice, reinterpret_cast( &properties ) ); + d.vkGetPhysicalDeviceProperties( static_cast( m_physicalDevice ), reinterpret_cast( &properties ) ); return properties; } @@ -306,7 +387,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties * pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -318,10 +404,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties( Dispatch const & d ) const { @@ -332,10 +423,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -347,10 +439,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties( QueueFamilyPropertiesAllocator const & queueFamilyPropertiesAllocator, Dispatch const & d ) const { @@ -361,10 +458,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties( queueFamilyPropertiesAllocator ); uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -377,7 +475,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceMemoryProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties( PhysicalDeviceMemoryProperties * pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -388,7 +491,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties PhysicalDevice::getMemoryProperties( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -397,14 +505,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceMemoryProperties memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + d.vkGetPhysicalDeviceMemoryProperties( static_cast( m_physicalDevice ), + reinterpret_cast( &memoryProperties ) ); return memoryProperties; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetInstanceProcAddr ) ) +#endif VULKAN_HPP_INLINE PFN_vkVoidFunction Instance::getProcAddr( char const * pName, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -413,7 +527,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetInstanceProcAddr ) ) +# endif VULKAN_HPP_INLINE PFN_VoidFunction Instance::getProcAddr( std::string const & name, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -421,14 +540,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetInstanceProcAddr && "Function requires " ); # endif - PFN_vkVoidFunction result = d.vkGetInstanceProcAddr( m_instance, name.c_str() ); + PFN_vkVoidFunction result = d.vkGetInstanceProcAddr( static_cast( m_instance ), name.c_str() ); return result; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceProcAddr ) ) +#endif VULKAN_HPP_INLINE PFN_vkVoidFunction Device::getProcAddr( char const * pName, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -437,7 +561,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceProcAddr ) ) +# endif VULKAN_HPP_INLINE PFN_VoidFunction Device::getProcAddr( std::string const & name, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -445,14 +574,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetDeviceProcAddr && "Function requires " ); # endif - PFN_vkVoidFunction result = d.vkGetDeviceProcAddr( m_device, name.c_str() ); + PFN_vkVoidFunction result = d.vkGetDeviceProcAddr( static_cast( m_device ), name.c_str() ); return result; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::createDevice( DeviceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Device * pDevice, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -465,7 +599,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::createDevice( DeviceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -475,7 +614,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Device device; - Result result = static_cast( d.vkCreateDevice( m_physicalDevice, + Result result = static_cast( d.vkCreateDevice( static_cast( m_physicalDevice ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &device ) ) ); @@ -486,7 +625,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::createDeviceUnique( DeviceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -496,7 +640,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Device device; - Result result = static_cast( d.vkCreateDevice( m_physicalDevice, + Result result = static_cast( d.vkCreateDevice( static_cast( m_physicalDevice ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &device ) ) ); @@ -508,7 +652,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDevice.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDevice ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -517,7 +666,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDevice ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -525,13 +679,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDevice && "Function requires " ); # endif - d.vkDestroyDevice( m_device, reinterpret_cast( allocator.get() ) ); + d.vkDestroyDevice( static_cast( m_device ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceExtensionProperties( char const * pLayerName, uint32_t * pPropertyCount, ExtensionProperties * pProperties, Dispatch const & d ) VULKAN_HPP_NOEXCEPT { @@ -543,10 +702,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ExtensionPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, Dispatch const & d ) { @@ -579,10 +743,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ExtensionPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator const & extensionPropertiesAllocator, Dispatch const & d ) @@ -617,7 +786,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceExtensionProperties( char const * pLayerName, uint32_t * pPropertyCount, ExtensionProperties * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -629,10 +803,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ExtensionPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, Dispatch const & d ) const { @@ -646,13 +825,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( + static_cast( m_physicalDevice ), layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateDeviceExtensionProperties( - m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( static_cast( m_physicalDevice ), + layerName ? layerName->c_str() : nullptr, + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceExtensionProperties" ); @@ -666,10 +847,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ExtensionPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator const & extensionPropertiesAllocator, Dispatch const & d ) const @@ -684,13 +870,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkEnumerateDeviceExtensionProperties( m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( + static_cast( m_physicalDevice ), layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkEnumerateDeviceExtensionProperties( - m_physicalDevice, layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkEnumerateDeviceExtensionProperties( static_cast( m_physicalDevice ), + layerName ? layerName->c_str() : nullptr, + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceExtensionProperties" ); @@ -705,7 +893,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceLayerProperties( uint32_t * pPropertyCount, LayerProperties * pProperties, Dispatch const & d ) VULKAN_HPP_NOEXCEPT { @@ -716,10 +909,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template LayerPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceLayerProperties( Dispatch const & d ) { @@ -751,10 +949,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template LayerPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type enumerateInstanceLayerProperties( LayerPropertiesAllocator const & layerPropertiesAllocator, Dispatch const & d ) { @@ -787,7 +990,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateDeviceLayerProperties( uint32_t * pPropertyCount, LayerProperties * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -799,10 +1007,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template LayerPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceLayerProperties( Dispatch const & d ) const { @@ -816,12 +1029,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceLayerProperties" ); @@ -835,10 +1048,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template LayerPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateDeviceLayerProperties( LayerPropertiesAllocator const & layerPropertiesAllocator, Dispatch const & d ) const { @@ -852,12 +1070,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkEnumerateDeviceLayerProperties( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkEnumerateDeviceLayerProperties( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceLayerProperties" ); @@ -871,7 +1089,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceQueue ) ) +#endif VULKAN_HPP_INLINE void Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue * pQueue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -880,7 +1103,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceQueue ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Queue Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -889,14 +1117,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Queue queue; - d.vkGetDeviceQueue( m_device, queueFamilyIndex, queueIndex, reinterpret_cast( &queue ) ); + d.vkGetDeviceQueue( static_cast( m_device ), queueFamilyIndex, queueIndex, reinterpret_cast( &queue ) ); return queue; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::submit( uint32_t submitCount, SubmitInfo const * pSubmits, Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -907,7 +1140,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::submit( ArrayProxy const & submits, Fence fence, Dispatch const & d ) const { @@ -916,8 +1154,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueSubmit && "Function requires " ); # endif - Result result = static_cast( - d.vkQueueSubmit( m_queue, submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); + Result result = static_cast( d.vkQueueSubmit( + static_cast( m_queue ), submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit" ); return detail::createResultValueType( result ); @@ -926,7 +1164,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -934,7 +1177,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::waitIdle( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -942,7 +1190,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueWaitIdle && "Function requires " ); # endif - Result result = static_cast( d.vkQueueWaitIdle( m_queue ) ); + Result result = static_cast( d.vkQueueWaitIdle( static_cast( m_queue ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::waitIdle" ); return detail::createResultValueType( result ); @@ -951,7 +1199,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDeviceWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitIdle( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -959,7 +1212,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDeviceWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::waitIdle( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -967,7 +1225,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDeviceWaitIdle && "Function requires " ); # endif - Result result = static_cast( d.vkDeviceWaitIdle( m_device ) ); + Result result = static_cast( d.vkDeviceWaitIdle( static_cast( m_device ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitIdle" ); return detail::createResultValueType( result ); @@ -975,7 +1233,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateMemory( MemoryAllocateInfo const * pAllocateInfo, AllocationCallbacks const * pAllocator, DeviceMemory * pMemory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -988,7 +1251,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::allocateMemory( MemoryAllocateInfo const & allocateInfo, Optional allocator, Dispatch const & d ) const { @@ -998,7 +1266,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceMemory memory; - Result result = static_cast( d.vkAllocateMemory( m_device, + Result result = static_cast( d.vkAllocateMemory( static_cast( m_device ), reinterpret_cast( &allocateInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &memory ) ) ); @@ -1009,7 +1277,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateMemoryUnique( MemoryAllocateInfo const & allocateInfo, Optional allocator, Dispatch const & d ) const { @@ -1019,7 +1292,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceMemory memory; - Result result = static_cast( d.vkAllocateMemory( m_device, + Result result = static_cast( d.vkAllocateMemory( static_cast( m_device ), reinterpret_cast( &allocateInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &memory ) ) ); @@ -1031,7 +1304,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +#endif VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1040,7 +1318,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +# endif VULKAN_HPP_INLINE void Device::freeMemory( DeviceMemory memory, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1048,12 +1331,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeMemory && "Function requires " ); # endif - d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( allocator.get() ) ); + d.vkFreeMemory( + static_cast( m_device ), static_cast( memory ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +#endif VULKAN_HPP_INLINE void( Device::free )( DeviceMemory memory, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1062,7 +1351,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +# endif VULKAN_HPP_INLINE void( Device::free )( DeviceMemory memory, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1070,12 +1364,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeMemory && "Function requires " ); # endif - d.vkFreeMemory( m_device, static_cast( memory ), reinterpret_cast( allocator.get() ) ); + d.vkFreeMemory( + static_cast( m_device ), static_cast( memory ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkMapMemory ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, void ** ppData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1090,7 +1390,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkMapMemory ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, MemoryMapFlags flags, Dispatch const & d ) const { @@ -1100,7 +1405,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif void * pData; - Result result = static_cast( d.vkMapMemory( m_device, + Result result = static_cast( d.vkMapMemory( static_cast( m_device ), static_cast( memory ), static_cast( offset ), static_cast( size ), @@ -1113,7 +1418,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory ) ) +#endif VULKAN_HPP_INLINE void Device::unmapMemory( DeviceMemory memory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1121,7 +1431,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFlushMappedMemoryRanges ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::flushMappedMemoryRanges( uint32_t memoryRangeCount, MappedMemoryRange const * pMemoryRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1132,7 +1447,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFlushMappedMemoryRanges ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::flushMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d ) const { @@ -1141,8 +1461,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFlushMappedMemoryRanges && "Function requires " ); # endif - Result result = - static_cast( d.vkFlushMappedMemoryRanges( m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); + Result result = static_cast( d.vkFlushMappedMemoryRanges( + static_cast( m_device ), memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::flushMappedMemoryRanges" ); return detail::createResultValueType( result ); @@ -1151,7 +1471,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkInvalidateMappedMemoryRanges, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkInvalidateMappedMemoryRanges ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::invalidateMappedMemoryRanges( uint32_t memoryRangeCount, MappedMemoryRange const * pMemoryRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1163,7 +1488,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkInvalidateMappedMemoryRanges, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkInvalidateMappedMemoryRanges ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::invalidateMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d ) const { @@ -1172,8 +1502,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkInvalidateMappedMemoryRanges && "Function requires " ); # endif - Result result = static_cast( - d.vkInvalidateMappedMemoryRanges( m_device, memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); + Result result = static_cast( d.vkInvalidateMappedMemoryRanges( + static_cast( m_device ), memoryRanges.size(), reinterpret_cast( memoryRanges.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::invalidateMappedMemoryRanges" ); return detail::createResultValueType( result ); @@ -1181,7 +1511,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceMemoryCommitment, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryCommitment ) ) +#endif VULKAN_HPP_INLINE void Device::getMemoryCommitment( DeviceMemory memory, DeviceSize * pCommittedMemoryInBytes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1191,7 +1526,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryCommitment, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryCommitment ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize Device::getMemoryCommitment( DeviceMemory memory, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1200,7 +1540,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceSize committedMemoryInBytes; - d.vkGetDeviceMemoryCommitment( m_device, static_cast( memory ), reinterpret_cast( &committedMemoryInBytes ) ); + d.vkGetDeviceMemoryCommitment( + static_cast( m_device ), static_cast( memory ), reinterpret_cast( &committedMemoryInBytes ) ); return committedMemoryInBytes; } @@ -1208,7 +1549,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1218,7 +1564,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d ) const { @@ -1227,8 +1578,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindBufferMemory && "Function requires " ); # endif - Result result = static_cast( - d.vkBindBufferMemory( m_device, static_cast( buffer ), static_cast( memory ), static_cast( memoryOffset ) ) ); + Result result = static_cast( d.vkBindBufferMemory( + static_cast( m_device ), static_cast( buffer ), static_cast( memory ), static_cast( memoryOffset ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory" ); return detail::createResultValueType( result ); @@ -1237,7 +1588,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1247,7 +1603,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d ) const { @@ -1256,8 +1617,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindImageMemory && "Function requires " ); # endif - Result result = static_cast( - d.vkBindImageMemory( m_device, static_cast( image ), static_cast( memory ), static_cast( memoryOffset ) ) ); + Result result = static_cast( d.vkBindImageMemory( + static_cast( m_device ), static_cast( image ), static_cast( memory ), static_cast( memoryOffset ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory" ); return detail::createResultValueType( result ); @@ -1266,7 +1627,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( Buffer buffer, MemoryRequirements * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1278,7 +1644,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements Device::getBufferMemoryRequirements( Buffer buffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1287,14 +1658,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements memoryRequirements; - d.vkGetBufferMemoryRequirements( m_device, static_cast( buffer ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetBufferMemoryRequirements( + static_cast( m_device ), static_cast( buffer ), reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageMemoryRequirements, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getImageMemoryRequirements( Image image, MemoryRequirements * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1305,7 +1682,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements Device::getImageMemoryRequirements( Image image, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1314,7 +1696,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements memoryRequirements; - d.vkGetImageMemoryRequirements( m_device, static_cast( image ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetImageMemoryRequirements( + static_cast( m_device ), static_cast( image ), reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } @@ -1322,7 +1705,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( Image image, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements * pSparseMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -1337,10 +1725,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirementsAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( Image image, Dispatch const & d ) const { @@ -1351,9 +1744,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements; uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); + d.vkGetImageSparseMemoryRequirements( static_cast( m_device ), static_cast( image ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements( m_device, + d.vkGetImageSparseMemoryRequirements( static_cast( m_device ), static_cast( image ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -1368,10 +1761,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirementsAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( Image image, SparseImageMemoryRequirementsAllocator const & sparseImageMemoryRequirementsAllocator, Dispatch const & d ) const @@ -1383,9 +1781,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements( sparseImageMemoryRequirementsAllocator ); uint32_t sparseMemoryRequirementCount; - d.vkGetImageSparseMemoryRequirements( m_device, static_cast( image ), &sparseMemoryRequirementCount, nullptr ); + d.vkGetImageSparseMemoryRequirements( static_cast( m_device ), static_cast( image ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements( m_device, + d.vkGetImageSparseMemoryRequirements( static_cast( m_device ), static_cast( image ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -1401,7 +1799,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, @@ -1425,10 +1828,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling, Dispatch const & d ) const @@ -1441,7 +1849,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties; uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( samples ), @@ -1450,7 +1858,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE &propertyCount, nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( samples ), @@ -1469,10 +1877,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties( Format format, ImageType type, @@ -1490,7 +1903,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties( sparseImageFormatPropertiesAllocator ); uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( samples ), @@ -1499,7 +1912,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE &propertyCount, nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( samples ), @@ -1518,7 +1931,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueBindSparse ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::bindSparse( uint32_t bindInfoCount, BindSparseInfo const * pBindInfo, Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1529,7 +1947,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueBindSparse ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::bindSparse( ArrayProxy const & bindInfo, Fence fence, Dispatch const & d ) const { @@ -1538,8 +1961,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueBindSparse && "Function requires " ); # endif - Result result = static_cast( - d.vkQueueBindSparse( m_queue, bindInfo.size(), reinterpret_cast( bindInfo.data() ), static_cast( fence ) ) ); + Result result = static_cast( d.vkQueueBindSparse( + static_cast( m_queue ), bindInfo.size(), reinterpret_cast( bindInfo.data() ), static_cast( fence ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::bindSparse" ); return detail::createResultValueType( result ); @@ -1547,7 +1970,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createFence( FenceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Fence * pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1560,7 +1988,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createFence( FenceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1570,7 +2003,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkCreateFence( m_device, + Result result = static_cast( d.vkCreateFence( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &fence ) ) ); @@ -1581,7 +2014,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createFenceUnique( FenceCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1591,7 +2029,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkCreateFence( m_device, + Result result = static_cast( d.vkCreateFence( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &fence ) ) ); @@ -1603,7 +2041,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +#endif VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1612,7 +2055,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +# endif VULKAN_HPP_INLINE void Device::destroyFence( Fence fence, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1620,12 +2068,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyFence && "Function requires " ); # endif - d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyFence( static_cast( m_device ), static_cast( fence ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Fence fence, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1634,7 +2087,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Fence fence, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1642,12 +2100,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyFence && "Function requires " ); # endif - d.vkDestroyFence( m_device, static_cast( fence ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyFence( static_cast( m_device ), static_cast( fence ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkResetFences ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetFences( uint32_t fenceCount, Fence const * pFences, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1656,7 +2119,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetFences ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::resetFences( ArrayProxy const & fences, Dispatch const & d ) const { @@ -1665,7 +2133,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetFences && "Function requires " ); # endif - Result result = static_cast( d.vkResetFences( m_device, fences.size(), reinterpret_cast( fences.data() ) ) ); + Result result = + static_cast( d.vkResetFences( static_cast( m_device ), fences.size(), reinterpret_cast( fences.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetFences" ); return detail::createResultValueType( result ); @@ -1674,7 +2143,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetFenceStatus ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1682,7 +2156,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetFenceStatus ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceStatus( Fence fence, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1690,7 +2169,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetFenceStatus && "Function requires " ); # endif - Result result = static_cast( d.vkGetFenceStatus( m_device, static_cast( fence ) ) ); + Result result = static_cast( d.vkGetFenceStatus( static_cast( m_device ), static_cast( fence ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceStatus", { Result::eSuccess, Result::eNotReady } ); return static_cast( result ); @@ -1698,7 +2177,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWaitForFences ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( uint32_t fenceCount, Fence const * pFences, Bool32 waitAll, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1709,7 +2193,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitForFences ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( ArrayProxy const & fences, Bool32 waitAll, uint64_t timeout, Dispatch const & d ) const { @@ -1718,8 +2207,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkWaitForFences && "Function requires " ); # endif - Result result = static_cast( - d.vkWaitForFences( m_device, fences.size(), reinterpret_cast( fences.data() ), static_cast( waitAll ), timeout ) ); + Result result = static_cast( d.vkWaitForFences( + static_cast( m_device ), fences.size(), reinterpret_cast( fences.data() ), static_cast( waitAll ), timeout ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitForFences", { Result::eSuccess, Result::eTimeout } ); return static_cast( result ); @@ -1727,7 +2216,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSemaphore( SemaphoreCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Semaphore * pSemaphore, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1740,7 +2234,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSemaphore( SemaphoreCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1750,7 +2249,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Semaphore semaphore; - Result result = static_cast( d.vkCreateSemaphore( m_device, + Result result = static_cast( d.vkCreateSemaphore( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &semaphore ) ) ); @@ -1761,7 +2260,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSemaphoreUnique( SemaphoreCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1771,7 +2275,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Semaphore semaphore; - Result result = static_cast( d.vkCreateSemaphore( m_device, + Result result = static_cast( d.vkCreateSemaphore( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &semaphore ) ) ); @@ -1784,7 +2288,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +#endif VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1794,7 +2303,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +# endif VULKAN_HPP_INLINE void Device::destroySemaphore( Semaphore semaphore, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1803,12 +2317,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySemaphore && "Function requires " ); # endif - d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySemaphore( + static_cast( m_device ), static_cast( semaphore ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1818,7 +2338,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Semaphore semaphore, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1826,12 +2351,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySemaphore && "Function requires " ); # endif - d.vkDestroySemaphore( m_device, static_cast( semaphore ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySemaphore( + static_cast( m_device ), static_cast( semaphore ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createQueryPool( QueryPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, QueryPool * pQueryPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1844,7 +2375,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createQueryPool( QueryPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1854,7 +2390,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif QueryPool queryPool; - Result result = static_cast( d.vkCreateQueryPool( m_device, + Result result = static_cast( d.vkCreateQueryPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &queryPool ) ) ); @@ -1865,7 +2401,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createQueryPoolUnique( QueryPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -1875,7 +2416,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif QueryPool queryPool; - Result result = static_cast( d.vkCreateQueryPool( m_device, + Result result = static_cast( d.vkCreateQueryPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &queryPool ) ) ); @@ -1888,7 +2429,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1898,7 +2444,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroyQueryPool( QueryPool queryPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -1907,12 +2458,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyQueryPool && "Function requires " ); # endif - d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyQueryPool( + static_cast( m_device ), static_cast( queryPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1922,7 +2479,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( QueryPool queryPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -1930,12 +2492,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyQueryPool && "Function requires " ); # endif - d.vkDestroyQueryPool( m_device, static_cast( queryPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyQueryPool( + static_cast( m_device ), static_cast( queryPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -1958,11 +2526,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, size_t dataSize, DeviceSize stride, QueryResultFlags flags, Dispatch const & d ) const { @@ -1973,7 +2546,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkGetQueryPoolResults( m_device, + Result result = static_cast( d.vkGetQueryPoolResults( static_cast( m_device ), static_cast( queryPool ), firstQuery, queryCount, @@ -1987,7 +2560,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::getQueryPoolResult( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, DeviceSize stride, QueryResultFlags flags, Dispatch const & d ) const { @@ -1997,7 +2575,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( d.vkGetQueryPoolResults( m_device, + Result result = static_cast( d.vkGetQueryPoolResults( static_cast( m_device ), static_cast( queryPool ), firstQuery, queryCount, @@ -2012,7 +2590,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createBuffer( BufferCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Buffer * pBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2025,7 +2608,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createBuffer( BufferCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2035,7 +2623,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Buffer buffer; - Result result = static_cast( d.vkCreateBuffer( m_device, + Result result = static_cast( d.vkCreateBuffer( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &buffer ) ) ); @@ -2046,7 +2634,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createBufferUnique( BufferCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2056,7 +2649,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Buffer buffer; - Result result = static_cast( d.vkCreateBuffer( m_device, + Result result = static_cast( d.vkCreateBuffer( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &buffer ) ) ); @@ -2068,7 +2661,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +#endif VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2077,7 +2675,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +# endif VULKAN_HPP_INLINE void Device::destroyBuffer( Buffer buffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2085,12 +2688,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBuffer && "Function requires " ); # endif - d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBuffer( static_cast( m_device ), static_cast( buffer ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2099,7 +2707,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Buffer buffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2107,12 +2720,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBuffer && "Function requires " ); # endif - d.vkDestroyBuffer( m_device, static_cast( buffer ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBuffer( static_cast( m_device ), static_cast( buffer ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createImage( ImageCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Image * pImage, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2125,7 +2743,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createImage( ImageCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2135,7 +2758,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Image image; - Result result = static_cast( d.vkCreateImage( m_device, + Result result = static_cast( d.vkCreateImage( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &image ) ) ); @@ -2146,7 +2769,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createImageUnique( ImageCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2156,7 +2784,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Image image; - Result result = static_cast( d.vkCreateImage( m_device, + Result result = static_cast( d.vkCreateImage( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &image ) ) ); @@ -2168,7 +2796,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +#endif VULKAN_HPP_INLINE void Device::destroyImage( Image image, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2177,7 +2810,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +# endif VULKAN_HPP_INLINE void Device::destroyImage( Image image, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2185,12 +2823,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyImage && "Function requires " ); # endif - d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyImage( static_cast( m_device ), static_cast( image ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Image image, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2199,7 +2842,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Image image, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2207,12 +2855,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyImage && "Function requires " ); # endif - d.vkDestroyImage( m_device, static_cast( image ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyImage( static_cast( m_device ), static_cast( image ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageSubresourceLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( Image image, ImageSubresource const * pSubresource, SubresourceLayout * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2225,7 +2878,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout Device::getImageSubresourceLayout( Image image, ImageSubresource const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2235,7 +2893,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SubresourceLayout layout; - d.vkGetImageSubresourceLayout( m_device, + d.vkGetImageSubresourceLayout( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -2245,7 +2903,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createImageView( ImageViewCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, ImageView * pView, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2258,7 +2921,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createImageView( ImageViewCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2268,7 +2936,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ImageView view; - Result result = static_cast( d.vkCreateImageView( m_device, + Result result = static_cast( d.vkCreateImageView( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -2279,7 +2947,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createImageViewUnique( ImageViewCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2289,7 +2962,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ImageView view; - Result result = static_cast( d.vkCreateImageView( m_device, + Result result = static_cast( d.vkCreateImageView( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -2301,7 +2974,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +#endif VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2311,7 +2989,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +# endif VULKAN_HPP_INLINE void Device::destroyImageView( ImageView imageView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2320,12 +3003,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyImageView && "Function requires " ); # endif - d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyImageView( + static_cast( m_device ), static_cast( imageView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2335,7 +3024,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ImageView imageView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2343,12 +3037,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyImageView && "Function requires " ); # endif - d.vkDestroyImageView( m_device, static_cast( imageView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyImageView( + static_cast( m_device ), static_cast( imageView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCommandPool( CommandPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, CommandPool * pCommandPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2362,7 +3062,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createCommandPool( CommandPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2372,7 +3077,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CommandPool commandPool; - Result result = static_cast( d.vkCreateCommandPool( m_device, + Result result = static_cast( d.vkCreateCommandPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &commandPool ) ) ); @@ -2383,7 +3088,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCommandPoolUnique( CommandPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -2393,7 +3103,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CommandPool commandPool; - Result result = static_cast( d.vkCreateCommandPool( m_device, + Result result = static_cast( d.vkCreateCommandPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &commandPool ) ) ); @@ -2406,7 +3116,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2417,7 +3132,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCommandPool( CommandPool commandPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2426,12 +3146,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCommandPool && "Function requires " ); # endif - d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCommandPool( + static_cast( m_device ), static_cast( commandPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2441,7 +3167,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CommandPool commandPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2449,13 +3180,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCommandPool && "Function requires " ); # endif - d.vkDestroyCommandPool( m_device, static_cast( commandPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCommandPool( + static_cast( m_device ), static_cast( commandPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetCommandPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2465,7 +3202,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetCommandPool ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const & d ) const { @@ -2474,8 +3216,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetCommandPool && "Function requires " ); # endif - Result result = - static_cast( d.vkResetCommandPool( m_device, static_cast( commandPool ), static_cast( flags ) ) ); + Result result = static_cast( + d.vkResetCommandPool( static_cast( m_device ), static_cast( commandPool ), static_cast( flags ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetCommandPool" ); return detail::createResultValueType( result ); @@ -2483,7 +3225,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateCommandBuffers( CommandBufferAllocateInfo const * pAllocateInfo, CommandBuffer * pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2495,10 +3242,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CommandBufferAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo, Dispatch const & d ) const { @@ -2508,18 +3260,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( d.vkAllocateCommandBuffers( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + Result result = static_cast( d.vkAllocateCommandBuffers( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( commandBuffers.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); return detail::createResultValueType( result, std::move( commandBuffers ) ); } // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CommandBufferAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo, CommandBufferAllocator const & commandBufferAllocator, Dispatch const & d ) const { @@ -2529,8 +3287,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector commandBuffers( allocateInfo.commandBufferCount, {}, commandBufferAllocator ); - Result result = static_cast( d.vkAllocateCommandBuffers( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + Result result = static_cast( d.vkAllocateCommandBuffers( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( commandBuffers.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); return detail::createResultValueType( result, std::move( commandBuffers ) ); @@ -2538,10 +3297,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > CommandBufferAllocator> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, CommandBufferAllocator>>::type Device::allocateCommandBuffersUnique( CommandBufferAllocateInfo const & allocateInfo, Dispatch const & d ) const { @@ -2551,8 +3315,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( d.vkAllocateCommandBuffers( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + Result result = static_cast( d.vkAllocateCommandBuffers( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( commandBuffers.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); std::vector, CommandBufferAllocator> uniqueCommandBuffers; uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); @@ -2565,10 +3330,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > CommandBufferAllocator> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, CommandBufferAllocator>>::type Device::allocateCommandBuffersUnique( CommandBufferAllocateInfo const & allocateInfo, CommandBufferAllocator const & commandBufferAllocator, Dispatch const & d ) const @@ -2579,8 +3349,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector commandBuffers( allocateInfo.commandBufferCount ); - Result result = static_cast( d.vkAllocateCommandBuffers( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( commandBuffers.data() ) ) ); + Result result = static_cast( d.vkAllocateCommandBuffers( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( commandBuffers.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateCommandBuffersUnique" ); std::vector, CommandBufferAllocator> uniqueCommandBuffers( commandBufferAllocator ); uniqueCommandBuffers.reserve( allocateInfo.commandBufferCount ); @@ -2595,7 +3366,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +#endif VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2608,7 +3384,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +# endif VULKAN_HPP_INLINE void Device::freeCommandBuffers( CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2617,13 +3398,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeCommandBuffers && "Function requires " ); # endif - d.vkFreeCommandBuffers( - m_device, static_cast( commandPool ), commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + d.vkFreeCommandBuffers( static_cast( m_device ), + static_cast( commandPool ), + commandBuffers.size(), + reinterpret_cast( commandBuffers.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +#endif VULKAN_HPP_INLINE void( Device::free )( CommandPool commandPool, uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2636,7 +3424,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +# endif VULKAN_HPP_INLINE void( Device::free )( CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2645,13 +3438,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeCommandBuffers && "Function requires " ); # endif - d.vkFreeCommandBuffers( - m_device, static_cast( commandPool ), commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + d.vkFreeCommandBuffers( static_cast( m_device ), + static_cast( commandPool ), + commandBuffers.size(), + reinterpret_cast( commandBuffers.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBeginCommandBuffer ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::begin( CommandBufferBeginInfo const * pBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2661,7 +3461,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBeginCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::begin( CommandBufferBeginInfo const & beginInfo, Dispatch const & d ) const { @@ -2670,7 +3475,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBeginCommandBuffer && "Function requires " ); # endif - Result result = static_cast( d.vkBeginCommandBuffer( m_commandBuffer, reinterpret_cast( &beginInfo ) ) ); + Result result = static_cast( + d.vkBeginCommandBuffer( static_cast( m_commandBuffer ), reinterpret_cast( &beginInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::begin" ); return detail::createResultValueType( result ); @@ -2679,7 +3485,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkEndCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::end( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2687,7 +3498,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkEndCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::end( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2695,7 +3511,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkEndCommandBuffer && "Function requires " ); # endif - Result result = static_cast( d.vkEndCommandBuffer( m_commandBuffer ) ); + Result result = static_cast( d.vkEndCommandBuffer( static_cast( m_commandBuffer ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::end" ); return detail::createResultValueType( result ); @@ -2704,7 +3520,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2712,7 +3533,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::reset( CommandBufferResetFlags flags, Dispatch const & d ) const { @@ -2721,7 +3547,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetCommandBuffer && "Function requires " ); # endif - Result result = static_cast( d.vkResetCommandBuffer( m_commandBuffer, static_cast( flags ) ) ); + Result result = + static_cast( d.vkResetCommandBuffer( static_cast( m_commandBuffer ), static_cast( flags ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::reset" ); return detail::createResultValueType( result ); @@ -2729,7 +3556,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, BufferCopy const * pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2743,7 +3575,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2752,7 +3589,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBuffer && "Function requires " ); # endif - d.vkCmdCopyBuffer( m_commandBuffer, + d.vkCmdCopyBuffer( static_cast( m_commandBuffer ), static_cast( srcBuffer ), static_cast( dstBuffer ), regions.size(), @@ -2761,7 +3598,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -2782,7 +3624,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2792,7 +3639,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImage && "Function requires " ); # endif - d.vkCmdCopyImage( m_commandBuffer, + d.vkCmdCopyImage( static_cast( m_commandBuffer ), static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), @@ -2803,7 +3650,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, uint32_t regionCount, BufferImageCopy const * pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2819,7 +3671,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2829,7 +3686,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBufferToImage && "Function requires " ); # endif - d.vkCmdCopyBufferToImage( m_commandBuffer, + d.vkCmdCopyBufferToImage( static_cast( m_commandBuffer ), static_cast( srcBuffer ), static_cast( dstImage ), static_cast( dstImageLayout ), @@ -2839,7 +3696,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, uint32_t regionCount, BufferImageCopy const * pRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2855,7 +3717,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -2865,7 +3732,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImageToBuffer && "Function requires " ); # endif - d.vkCmdCopyImageToBuffer( m_commandBuffer, + d.vkCmdCopyImageToBuffer( static_cast( m_commandBuffer ), static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstBuffer ), @@ -2875,7 +3742,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdUpdateBuffer ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2889,7 +3761,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdUpdateBuffer ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2898,7 +3775,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdUpdateBuffer && "Function requires " ); # endif - d.vkCmdUpdateBuffer( m_commandBuffer, + d.vkCmdUpdateBuffer( static_cast( m_commandBuffer ), static_cast( dstBuffer ), static_cast( dstOffset ), data.size() * sizeof( DataType ), @@ -2907,7 +3784,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdFillBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdFillBuffer ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -2920,7 +3802,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, @@ -2947,7 +3834,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, @@ -2961,7 +3853,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPipelineBarrier && "Function requires " ); # endif - d.vkCmdPipelineBarrier( m_commandBuffer, + d.vkCmdPipelineBarrier( static_cast( m_commandBuffer ), static_cast( srcStageMask ), static_cast( dstStageMask ), static_cast( dependencyFlags ), @@ -2975,7 +3867,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQuery.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginQuery ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2984,7 +3881,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdEndQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQuery.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndQuery ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endQuery( QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -2992,7 +3894,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResetQueryPool ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3001,7 +3908,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdWriteTimestamp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3011,7 +3923,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdCopyQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResults.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResults ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -3033,7 +3950,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteCommands ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::executeCommands( uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3043,7 +3965,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteCommands ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::executeCommands( ArrayProxy const & commandBuffers, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3051,12 +3978,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdExecuteCommands && "Function requires " ); # endif - d.vkCmdExecuteCommands( m_commandBuffer, commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); + d.vkCmdExecuteCommands( + static_cast( m_commandBuffer ), commandBuffers.size(), reinterpret_cast( commandBuffers.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createEvent( EventCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Event * pEvent, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3069,7 +4002,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createEvent( EventCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3079,7 +4017,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Event event; - Result result = static_cast( d.vkCreateEvent( m_device, + Result result = static_cast( d.vkCreateEvent( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &event ) ) ); @@ -3090,7 +4028,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createEventUnique( EventCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3100,7 +4043,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Event event; - Result result = static_cast( d.vkCreateEvent( m_device, + Result result = static_cast( d.vkCreateEvent( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &event ) ) ); @@ -3112,7 +4055,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +#endif VULKAN_HPP_INLINE void Device::destroyEvent( Event event, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3121,7 +4069,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +# endif VULKAN_HPP_INLINE void Device::destroyEvent( Event event, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3129,12 +4082,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyEvent && "Function requires " ); # endif - d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyEvent( static_cast( m_device ), static_cast( event ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Event event, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3143,7 +4101,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Event event, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3151,13 +4114,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyEvent && "Function requires " ); # endif - d.vkDestroyEvent( m_device, static_cast( event ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyEvent( static_cast( m_device ), static_cast( event ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetEventStatus ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3165,7 +4133,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetEventStatus ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEventStatus( Event event, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3173,7 +4146,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetEventStatus && "Function requires " ); # endif - Result result = static_cast( d.vkGetEventStatus( m_device, static_cast( event ) ) ); + Result result = static_cast( d.vkGetEventStatus( static_cast( m_device ), static_cast( event ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getEventStatus", { Result::eEventSet, Result::eEventReset } ); return static_cast( result ); @@ -3182,7 +4155,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetEvent ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setEvent( Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3190,7 +4168,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetEvent ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setEvent( Event event, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3198,7 +4181,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetEvent && "Function requires " ); # endif - Result result = static_cast( d.vkSetEvent( m_device, static_cast( event ) ) ); + Result result = static_cast( d.vkSetEvent( static_cast( m_device ), static_cast( event ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setEvent" ); return detail::createResultValueType( result ); @@ -3207,7 +4190,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetEvent ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetEvent( Event event, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3215,7 +4203,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetEvent ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::resetEvent( Event event, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3223,7 +4216,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetEvent && "Function requires " ); # endif - Result result = static_cast( d.vkResetEvent( m_device, static_cast( event ) ) ); + Result result = static_cast( d.vkResetEvent( static_cast( m_device ), static_cast( event ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetEvent" ); return detail::createResultValueType( result ); @@ -3231,7 +4224,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createBufferView( BufferViewCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, BufferView * pView, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3244,7 +4242,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createBufferView( BufferViewCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3254,7 +4257,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BufferView view; - Result result = static_cast( d.vkCreateBufferView( m_device, + Result result = static_cast( d.vkCreateBufferView( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -3265,7 +4268,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createBufferViewUnique( BufferViewCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3275,7 +4283,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BufferView view; - Result result = static_cast( d.vkCreateBufferView( m_device, + Result result = static_cast( d.vkCreateBufferView( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -3287,7 +4295,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +#endif VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3298,7 +4311,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +# endif VULKAN_HPP_INLINE void Device::destroyBufferView( BufferView bufferView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3307,12 +4325,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBufferView && "Function requires " ); # endif - d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBufferView( + static_cast( m_device ), static_cast( bufferView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3322,7 +4346,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( BufferView bufferView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3330,12 +4359,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBufferView && "Function requires " ); # endif - d.vkDestroyBufferView( m_device, static_cast( bufferView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBufferView( + static_cast( m_device ), static_cast( bufferView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createShaderModule( ShaderModuleCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, ShaderModule * pShaderModule, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -3349,7 +4384,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createShaderModule( ShaderModuleCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3359,7 +4399,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderModule shaderModule; - Result result = static_cast( d.vkCreateShaderModule( m_device, + Result result = static_cast( d.vkCreateShaderModule( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &shaderModule ) ) ); @@ -3370,7 +4410,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createShaderModuleUnique( ShaderModuleCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3380,7 +4425,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderModule shaderModule; - Result result = static_cast( d.vkCreateShaderModule( m_device, + Result result = static_cast( d.vkCreateShaderModule( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &shaderModule ) ) ); @@ -3393,7 +4438,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +#endif VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3404,7 +4454,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +# endif VULKAN_HPP_INLINE void Device::destroyShaderModule( ShaderModule shaderModule, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3413,12 +4468,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderModule && "Function requires " ); # endif - d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderModule( + static_cast( m_device ), static_cast( shaderModule ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3428,7 +4489,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ShaderModule shaderModule, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3437,12 +4503,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderModule && "Function requires " ); # endif - d.vkDestroyShaderModule( m_device, static_cast( shaderModule ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderModule( + static_cast( m_device ), static_cast( shaderModule ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPipelineCache( PipelineCacheCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineCache * pPipelineCache, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -3456,7 +4528,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createPipelineCache( PipelineCacheCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3466,7 +4543,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PipelineCache pipelineCache; - Result result = static_cast( d.vkCreatePipelineCache( m_device, + Result result = static_cast( d.vkCreatePipelineCache( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &pipelineCache ) ) ); @@ -3477,7 +4554,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPipelineCacheUnique( PipelineCacheCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3487,7 +4569,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PipelineCache pipelineCache; - Result result = static_cast( d.vkCreatePipelineCache( m_device, + Result result = static_cast( d.vkCreatePipelineCache( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &pipelineCache ) ) ); @@ -3500,7 +4582,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3511,7 +4598,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPipelineCache( PipelineCache pipelineCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3520,12 +4612,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineCache && "Function requires " ); # endif - d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineCache( + static_cast( m_device ), static_cast( pipelineCache ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3535,7 +4633,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( PipelineCache pipelineCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3544,12 +4647,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineCache && "Function requires " ); # endif - d.vkDestroyPipelineCache( m_device, static_cast( pipelineCache ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineCache( + static_cast( m_device ), static_cast( pipelineCache ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineCacheData( PipelineCache pipelineCache, size_t * pDataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3560,10 +4669,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineCacheData( PipelineCache pipelineCache, Dispatch const & d ) const { @@ -3577,12 +4691,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); + result = + static_cast( d.vkGetPipelineCacheData( static_cast( m_device ), static_cast( pipelineCache ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = static_cast( - d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetPipelineCacheData( + static_cast( m_device ), static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineCacheData" ); @@ -3595,10 +4710,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineCacheData( PipelineCache pipelineCache, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -3612,12 +4732,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, nullptr ) ); + result = + static_cast( d.vkGetPipelineCacheData( static_cast( m_device ), static_cast( pipelineCache ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = static_cast( - d.vkGetPipelineCacheData( m_device, static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetPipelineCacheData( + static_cast( m_device ), static_cast( pipelineCache ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineCacheData" ); @@ -3631,7 +4752,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkMergePipelineCaches ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, PipelineCache const * pSrcCaches, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3642,7 +4768,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkMergePipelineCaches ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::mergePipelineCaches( PipelineCache dstCache, ArrayProxy const & srcCaches, Dispatch const & d ) const { @@ -3651,8 +4782,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkMergePipelineCaches && "Function requires " ); # endif - Result result = static_cast( d.vkMergePipelineCaches( - m_device, static_cast( dstCache ), srcCaches.size(), reinterpret_cast( srcCaches.data() ) ) ); + Result result = static_cast( d.vkMergePipelineCaches( static_cast( m_device ), + static_cast( dstCache ), + srcCaches.size(), + reinterpret_cast( srcCaches.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergePipelineCaches" ); return detail::createResultValueType( result ); @@ -3660,7 +4793,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, ComputePipelineCreateInfo const * pCreateInfos, @@ -3679,10 +4817,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -3695,7 +4838,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -3713,10 +4856,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -3730,7 +4878,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -3748,7 +4896,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createComputePipeline( PipelineCache pipelineCache, ComputePipelineCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3758,7 +4911,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -3771,10 +4924,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -3787,7 +4945,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -3811,10 +4969,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -3828,7 +4991,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -3852,7 +5015,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createComputePipelineUnique( PipelineCache pipelineCache, ComputePipelineCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3862,7 +5030,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateComputePipelines( m_device, + Result result = static_cast( d.vkCreateComputePipelines( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -3878,7 +5046,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3888,7 +5061,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPipeline( Pipeline pipeline, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3897,12 +5075,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipeline && "Function requires " ); # endif - d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipeline( + static_cast( m_device ), static_cast( pipeline ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3912,7 +5096,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Pipeline pipeline, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -3920,12 +5109,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipeline && "Function requires " ); # endif - d.vkDestroyPipeline( m_device, static_cast( pipeline ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipeline( + static_cast( m_device ), static_cast( pipeline ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPipelineLayout( PipelineLayoutCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineLayout * pPipelineLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -3939,7 +5134,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createPipelineLayout( PipelineLayoutCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3949,7 +5149,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PipelineLayout pipelineLayout; - Result result = static_cast( d.vkCreatePipelineLayout( m_device, + Result result = static_cast( d.vkCreatePipelineLayout( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &pipelineLayout ) ) ); @@ -3960,7 +5160,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPipelineLayoutUnique( PipelineLayoutCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -3970,7 +5175,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PipelineLayout pipelineLayout; - Result result = static_cast( d.vkCreatePipelineLayout( m_device, + Result result = static_cast( d.vkCreatePipelineLayout( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &pipelineLayout ) ) ); @@ -3983,7 +5188,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -3994,7 +5204,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPipelineLayout( PipelineLayout pipelineLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4003,12 +5218,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineLayout && "Function requires " ); # endif - d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineLayout( + static_cast( m_device ), static_cast( pipelineLayout ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4018,7 +5239,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( PipelineLayout pipelineLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4027,12 +5253,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineLayout && "Function requires " ); # endif - d.vkDestroyPipelineLayout( m_device, static_cast( pipelineLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineLayout( + static_cast( m_device ), static_cast( pipelineLayout ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSampler( SamplerCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Sampler * pSampler, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4045,7 +5277,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSampler( SamplerCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4055,7 +5292,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Sampler sampler; - Result result = static_cast( d.vkCreateSampler( m_device, + Result result = static_cast( d.vkCreateSampler( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &sampler ) ) ); @@ -4066,7 +5303,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerUnique( SamplerCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4076,7 +5318,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Sampler sampler; - Result result = static_cast( d.vkCreateSampler( m_device, + Result result = static_cast( d.vkCreateSampler( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &sampler ) ) ); @@ -4088,7 +5330,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +#endif VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4097,7 +5344,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +# endif VULKAN_HPP_INLINE void Device::destroySampler( Sampler sampler, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4105,12 +5357,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySampler && "Function requires " ); # endif - d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySampler( + static_cast( m_device ), static_cast( sampler ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4119,7 +5377,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Sampler sampler, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4127,12 +5390,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySampler && "Function requires " ); # endif - d.vkDestroySampler( m_device, static_cast( sampler ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySampler( + static_cast( m_device ), static_cast( sampler ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorSetLayout * pSetLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4146,7 +5415,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4156,7 +5430,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorSetLayout setLayout; - Result result = static_cast( d.vkCreateDescriptorSetLayout( m_device, + Result result = static_cast( d.vkCreateDescriptorSetLayout( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &setLayout ) ) ); @@ -4167,7 +5441,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorSetLayoutUnique( DescriptorSetLayoutCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4177,7 +5456,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorSetLayout setLayout; - Result result = static_cast( d.vkCreateDescriptorSetLayout( m_device, + Result result = static_cast( d.vkCreateDescriptorSetLayout( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &setLayout ) ) ); @@ -4190,7 +5469,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4202,7 +5486,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4211,13 +5500,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDescriptorSetLayout && "Function requires " ); # endif - d.vkDestroyDescriptorSetLayout( - m_device, static_cast( descriptorSetLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorSetLayout( static_cast( m_device ), + static_cast( descriptorSetLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4229,7 +5524,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( DescriptorSetLayout descriptorSetLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4238,13 +5538,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDescriptorSetLayout && "Function requires " ); # endif - d.vkDestroyDescriptorSetLayout( - m_device, static_cast( descriptorSetLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorSetLayout( static_cast( m_device ), + static_cast( descriptorSetLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorPool( DescriptorPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorPool * pDescriptorPool, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4258,7 +5564,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorPool( DescriptorPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4268,7 +5579,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorPool descriptorPool; - Result result = static_cast( d.vkCreateDescriptorPool( m_device, + Result result = static_cast( d.vkCreateDescriptorPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorPool ) ) ); @@ -4279,7 +5590,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorPoolUnique( DescriptorPoolCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4289,7 +5605,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorPool descriptorPool; - Result result = static_cast( d.vkCreateDescriptorPool( m_device, + Result result = static_cast( d.vkCreateDescriptorPool( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorPool ) ) ); @@ -4302,7 +5618,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4313,7 +5634,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDescriptorPool( DescriptorPool descriptorPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4322,12 +5648,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDescriptorPool && "Function requires " ); # endif - d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorPool( + static_cast( m_device ), static_cast( descriptorPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4337,7 +5669,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( DescriptorPool descriptorPool, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4346,13 +5683,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDescriptorPool && "Function requires " ); # endif - d.vkDestroyDescriptorPool( m_device, static_cast( descriptorPool ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorPool( + static_cast( m_device ), static_cast( descriptorPool ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4362,7 +5705,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const & d ) const { @@ -4371,8 +5719,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetDescriptorPool && "Function requires " ); # endif - Result result = static_cast( - d.vkResetDescriptorPool( m_device, static_cast( descriptorPool ), static_cast( flags ) ) ); + Result result = static_cast( d.vkResetDescriptorPool( + static_cast( m_device ), static_cast( descriptorPool ), static_cast( flags ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetDescriptorPool" ); return detail::createResultValueType( result ); @@ -4380,7 +5728,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::allocateDescriptorSets( DescriptorSetAllocateInfo const * pAllocateInfo, DescriptorSet * pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4392,10 +5745,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DescriptorSetAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo, Dispatch const & d ) const { @@ -4405,18 +5763,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( d.vkAllocateDescriptorSets( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkAllocateDescriptorSets( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); return detail::createResultValueType( result, std::move( descriptorSets ) ); } // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DescriptorSetAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo, DescriptorSetAllocator const & descriptorSetAllocator, Dispatch const & d ) const { @@ -4426,8 +5790,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector descriptorSets( allocateInfo.descriptorSetCount, {}, descriptorSetAllocator ); - Result result = static_cast( d.vkAllocateDescriptorSets( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkAllocateDescriptorSets( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); return detail::createResultValueType( result, std::move( descriptorSets ) ); @@ -4435,10 +5800,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > DescriptorSetAllocator> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, DescriptorSetAllocator>>::type Device::allocateDescriptorSetsUnique( DescriptorSetAllocateInfo const & allocateInfo, Dispatch const & d ) const { @@ -4448,8 +5818,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( d.vkAllocateDescriptorSets( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkAllocateDescriptorSets( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); std::vector, DescriptorSetAllocator> uniqueDescriptorSets; uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); @@ -4462,10 +5833,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > DescriptorSetAllocator> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, DescriptorSetAllocator>>::type Device::allocateDescriptorSetsUnique( DescriptorSetAllocateInfo const & allocateInfo, DescriptorSetAllocator const & descriptorSetAllocator, Dispatch const & d ) const @@ -4476,8 +5852,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector descriptorSets( allocateInfo.descriptorSetCount ); - Result result = static_cast( d.vkAllocateDescriptorSets( - m_device, reinterpret_cast( &allocateInfo ), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkAllocateDescriptorSets( static_cast( m_device ), + reinterpret_cast( &allocateInfo ), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::allocateDescriptorSetsUnique" ); std::vector, DescriptorSetAllocator> uniqueDescriptorSets( descriptorSetAllocator ); uniqueDescriptorSets.reserve( allocateInfo.descriptorSetCount ); @@ -4492,7 +5869,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, DescriptorSet const * pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4505,7 +5887,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d ) const { @@ -4514,8 +5901,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeDescriptorSets && "Function requires " ); # endif - Result result = static_cast( d.vkFreeDescriptorSets( - m_device, static_cast( descriptorPool ), descriptorSets.size(), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkFreeDescriptorSets( static_cast( m_device ), + static_cast( descriptorPool ), + descriptorSets.size(), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::freeDescriptorSets" ); return detail::createResultValueType( result ); @@ -4523,7 +5912,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result( Device::free )( DescriptorPool descriptorPool, uint32_t descriptorSetCount, DescriptorSet const * pDescriptorSets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4536,7 +5930,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type( Device::free )( DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d ) const { @@ -4545,8 +5944,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkFreeDescriptorSets && "Function requires " ); # endif - Result result = static_cast( d.vkFreeDescriptorSets( - m_device, static_cast( descriptorPool ), descriptorSets.size(), reinterpret_cast( descriptorSets.data() ) ) ); + Result result = static_cast( d.vkFreeDescriptorSets( static_cast( m_device ), + static_cast( descriptorPool ), + descriptorSets.size(), + reinterpret_cast( descriptorSets.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::( Device::free )" ); return detail::createResultValueType( result ); @@ -4554,7 +5955,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSets ) ) +#endif VULKAN_HPP_INLINE void Device::updateDescriptorSets( uint32_t descriptorWriteCount, WriteDescriptorSet const * pDescriptorWrites, uint32_t descriptorCopyCount, @@ -4571,7 +5977,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSets ) ) +# endif VULKAN_HPP_INLINE void Device::updateDescriptorSets( ArrayProxy const & descriptorWrites, ArrayProxy const & descriptorCopies, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4581,7 +5992,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkUpdateDescriptorSets && "Function requires " ); # endif - d.vkUpdateDescriptorSets( m_device, + d.vkUpdateDescriptorSets( static_cast( m_device ), descriptorWrites.size(), reinterpret_cast( descriptorWrites.data() ), descriptorCopies.size(), @@ -4590,7 +6001,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindPipeline ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4599,7 +6015,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -4622,7 +6043,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -4635,7 +6061,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindDescriptorSets && "Function requires " ); # endif - d.vkCmdBindDescriptorSets( m_commandBuffer, + d.vkCmdBindDescriptorSets( static_cast( m_commandBuffer ), static_cast( pipelineBindPoint ), static_cast( layout ), firstSet, @@ -4647,7 +6073,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdClearColorImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, ClearColorValue const * pColor, uint32_t rangeCount, ImageSubresourceRange const * pRanges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4663,7 +6094,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdClearColorImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( Image image, ImageLayout imageLayout, ClearColorValue const & color, ArrayProxy const & ranges, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4673,7 +6109,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdClearColorImage && "Function requires " ); # endif - d.vkCmdClearColorImage( m_commandBuffer, + d.vkCmdClearColorImage( static_cast( m_commandBuffer ), static_cast( image ), static_cast( imageLayout ), reinterpret_cast( &color ), @@ -4683,7 +6119,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatch, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatch.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatch ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4692,7 +6133,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDispatchIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4700,7 +6146,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setEvent( Event event, PipelineStageFlags stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4708,7 +6159,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -4716,7 +6172,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents( uint32_t eventCount, Event const * pEvents, PipelineStageFlags srcStageMask, @@ -4745,7 +6206,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents( ArrayProxy const & events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, @@ -4759,7 +6225,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdWaitEvents && "Function requires " ); # endif - d.vkCmdWaitEvents( m_commandBuffer, + d.vkCmdWaitEvents( static_cast( m_commandBuffer ), events.size(), reinterpret_cast( events.data() ), static_cast( srcStageMask ), @@ -4774,7 +6240,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, uint32_t size, void const * pValues, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -4789,7 +6260,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, ArrayProxy const & values, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -4799,7 +6275,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushConstants && "Function requires " ); # endif - d.vkCmdPushConstants( m_commandBuffer, + d.vkCmdPushConstants( static_cast( m_commandBuffer ), static_cast( layout ), static_cast( stageFlags ), offset, @@ -4809,7 +6285,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, GraphicsPipelineCreateInfo const * pCreateInfos, @@ -4828,10 +6309,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -4844,7 +6330,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -4862,10 +6348,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -4879,7 +6370,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -4897,7 +6388,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createGraphicsPipeline( PipelineCache pipelineCache, GraphicsPipelineCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -4907,7 +6403,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -4920,10 +6416,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -4936,7 +6437,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -4960,10 +6461,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -4977,7 +6483,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -5001,7 +6507,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createGraphicsPipelineUnique( PipelineCache pipelineCache, GraphicsPipelineCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -5011,7 +6522,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateGraphicsPipelines( m_device, + Result result = static_cast( d.vkCreateGraphicsPipelines( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -5027,7 +6538,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createFramebuffer( FramebufferCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Framebuffer * pFramebuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -5041,7 +6557,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createFramebuffer( FramebufferCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -5051,7 +6572,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Framebuffer framebuffer; - Result result = static_cast( d.vkCreateFramebuffer( m_device, + Result result = static_cast( d.vkCreateFramebuffer( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &framebuffer ) ) ); @@ -5062,7 +6583,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createFramebufferUnique( FramebufferCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -5072,7 +6598,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Framebuffer framebuffer; - Result result = static_cast( d.vkCreateFramebuffer( m_device, + Result result = static_cast( d.vkCreateFramebuffer( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &framebuffer ) ) ); @@ -5085,7 +6611,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +#endif VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5096,7 +6627,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +# endif VULKAN_HPP_INLINE void Device::destroyFramebuffer( Framebuffer framebuffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5105,12 +6641,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyFramebuffer && "Function requires " ); # endif - d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyFramebuffer( + static_cast( m_device ), static_cast( framebuffer ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5120,7 +6662,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( Framebuffer framebuffer, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5128,12 +6675,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyFramebuffer && "Function requires " ); # endif - d.vkDestroyFramebuffer( m_device, static_cast( framebuffer ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyFramebuffer( + static_cast( m_device ), static_cast( framebuffer ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass( RenderPassCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5146,7 +6699,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass( RenderPassCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -5156,7 +6714,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass( m_device, + Result result = static_cast( d.vkCreateRenderPass( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -5167,7 +6725,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPassUnique( RenderPassCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -5177,7 +6740,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass( m_device, + Result result = static_cast( d.vkCreateRenderPass( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -5190,7 +6753,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +#endif VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5201,7 +6769,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +# endif VULKAN_HPP_INLINE void Device::destroyRenderPass( RenderPass renderPass, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5210,12 +6783,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyRenderPass && "Function requires " ); # endif - d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyRenderPass( + static_cast( m_device ), static_cast( renderPass ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5225,7 +6804,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( RenderPass renderPass, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5233,12 +6817,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyRenderPass && "Function requires " ); # endif - d.vkDestroyRenderPass( m_device, static_cast( renderPass ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyRenderPass( + static_cast( m_device ), static_cast( renderPass ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRenderAreaGranularity ) ) +#endif VULKAN_HPP_INLINE void Device::getRenderAreaGranularity( RenderPass renderPass, Extent2D * pGranularity, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5247,7 +6837,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRenderAreaGranularity ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D Device::getRenderAreaGranularity( RenderPass renderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5256,14 +6851,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Extent2D granularity; - d.vkGetRenderAreaGranularity( m_device, static_cast( renderPass ), reinterpret_cast( &granularity ) ); + d.vkGetRenderAreaGranularity( static_cast( m_device ), static_cast( renderPass ), reinterpret_cast( &granularity ) ); return granularity; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewport ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5273,7 +6873,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewport ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, ArrayProxy const & viewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5282,12 +6887,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetViewport && "Function requires " ); # endif - d.vkCmdSetViewport( m_commandBuffer, firstViewport, viewports.size(), reinterpret_cast( viewports.data() ) ); + d.vkCmdSetViewport( + static_cast( m_commandBuffer ), firstViewport, viewports.size(), reinterpret_cast( viewports.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissor ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5297,7 +6908,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissor ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, ArrayProxy const & scissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5306,12 +6922,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetScissor && "Function requires " ); # endif - d.vkCmdSetScissor( m_commandBuffer, firstScissor, scissors.size(), reinterpret_cast( scissors.data() ) ); + d.vkCmdSetScissor( static_cast( m_commandBuffer ), firstScissor, scissors.size(), reinterpret_cast( scissors.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetLineWidth, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineWidth.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineWidth ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5319,7 +6940,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthBias, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5328,7 +6954,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetBlendConstants ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( float const blendConstants[4], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5337,7 +6968,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetBlendConstants ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( std::array const & blendConstants, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5345,12 +6981,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetBlendConstants && "Function requires " ); # endif - d.vkCmdSetBlendConstants( m_commandBuffer, blendConstants.data() ); + d.vkCmdSetBlendConstants( static_cast( m_commandBuffer ), blendConstants.data() ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthBounds, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBounds.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBounds ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5358,7 +6999,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilCompareMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilCompareMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilCompareMask ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5366,7 +7012,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilWriteMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilWriteMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilWriteMask ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5374,7 +7025,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilReference, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilReference.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilReference ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5382,7 +7038,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdBindIndexBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5393,7 +7054,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, DeviceSize const * pOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5407,7 +7073,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS @@ -5425,7 +7096,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBindVertexBuffers( m_commandBuffer, + d.vkCmdBindVertexBuffers( static_cast( m_commandBuffer ), firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), @@ -5434,7 +7105,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDraw, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDraw.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDraw ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5443,7 +7119,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDrawIndexed, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexed.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexed ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -5453,7 +7134,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDrawIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5463,7 +7149,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDrawIndexedIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5473,7 +7164,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5496,7 +7192,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5510,7 +7211,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBlitImage && "Function requires " ); # endif - d.vkCmdBlitImage( m_commandBuffer, + d.vkCmdBlitImage( static_cast( m_commandBuffer ), static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), @@ -5522,7 +7223,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearDepthStencilImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdClearDepthStencilImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, ClearDepthStencilValue const * pDepthStencil, @@ -5541,7 +7247,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearDepthStencilImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdClearDepthStencilImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( Image image, ImageLayout imageLayout, ClearDepthStencilValue const & depthStencil, @@ -5553,7 +7264,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdClearDepthStencilImage && "Function requires " ); # endif - d.vkCmdClearDepthStencilImage( m_commandBuffer, + d.vkCmdClearDepthStencilImage( static_cast( m_commandBuffer ), static_cast( image ), static_cast( imageLayout ), reinterpret_cast( &depthStencil ), @@ -5563,7 +7274,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdClearAttachments ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( uint32_t attachmentCount, ClearAttachment const * pAttachments, uint32_t rectCount, ClearRect const * pRects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5577,7 +7293,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdClearAttachments ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( ArrayProxy const & attachments, ArrayProxy const & rects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5586,7 +7307,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdClearAttachments && "Function requires " ); # endif - d.vkCmdClearAttachments( m_commandBuffer, + d.vkCmdClearAttachments( static_cast( m_commandBuffer ), attachments.size(), reinterpret_cast( attachments.data() ), rects.size(), @@ -5595,7 +7316,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5616,7 +7342,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ArrayProxy const & regions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -5626,7 +7357,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdResolveImage && "Function requires " ); # endif - d.vkCmdResolveImage( m_commandBuffer, + d.vkCmdResolveImage( static_cast( m_commandBuffer ), static_cast( srcImage ), static_cast( srcImageLayout ), static_cast( dstImage ), @@ -5637,7 +7368,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( RenderPassBeginInfo const * pRenderPassBegin, SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5649,7 +7385,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( RenderPassBeginInfo const & renderPassBegin, SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5658,12 +7399,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginRenderPass && "Function requires " ); # endif - d.vkCmdBeginRenderPass( m_commandBuffer, reinterpret_cast( &renderPassBegin ), static_cast( contents ) ); + d.vkCmdBeginRenderPass( static_cast( m_commandBuffer ), + reinterpret_cast( &renderPassBegin ), + static_cast( contents ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5671,7 +7419,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdEndRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRenderPass( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5681,7 +7434,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_1 === // wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceVersion ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result enumerateInstanceVersion( uint32_t * pApiVersion, Dispatch const & d ) VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5690,7 +7448,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkEnumerateInstanceVersion ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type enumerateInstanceVersion( Dispatch const & d ) { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5707,7 +7470,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindBufferMemory2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory2( uint32_t bindInfoCount, BindBufferMemoryInfo const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5718,7 +7486,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory2( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -5727,8 +7500,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindBufferMemory2 && "Function requires or " ); # endif - Result result = - static_cast( d.vkBindBufferMemory2( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + Result result = static_cast( + d.vkBindBufferMemory2( static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2" ); return detail::createResultValueType( result ); @@ -5736,7 +7509,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindImageMemory2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory2( uint32_t bindInfoCount, BindImageMemoryInfo const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5747,7 +7525,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory2( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -5756,8 +7539,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindImageMemory2 && "Function requires or " ); # endif - Result result = - static_cast( d.vkBindImageMemory2( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + Result result = static_cast( + d.vkBindImageMemory2( static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2" ); return detail::createResultValueType( result ); @@ -5766,7 +7549,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeatures ) ) +#endif VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags * pPeerMemoryFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -5779,7 +7567,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeatures ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5791,14 +7584,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PeerMemoryFeatureFlags peerMemoryFeatures; d.vkGetDeviceGroupPeerMemoryFeatures( - m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); + static_cast( m_device ), heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); return peerMemoryFeatures; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDeviceMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDeviceMask ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -5807,7 +7605,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroups( uint32_t * pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5820,10 +7623,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceGroupPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroups( Dispatch const & d ) const { @@ -5838,12 +7646,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( static_cast( m_instance ), &physicalDeviceGroupCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) { physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( - m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceGroups( static_cast( m_instance ), + &physicalDeviceGroupCount, + reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroups" ); @@ -5857,10 +7667,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceGroupPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroups( PhysicalDeviceGroupPropertiesAllocator const & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const { @@ -5875,12 +7690,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( m_instance, &physicalDeviceGroupCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroups( static_cast( m_instance ), &physicalDeviceGroupCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) { physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroups( - m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceGroups( static_cast( m_instance ), + &physicalDeviceGroupCount, + reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroups" ); @@ -5895,7 +7712,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +#endif VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5908,7 +7730,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5919,15 +7746,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetImageMemoryRequirements2( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetImageMemoryRequirements2( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5939,8 +7772,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetImageMemoryRequirements2( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetImageMemoryRequirements2( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -5948,7 +7782,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +#endif VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5961,7 +7800,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5972,15 +7816,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetBufferMemoryRequirements2( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetBufferMemoryRequirements2( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -5992,8 +7842,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetBufferMemoryRequirements2( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetBufferMemoryRequirements2( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -6001,7 +7852,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -6017,11 +7873,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const & info, Dispatch const & d ) const { @@ -6034,9 +7895,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements; uint32_t sparseMemoryRequirementCount; d.vkGetImageSparseMemoryRequirements2( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2( m_device, + d.vkGetImageSparseMemoryRequirements2( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -6051,11 +7912,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -6070,9 +7936,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); uint32_t sparseMemoryRequirementCount; d.vkGetImageSparseMemoryRequirements2( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2( m_device, + d.vkGetImageSparseMemoryRequirements2( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -6087,7 +7953,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceFeatures2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2( PhysicalDeviceFeatures2 * pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6096,7 +7967,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6106,13 +7982,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceFeatures2 features; - d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); + d.vkGetPhysicalDeviceFeatures2( static_cast( m_physicalDevice ), reinterpret_cast( &features ) ); return features; } // wrapper function for command vkGetPhysicalDeviceFeatures2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFeatures2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6123,7 +8004,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceFeatures2 & features = structureChain.template get(); - d.vkGetPhysicalDeviceFeatures2( m_physicalDevice, reinterpret_cast( &features ) ); + d.vkGetPhysicalDeviceFeatures2( static_cast( m_physicalDevice ), reinterpret_cast( &features ) ); return structureChain; } @@ -6131,7 +8012,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getProperties2( PhysicalDeviceProperties2 * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6141,7 +8027,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6151,14 +8042,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceProperties2 properties; - d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast( &properties ) ); + d.vkGetPhysicalDeviceProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &properties ) ); return properties; } // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6169,7 +8065,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceProperties2 & properties = structureChain.template get(); - d.vkGetPhysicalDeviceProperties2( m_physicalDevice, reinterpret_cast( &properties ) ); + d.vkGetPhysicalDeviceProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &properties ) ); return structureChain; } @@ -6177,7 +8073,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2( Format format, FormatProperties2 * pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6189,7 +8090,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2( Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6199,18 +8105,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif FormatProperties2 formatProperties; - d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + d.vkGetPhysicalDeviceFormatProperties2( + static_cast( m_physicalDevice ), static_cast( format ), reinterpret_cast( &formatProperties ) ); return formatProperties; } // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFormatProperties2( Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6222,7 +8134,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; FormatProperties2 & formatProperties = structureChain.template get(); - d.vkGetPhysicalDeviceFormatProperties2( m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + d.vkGetPhysicalDeviceFormatProperties2( + static_cast( m_physicalDevice ), static_cast( format ), reinterpret_cast( &formatProperties ) ); return structureChain; } @@ -6230,7 +8143,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6243,7 +8161,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d ) const { @@ -6255,7 +8178,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ImageFormatProperties2 imageFormatProperties; Result result = - static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); @@ -6265,11 +8188,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d ) const { @@ -6282,7 +8210,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; ImageFormatProperties2 & imageFormatProperties = structureChain.template get(); Result result = - static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceImageFormatProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); @@ -6293,7 +8221,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties2 * pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6305,10 +8238,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const { @@ -6320,10 +8258,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -6335,10 +8274,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( QueueFamilyProperties2Allocator const & queueFamilyProperties2Allocator, Dispatch const & d ) const { @@ -6350,10 +8294,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties( queueFamilyProperties2Allocator ); uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -6365,11 +8310,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( Dispatch const & d ) const { @@ -6382,15 +8332,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector structureChains; std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); structureChains.resize( queueFamilyPropertyCount ); queueFamilyProperties.resize( queueFamilyPropertyCount ); for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) { queueFamilyProperties[i].pNext = structureChains[i].template get().pNext; } - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -6406,11 +8357,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2( StructureChainAllocator const & structureChainAllocator, Dispatch const & d ) const { @@ -6423,15 +8379,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector structureChains( structureChainAllocator ); std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); structureChains.resize( queueFamilyPropertyCount ); queueFamilyProperties.resize( queueFamilyPropertyCount ); for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) { queueFamilyProperties[i].pNext = structureChains[i].template get().pNext; } - d.vkGetPhysicalDeviceQueueFamilyProperties2( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -6448,7 +8405,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2( PhysicalDeviceMemoryProperties2 * pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6460,7 +8422,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6470,18 +8437,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceMemoryProperties2 memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + d.vkGetPhysicalDeviceMemoryProperties2( static_cast( m_physicalDevice ), + reinterpret_cast( &memoryProperties ) ); return memoryProperties; } // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getMemoryProperties2( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6492,7 +8465,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get(); - d.vkGetPhysicalDeviceMemoryProperties2( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + d.vkGetPhysicalDeviceMemoryProperties2( static_cast( m_physicalDevice ), + reinterpret_cast( &memoryProperties ) ); return structureChain; } @@ -6500,7 +8474,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const * pFormatInfo, uint32_t * pPropertyCount, SparseImageFormatProperties2 * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -6515,10 +8494,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, Dispatch const & d ) const { @@ -6530,10 +8514,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties; uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast( m_physicalDevice ), + reinterpret_cast( &formatInfo ), + &propertyCount, + nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); @@ -6548,10 +8534,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, SparseImageFormatProperties2Allocator const & sparseImageFormatProperties2Allocator, @@ -6565,10 +8556,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties( sparseImageFormatProperties2Allocator ); uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2( - m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast( m_physicalDevice ), + reinterpret_cast( &formatInfo ), + &propertyCount, + nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast( m_physicalDevice ), reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); @@ -6583,7 +8576,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTrimCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkTrimCommandPool ) ) +#endif VULKAN_HPP_INLINE void Device::trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6591,7 +8589,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceQueue2 ) ) +#endif VULKAN_HPP_INLINE void Device::getQueue2( DeviceQueueInfo2 const * pQueueInfo, Queue * pQueue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6600,7 +8603,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceQueue2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Queue Device::getQueue2( DeviceQueueInfo2 const & queueInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -6609,7 +8617,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Queue queue; - d.vkGetDeviceQueue2( m_device, reinterpret_cast( &queueInfo ), reinterpret_cast( &queue ) ); + d.vkGetDeviceQueue2( static_cast( m_device ), reinterpret_cast( &queueInfo ), reinterpret_cast( &queue ) ); return queue; } @@ -6617,7 +8625,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferProperties( PhysicalDeviceExternalBufferInfo const * pExternalBufferInfo, ExternalBufferProperties * pExternalBufferProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -6631,7 +8644,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferProperties( PhysicalDeviceExternalBufferInfo const & externalBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6642,7 +8660,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalBufferProperties externalBufferProperties; - d.vkGetPhysicalDeviceExternalBufferProperties( m_physicalDevice, + d.vkGetPhysicalDeviceExternalBufferProperties( static_cast( m_physicalDevice ), reinterpret_cast( &externalBufferInfo ), reinterpret_cast( &externalBufferProperties ) ); @@ -6652,7 +8670,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFenceProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalFenceProperties( PhysicalDeviceExternalFenceInfo const * pExternalFenceInfo, ExternalFenceProperties * pExternalFenceProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -6666,7 +8689,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFenceProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFenceProperties( PhysicalDeviceExternalFenceInfo const & externalFenceInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6677,7 +8705,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalFenceProperties externalFenceProperties; - d.vkGetPhysicalDeviceExternalFenceProperties( m_physicalDevice, + d.vkGetPhysicalDeviceExternalFenceProperties( static_cast( m_physicalDevice ), reinterpret_cast( &externalFenceInfo ), reinterpret_cast( &externalFenceProperties ) ); @@ -6687,7 +8715,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphoreProperties ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphoreProperties( PhysicalDeviceExternalSemaphoreInfo const * pExternalSemaphoreInfo, ExternalSemaphoreProperties * pExternalSemaphoreProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -6701,7 +8734,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphoreProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphoreProperties( PhysicalDeviceExternalSemaphoreInfo const & externalSemaphoreInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6712,7 +8750,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalSemaphoreProperties externalSemaphoreProperties; - d.vkGetPhysicalDeviceExternalSemaphoreProperties( m_physicalDevice, + d.vkGetPhysicalDeviceExternalSemaphoreProperties( static_cast( m_physicalDevice ), reinterpret_cast( &externalSemaphoreInfo ), reinterpret_cast( &externalSemaphoreProperties ) ); @@ -6721,7 +8759,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatchBase, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBase.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchBase ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -6732,7 +8775,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorUpdateTemplate * pDescriptorUpdateTemplate, @@ -6748,7 +8796,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -6759,7 +8812,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( m_device, + Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); @@ -6771,7 +8824,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorUpdateTemplateUnique( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const @@ -6783,7 +8841,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( m_device, + Result result = static_cast( d.vkCreateDescriptorUpdateTemplate( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); @@ -6797,7 +8855,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6810,7 +8873,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6820,14 +8888,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroyDescriptorUpdateTemplate( - m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorUpdateTemplate( static_cast( m_device ), + static_cast( descriptorUpdateTemplate ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6840,7 +8914,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6850,14 +8929,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroyDescriptorUpdateTemplate( - m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorUpdateTemplate( static_cast( m_device ), + static_cast( descriptorUpdateTemplate ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUpdateDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplate ) ) +#endif VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6871,7 +8956,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplate ) ) +# endif VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6881,7 +8971,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkUpdateDescriptorSetWithTemplate( m_device, + d.vkUpdateDescriptorSetWithTemplate( static_cast( m_device ), static_cast( descriptorSet ), static_cast( descriptorUpdateTemplate ), reinterpret_cast( &data ) ); @@ -6890,7 +8980,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const * pCreateInfo, DescriptorSetLayoutSupport * pSupport, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6903,7 +8998,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6913,15 +9013,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorSetLayoutSupport support; - d.vkGetDescriptorSetLayoutSupport( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + d.vkGetDescriptorSetLayoutSupport( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &support ) ); return support; } // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -6932,8 +9038,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; DescriptorSetLayoutSupport & support = structureChain.template get(); - d.vkGetDescriptorSetLayoutSupport( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + d.vkGetDescriptorSetLayoutSupport( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &support ) ); return structureChain; } @@ -6941,7 +9048,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, SamplerYcbcrConversion * pYcbcrConversion, @@ -6957,7 +9069,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -6968,7 +9085,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversion( m_device, + Result result = static_cast( d.vkCreateSamplerYcbcrConversion( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &ycbcrConversion ) ) ); @@ -6980,7 +9097,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerYcbcrConversionUnique( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const @@ -6992,7 +9114,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversion( m_device, + Result result = static_cast( d.vkCreateSamplerYcbcrConversion( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &ycbcrConversion ) ) ); @@ -7006,7 +9128,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +#endif VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7019,7 +9146,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +# endif VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7029,14 +9161,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroySamplerYcbcrConversion( - m_device, static_cast( ycbcrConversion ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySamplerYcbcrConversion( static_cast( m_device ), + static_cast( ycbcrConversion ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7049,7 +9187,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7059,15 +9202,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroySamplerYcbcrConversion( - m_device, static_cast( ycbcrConversion ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySamplerYcbcrConversion( static_cast( m_device ), + static_cast( ycbcrConversion ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_VERSION_1_2 === // wrapper function for command vkResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkResetQueryPool ) ) +#endif VULKAN_HPP_INLINE void Device::resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7075,7 +9224,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValue ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValue( Semaphore semaphore, uint64_t * pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7085,7 +9239,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValue ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreCounterValue( Semaphore semaphore, Dispatch const & d ) const { @@ -7095,7 +9254,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint64_t value; - Result result = static_cast( d.vkGetSemaphoreCounterValue( m_device, static_cast( semaphore ), &value ) ); + Result result = static_cast( d.vkGetSemaphoreCounterValue( static_cast( m_device ), static_cast( semaphore ), &value ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValue" ); return detail::createResultValueType( result, std::move( value ) ); @@ -7103,7 +9262,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWaitSemaphores ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( SemaphoreWaitInfo const * pWaitInfo, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7113,7 +9277,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitSemaphores ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( SemaphoreWaitInfo const & waitInfo, uint64_t timeout, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7121,7 +9290,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkWaitSemaphores && "Function requires or " ); # endif - Result result = static_cast( d.vkWaitSemaphores( m_device, reinterpret_cast( &waitInfo ), timeout ) ); + Result result = + static_cast( d.vkWaitSemaphores( static_cast( m_device ), reinterpret_cast( &waitInfo ), timeout ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphores", { Result::eSuccess, Result::eTimeout } ); return static_cast( result ); @@ -7129,7 +9299,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSignalSemaphore ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphore( SemaphoreSignalInfo const * pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7138,7 +9313,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSignalSemaphore ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::signalSemaphore( SemaphoreSignalInfo const & signalInfo, Dispatch const & d ) const { @@ -7147,7 +9327,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSignalSemaphore && "Function requires or " ); # endif - Result result = static_cast( d.vkSignalSemaphore( m_device, reinterpret_cast( &signalInfo ) ) ); + Result result = + static_cast( d.vkSignalSemaphore( static_cast( m_device ), reinterpret_cast( &signalInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphore" ); return detail::createResultValueType( result ); @@ -7155,7 +9336,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddress ) ) +#endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( BufferDeviceAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7165,7 +9351,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddress ) ) +# endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( BufferDeviceAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7174,7 +9365,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - VkDeviceAddress result = d.vkGetBufferDeviceAddress( m_device, reinterpret_cast( &info ) ); + VkDeviceAddress result = d.vkGetBufferDeviceAddress( static_cast( m_device ), reinterpret_cast( &info ) ); return static_cast( result ); } @@ -7182,7 +9373,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddress ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( BufferDeviceAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7192,7 +9388,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddress ) ) +# endif VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( BufferDeviceAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7201,7 +9402,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - uint64_t result = d.vkGetBufferOpaqueCaptureAddress( m_device, reinterpret_cast( &info ) ); + uint64_t result = d.vkGetBufferOpaqueCaptureAddress( static_cast( m_device ), reinterpret_cast( &info ) ); return result; } @@ -7209,7 +9410,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddress ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddress( DeviceMemoryOpaqueCaptureAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7221,7 +9427,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddress ) ) +# endif VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddress( DeviceMemoryOpaqueCaptureAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7231,14 +9442,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - uint64_t result = d.vkGetDeviceMemoryOpaqueCaptureAddress( m_device, reinterpret_cast( &info ) ); + uint64_t result = + d.vkGetDeviceMemoryOpaqueCaptureAddress( static_cast( m_device ), reinterpret_cast( &info ) ); return result; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirectCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -7255,7 +9472,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCount, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -7271,7 +9493,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass2( RenderPassCreateInfo2 const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7284,7 +9511,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass2( RenderPassCreateInfo2 const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -7294,7 +9526,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass2( m_device, + Result result = static_cast( d.vkCreateRenderPass2( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -7305,7 +9537,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPass2Unique( RenderPassCreateInfo2 const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -7315,7 +9552,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass2( m_device, + Result result = static_cast( d.vkCreateRenderPass2( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -7328,7 +9565,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( RenderPassBeginInfo const * pRenderPassBegin, SubpassBeginInfo const * pSubpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7340,7 +9582,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( RenderPassBeginInfo const & renderPassBegin, SubpassBeginInfo const & subpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7349,13 +9596,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginRenderPass2 && "Function requires or " ); # endif - d.vkCmdBeginRenderPass2( - m_commandBuffer, reinterpret_cast( &renderPassBegin ), reinterpret_cast( &subpassBeginInfo ) ); + d.vkCmdBeginRenderPass2( static_cast( m_commandBuffer ), + reinterpret_cast( &renderPassBegin ), + reinterpret_cast( &subpassBeginInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( SubpassBeginInfo const * pSubpassBeginInfo, SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7367,7 +9620,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( SubpassBeginInfo const & subpassBeginInfo, SubpassEndInfo const & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7376,13 +9634,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdNextSubpass2 && "Function requires or " ); # endif - d.vkCmdNextSubpass2( - m_commandBuffer, reinterpret_cast( &subpassBeginInfo ), reinterpret_cast( &subpassEndInfo ) ); + d.vkCmdNextSubpass2( static_cast( m_commandBuffer ), + reinterpret_cast( &subpassBeginInfo ), + reinterpret_cast( &subpassEndInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7391,7 +9655,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( SubpassEndInfo const & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7399,7 +9668,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndRenderPass2 && "Function requires or " ); # endif - d.vkCmdEndRenderPass2( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); + d.vkCmdEndRenderPass2( static_cast( m_commandBuffer ), reinterpret_cast( &subpassEndInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7407,7 +9676,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getToolProperties( uint32_t * pToolCount, PhysicalDeviceToolProperties * pToolProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7419,10 +9693,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceToolPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolProperties( Dispatch const & d ) const { @@ -7437,12 +9716,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceToolProperties( m_physicalDevice, &toolCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceToolProperties( static_cast( m_physicalDevice ), &toolCount, nullptr ) ); if ( ( result == Result::eSuccess ) && toolCount ) { toolProperties.resize( toolCount ); - result = static_cast( - d.vkGetPhysicalDeviceToolProperties( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceToolProperties( + static_cast( m_physicalDevice ), &toolCount, reinterpret_cast( toolProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolProperties" ); @@ -7456,10 +9735,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceToolPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolProperties( PhysicalDeviceToolPropertiesAllocator const & physicalDeviceToolPropertiesAllocator, Dispatch const & d ) const { @@ -7474,12 +9758,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceToolProperties( m_physicalDevice, &toolCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceToolProperties( static_cast( m_physicalDevice ), &toolCount, nullptr ) ); if ( ( result == Result::eSuccess ) && toolCount ) { toolProperties.resize( toolCount ); - result = static_cast( - d.vkGetPhysicalDeviceToolProperties( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceToolProperties( + static_cast( m_physicalDevice ), &toolCount, reinterpret_cast( toolProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolProperties" ); @@ -7493,7 +9777,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPrivateDataSlot( PrivateDataSlotCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PrivateDataSlot * pPrivateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -7507,7 +9796,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createPrivateDataSlot( PrivateDataSlotCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -7517,7 +9811,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PrivateDataSlot privateDataSlot; - Result result = static_cast( d.vkCreatePrivateDataSlot( m_device, + Result result = static_cast( d.vkCreatePrivateDataSlot( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &privateDataSlot ) ) ); @@ -7528,7 +9822,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPrivateDataSlotUnique( PrivateDataSlotCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -7538,7 +9837,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PrivateDataSlot privateDataSlot; - Result result = static_cast( d.vkCreatePrivateDataSlot( m_device, + Result result = static_cast( d.vkCreatePrivateDataSlot( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &privateDataSlot ) ) ); @@ -7551,7 +9850,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPrivateDataSlot( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7562,7 +9866,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPrivateDataSlot( PrivateDataSlot privateDataSlot, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7571,13 +9880,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPrivateDataSlot && "Function requires or " ); # endif - d.vkDestroyPrivateDataSlot( - m_device, static_cast( privateDataSlot ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPrivateDataSlot( static_cast( m_device ), + static_cast( privateDataSlot ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7588,7 +9903,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( PrivateDataSlot privateDataSlot, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7597,14 +9917,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPrivateDataSlot && "Function requires or " ); # endif - d.vkDestroyPrivateDataSlot( - m_device, static_cast( privateDataSlot ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPrivateDataSlot( static_cast( m_device ), + static_cast( privateDataSlot ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setPrivateData( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7614,7 +9940,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setPrivateData( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t data, Dispatch const & d ) const { @@ -7623,8 +9954,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetPrivateData && "Function requires or " ); # endif - Result result = static_cast( - d.vkSetPrivateData( m_device, static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), data ) ); + Result result = static_cast( d.vkSetPrivateData( + static_cast( m_device ), static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setPrivateData" ); return detail::createResultValueType( result ); @@ -7632,7 +9963,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPrivateData ) ) +#endif VULKAN_HPP_INLINE void Device::getPrivateData( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7643,7 +9979,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getPrivateData( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7653,14 +9994,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint64_t data; - d.vkGetPrivateData( m_device, static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), &data ); + d.vkGetPrivateData( + static_cast( m_device ), static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), &data ); return data; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2( DependencyInfo const * pDependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7669,7 +10016,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2( DependencyInfo const & dependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7677,12 +10029,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPipelineBarrier2 && "Function requires or " ); # endif - d.vkCmdPipelineBarrier2( m_commandBuffer, reinterpret_cast( &dependencyInfo ) ); + d.vkCmdPipelineBarrier2( static_cast( m_commandBuffer ), reinterpret_cast( &dependencyInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteTimestamp2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp2( PipelineStageFlags2 stage, QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7692,7 +10049,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::submit2( uint32_t submitCount, SubmitInfo2 const * pSubmits, Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7703,7 +10065,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::submit2( ArrayProxy const & submits, Fence fence, Dispatch const & d ) const { @@ -7712,8 +10079,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueSubmit2 && "Function requires or " ); # endif - Result result = static_cast( - d.vkQueueSubmit2( m_queue, submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); + Result result = static_cast( d.vkQueueSubmit2( + static_cast( m_queue ), submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit2" ); return detail::createResultValueType( result ); @@ -7721,7 +10088,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2( CopyBufferInfo2 const * pCopyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7730,7 +10102,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2( CopyBufferInfo2 const & copyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7738,12 +10115,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBuffer2 && "Function requires or " ); # endif - d.vkCmdCopyBuffer2( m_commandBuffer, reinterpret_cast( ©BufferInfo ) ); + d.vkCmdCopyBuffer2( static_cast( m_commandBuffer ), reinterpret_cast( ©BufferInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImage2( CopyImageInfo2 const * pCopyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7752,7 +10134,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImage2( CopyImageInfo2 const & copyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7760,12 +10147,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImage2 && "Function requires or " ); # endif - d.vkCmdCopyImage2( m_commandBuffer, reinterpret_cast( ©ImageInfo ) ); + d.vkCmdCopyImage2( static_cast( m_commandBuffer ), reinterpret_cast( ©ImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2( CopyBufferToImageInfo2 const * pCopyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7775,7 +10167,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2( CopyBufferToImageInfo2 const & copyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7783,12 +10180,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBufferToImage2 && "Function requires or " ); # endif - d.vkCmdCopyBufferToImage2( m_commandBuffer, reinterpret_cast( ©BufferToImageInfo ) ); + d.vkCmdCopyBufferToImage2( static_cast( m_commandBuffer ), reinterpret_cast( ©BufferToImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2( CopyImageToBufferInfo2 const * pCopyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7798,7 +10200,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2( CopyImageToBufferInfo2 const & copyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -7806,13 +10213,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImageToBuffer2 && "Function requires or " ); # endif - d.vkCmdCopyImageToBuffer2( m_commandBuffer, reinterpret_cast( ©ImageToBufferInfo ) ); + d.vkCmdCopyImageToBuffer2( static_cast( m_commandBuffer ), reinterpret_cast( ©ImageToBufferInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements( DeviceBufferMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7825,7 +10237,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements( DeviceBufferMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7836,15 +10253,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDeviceBufferMemoryRequirements( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceBufferMemoryRequirements( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirements( DeviceBufferMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7856,8 +10279,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDeviceBufferMemoryRequirements( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceBufferMemoryRequirements( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -7865,7 +10289,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getImageMemoryRequirements( DeviceImageMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7878,7 +10307,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7889,15 +10323,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDeviceImageMemoryRequirements( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceImageMemoryRequirements( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -7909,8 +10349,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDeviceImageMemoryRequirements( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceImageMemoryRequirements( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -7918,7 +10359,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -7934,11 +10380,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const { @@ -7951,9 +10402,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements; uint32_t sparseMemoryRequirementCount; d.vkGetDeviceImageSparseMemoryRequirements( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetDeviceImageSparseMemoryRequirements( m_device, + d.vkGetDeviceImageSparseMemoryRequirements( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -7968,11 +10419,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, Dispatch const & d ) @@ -7987,9 +10443,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); uint32_t sparseMemoryRequirementCount; d.vkGetDeviceImageSparseMemoryRequirements( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetDeviceImageSparseMemoryRequirements( m_device, + d.vkGetDeviceImageSparseMemoryRequirements( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -8004,7 +10460,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setEvent2( Event event, DependencyInfo const * pDependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8014,7 +10475,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetEvent2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setEvent2( Event event, DependencyInfo const & dependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8022,12 +10488,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetEvent2 && "Function requires or " ); # endif - d.vkCmdSetEvent2( m_commandBuffer, static_cast( event ), reinterpret_cast( &dependencyInfo ) ); + d.vkCmdSetEvent2( + static_cast( m_commandBuffer ), static_cast( event ), reinterpret_cast( &dependencyInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resetEvent2( Event event, PipelineStageFlags2 stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8035,7 +10507,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents2( uint32_t eventCount, Event const * pEvents, DependencyInfo const * pDependencyInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8048,7 +10525,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents2( ArrayProxy const & events, ArrayProxy const & dependencyInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS @@ -8066,7 +10548,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdWaitEvents2( m_commandBuffer, + d.vkCmdWaitEvents2( static_cast( m_commandBuffer ), events.size(), reinterpret_cast( events.data() ), reinterpret_cast( dependencyInfos.data() ) ); @@ -8074,7 +10556,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::blitImage2( BlitImageInfo2 const * pBlitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8083,7 +10570,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::blitImage2( BlitImageInfo2 const & blitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8091,12 +10583,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBlitImage2 && "Function requires or " ); # endif - d.vkCmdBlitImage2( m_commandBuffer, reinterpret_cast( &blitImageInfo ) ); + d.vkCmdBlitImage2( static_cast( m_commandBuffer ), reinterpret_cast( &blitImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage2( ResolveImageInfo2 const * pResolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8105,7 +10602,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage2( ResolveImageInfo2 const & resolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8113,12 +10615,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdResolveImage2 && "Function requires or " ); # endif - d.vkCmdResolveImage2( m_commandBuffer, reinterpret_cast( &resolveImageInfo ) ); + d.vkCmdResolveImage2( static_cast( m_commandBuffer ), reinterpret_cast( &resolveImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRendering ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginRendering( RenderingInfo const * pRenderingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8127,7 +10634,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRendering ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginRendering( RenderingInfo const & renderingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8135,12 +10647,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginRendering && "Function requires or " ); # endif - d.vkCmdBeginRendering( m_commandBuffer, reinterpret_cast( &renderingInfo ) ); + d.vkCmdBeginRendering( static_cast( m_commandBuffer ), reinterpret_cast( &renderingInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRendering( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8148,7 +10665,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetCullMode, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullMode.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCullMode ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCullMode( CullModeFlags cullMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8156,7 +10678,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetFrontFace, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFace.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetFrontFace ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setFrontFace( FrontFace frontFace, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8164,7 +10691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetPrimitiveTopology, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopology.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveTopology ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveTopology( PrimitiveTopology primitiveTopology, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8172,7 +10704,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCount ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCount( uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8182,7 +10719,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCount ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCount( ArrayProxy const & viewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8191,12 +10733,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdSetViewportWithCount( m_commandBuffer, viewports.size(), reinterpret_cast( viewports.data() ) ); + d.vkCmdSetViewportWithCount( static_cast( m_commandBuffer ), viewports.size(), reinterpret_cast( viewports.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCount ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCount( uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8205,7 +10752,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCount ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCount( ArrayProxy const & scissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8214,12 +10766,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdSetScissorWithCount( m_commandBuffer, scissors.size(), reinterpret_cast( scissors.data() ) ); + d.vkCmdSetScissorWithCount( static_cast( m_commandBuffer ), scissors.size(), reinterpret_cast( scissors.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -8240,7 +10797,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -8272,7 +10834,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBindVertexBuffers2( m_commandBuffer, + d.vkCmdBindVertexBuffers2( static_cast( m_commandBuffer ), firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), @@ -8283,7 +10845,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthTestEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnable( Bool32 depthTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8291,7 +10858,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthWriteEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthWriteEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnable( Bool32 depthWriteEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8299,7 +10871,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthCompareOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthCompareOp ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOp( CompareOp depthCompareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8308,7 +10885,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDepthBoundsTestEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBoundsTestEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8316,7 +10898,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilTestEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnable( Bool32 stencilTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8324,7 +10911,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilOp ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilOp( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8339,7 +10931,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRasterizerDiscardEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizerDiscardEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8347,7 +10944,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthBiasEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBiasEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBiasEnable( Bool32 depthBiasEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8356,7 +10958,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPrimitiveRestartEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartEnable ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveRestartEnable( Bool32 primitiveRestartEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8366,7 +10973,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_4 === // wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkMapMemory2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory2( MemoryMapInfo const * pMemoryMapInfo, void ** ppData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8376,7 +10988,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkMapMemory2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::mapMemory2( MemoryMapInfo const & memoryMapInfo, Dispatch const & d ) const { @@ -8386,7 +11003,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif void * pData; - Result result = static_cast( d.vkMapMemory2( m_device, reinterpret_cast( &memoryMapInfo ), &pData ) ); + Result result = + static_cast( d.vkMapMemory2( static_cast( m_device ), reinterpret_cast( &memoryMapInfo ), &pData ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory2" ); return detail::createResultValueType( result, std::move( pData ) ); @@ -8394,7 +11012,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory2 ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::unmapMemory2( MemoryUnmapInfo const * pMemoryUnmapInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8403,7 +11026,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUnmapMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::unmapMemory2( MemoryUnmapInfo const & memoryUnmapInfo, Dispatch const & d ) const { @@ -8412,7 +11040,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkUnmapMemory2 && "Function requires or " ); # endif - Result result = static_cast( d.vkUnmapMemory2( m_device, reinterpret_cast( &memoryUnmapInfo ) ) ); + Result result = + static_cast( d.vkUnmapMemory2( static_cast( m_device ), reinterpret_cast( &memoryUnmapInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::unmapMemory2" ); return detail::createResultValueType( result ); @@ -8421,7 +11050,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayout( DeviceImageSubresourceInfo const * pInfo, SubresourceLayout2 * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8433,7 +11067,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Device::getImageSubresourceLayout( DeviceImageSubresourceInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8445,14 +11084,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE SubresourceLayout2 layout; d.vkGetDeviceImageSubresourceLayout( - m_device, reinterpret_cast( &info ), reinterpret_cast( &layout ) ); + static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &layout ) ); return layout; } // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageSubresourceLayout( DeviceImageSubresourceInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8465,14 +11109,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SubresourceLayout2 & layout = structureChain.template get(); d.vkGetDeviceImageSubresourceLayout( - m_device, reinterpret_cast( &info ), reinterpret_cast( &layout ) ); + static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &layout ) ); return structureChain; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageSubresourceLayout2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayout2( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8485,7 +11134,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Device::getImageSubresourceLayout2( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8497,7 +11151,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SubresourceLayout2 layout; - d.vkGetImageSubresourceLayout2( m_device, + d.vkGetImageSubresourceLayout2( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -8506,7 +11160,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetImageSubresourceLayout2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageSubresourceLayout2( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8519,7 +11178,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SubresourceLayout2 & layout = structureChain.template get(); - d.vkGetImageSubresourceLayout2( m_device, + d.vkGetImageSubresourceLayout2( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -8529,7 +11188,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToImage ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToImage( CopyMemoryToImageInfo const * pCopyMemoryToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8540,7 +11204,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToImage ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyMemoryToImage( CopyMemoryToImageInfo const & copyMemoryToImageInfo, Dispatch const & d ) const { @@ -8549,7 +11218,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyMemoryToImage && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyMemoryToImage( m_device, reinterpret_cast( ©MemoryToImageInfo ) ) ); + Result result = static_cast( + d.vkCopyMemoryToImage( static_cast( m_device ), reinterpret_cast( ©MemoryToImageInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToImage" ); return detail::createResultValueType( result ); @@ -8557,7 +11227,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyImageToMemory ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyImageToMemory( CopyImageToMemoryInfo const * pCopyImageToMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8568,7 +11243,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyImageToMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyImageToMemory( CopyImageToMemoryInfo const & copyImageToMemoryInfo, Dispatch const & d ) const { @@ -8577,7 +11257,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyImageToMemory && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyImageToMemory( m_device, reinterpret_cast( ©ImageToMemoryInfo ) ) ); + Result result = static_cast( + d.vkCopyImageToMemory( static_cast( m_device ), reinterpret_cast( ©ImageToMemoryInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyImageToMemory" ); return detail::createResultValueType( result ); @@ -8585,7 +11266,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyImageToImage ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyImageToImage( CopyImageToImageInfo const * pCopyImageToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8596,7 +11282,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyImageToImage ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyImageToImage( CopyImageToImageInfo const & copyImageToImageInfo, Dispatch const & d ) const { @@ -8605,7 +11296,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyImageToImage && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyImageToImage( m_device, reinterpret_cast( ©ImageToImageInfo ) ) ); + Result result = static_cast( + d.vkCopyImageToImage( static_cast( m_device ), reinterpret_cast( ©ImageToImageInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyImageToImage" ); return detail::createResultValueType( result ); @@ -8613,7 +11305,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkTransitionImageLayout ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::transitionImageLayout( uint32_t transitionCount, HostImageLayoutTransitionInfo const * pTransitions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8624,7 +11321,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkTransitionImageLayout ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::transitionImageLayout( ArrayProxy const & transitions, Dispatch const & d ) const { @@ -8633,8 +11335,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkTransitionImageLayout && "Function requires or " ); # endif - Result result = static_cast( - d.vkTransitionImageLayout( m_device, transitions.size(), reinterpret_cast( transitions.data() ) ) ); + Result result = static_cast( d.vkTransitionImageLayout( + static_cast( m_device ), transitions.size(), reinterpret_cast( transitions.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::transitionImageLayout" ); return detail::createResultValueType( result ); @@ -8642,7 +11344,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -8661,7 +11368,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -8673,7 +11385,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushDescriptorSet && "Function requires or " ); # endif - d.vkCmdPushDescriptorSet( m_commandBuffer, + d.vkCmdPushDescriptorSet( static_cast( m_commandBuffer ), static_cast( pipelineBindPoint ), static_cast( layout ), set, @@ -8684,7 +11396,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPushDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8699,7 +11416,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, DataType const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -8711,7 +11433,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdPushDescriptorSetWithTemplate( m_commandBuffer, + d.vkCmdPushDescriptorSetWithTemplate( static_cast( m_commandBuffer ), static_cast( descriptorUpdateTemplate ), static_cast( layout ), set, @@ -8720,7 +11442,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2( BindDescriptorSetsInfo const * pBindDescriptorSetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8731,7 +11458,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2( BindDescriptorSetsInfo const & bindDescriptorSetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8740,12 +11472,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindDescriptorSets2 && "Function requires or " ); # endif - d.vkCmdBindDescriptorSets2( m_commandBuffer, reinterpret_cast( &bindDescriptorSetsInfo ) ); + d.vkCmdBindDescriptorSets2( static_cast( m_commandBuffer ), + reinterpret_cast( &bindDescriptorSetsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants2( PushConstantsInfo const * pPushConstantsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8754,7 +11492,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants2( PushConstantsInfo const & pushConstantsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8762,12 +11505,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushConstants2 && "Function requires or " ); # endif - d.vkCmdPushConstants2( m_commandBuffer, reinterpret_cast( &pushConstantsInfo ) ); + d.vkCmdPushConstants2( static_cast( m_commandBuffer ), reinterpret_cast( &pushConstantsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2( PushDescriptorSetInfo const * pPushDescriptorSetInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8776,7 +11524,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2( PushDescriptorSetInfo const & pushDescriptorSetInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8784,13 +11537,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushDescriptorSet2 && "Function requires or " ); # endif - d.vkCmdPushDescriptorSet2( m_commandBuffer, reinterpret_cast( &pushDescriptorSetInfo ) ); + d.vkCmdPushDescriptorSet2( static_cast( m_commandBuffer ), reinterpret_cast( &pushDescriptorSetInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate2( PushDescriptorSetWithTemplateInfo const * pPushDescriptorSetWithTemplateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8802,7 +11560,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2 ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate2( PushDescriptorSetWithTemplateInfo const & pushDescriptorSetWithTemplateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8812,13 +11575,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdPushDescriptorSetWithTemplate2( m_commandBuffer, + d.vkCmdPushDescriptorSetWithTemplate2( static_cast( m_commandBuffer ), reinterpret_cast( &pushDescriptorSetWithTemplateInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetLineStipple, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStipple.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStipple ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineStipple( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8826,7 +11594,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdBindIndexBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer2 ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer2( Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8840,7 +11613,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRenderingAreaGranularity, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularity ) ) +#endif VULKAN_HPP_INLINE void Device::getRenderingAreaGranularity( RenderingAreaInfo const * pRenderingAreaInfo, Extent2D * pGranularity, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8852,7 +11630,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderingAreaGranularity, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularity ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D Device::getRenderingAreaGranularity( RenderingAreaInfo const & renderingAreaInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8863,7 +11646,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Extent2D granularity; d.vkGetRenderingAreaGranularity( - m_device, reinterpret_cast( &renderingAreaInfo ), reinterpret_cast( &granularity ) ); + static_cast( m_device ), reinterpret_cast( &renderingAreaInfo ), reinterpret_cast( &granularity ) ); return granularity; } @@ -8871,7 +11654,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRenderingAttachmentLocations, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocations ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocations( RenderingAttachmentLocationInfo const * pLocationInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8883,7 +11671,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingAttachmentLocations, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocations ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocations( RenderingAttachmentLocationInfo const & locationInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8893,13 +11686,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetRenderingAttachmentLocations( m_commandBuffer, reinterpret_cast( &locationInfo ) ); + d.vkCmdSetRenderingAttachmentLocations( static_cast( m_commandBuffer ), + reinterpret_cast( &locationInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndices ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndices( RenderingInputAttachmentIndexInfo const * pInputAttachmentIndexInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8911,7 +11710,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndices ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndices( RenderingInputAttachmentIndexInfo const & inputAttachmentIndexInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8921,14 +11725,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetRenderingInputAttachmentIndices( m_commandBuffer, reinterpret_cast( &inputAttachmentIndexInfo ) ); + d.vkCmdSetRenderingInputAttachmentIndices( static_cast( m_commandBuffer ), + reinterpret_cast( &inputAttachmentIndexInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_surface === // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +#endif VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8938,7 +11748,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +# endif VULKAN_HPP_INLINE void Instance::destroySurfaceKHR( SurfaceKHR surface, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8947,12 +11762,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySurfaceKHR && "Function requires " ); # endif - d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySurfaceKHR( + static_cast( m_instance ), static_cast( surface ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +#endif VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8962,7 +11783,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +# endif VULKAN_HPP_INLINE void Instance::destroy( SurfaceKHR surface, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -8970,13 +11796,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySurfaceKHR && "Function requires " ); # endif - d.vkDestroySurfaceKHR( m_instance, static_cast( surface ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySurfaceKHR( + static_cast( m_instance ), static_cast( surface ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceSupportKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32 * pSupported, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -8988,7 +11820,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const & d ) const { @@ -8999,7 +11836,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Bool32 supported; Result result = static_cast( d.vkGetPhysicalDeviceSurfaceSupportKHR( - m_physicalDevice, queueFamilyIndex, static_cast( surface ), reinterpret_cast( &supported ) ) ); + static_cast( m_physicalDevice ), queueFamilyIndex, static_cast( surface ), reinterpret_cast( &supported ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceSupportKHR" ); return detail::createResultValueType( result, std::move( supported ) ); @@ -9008,7 +11845,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR * pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9021,7 +11863,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const & d ) const { @@ -9031,8 +11878,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceCapabilitiesKHR surfaceCapabilities; - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( - m_physicalDevice, static_cast( surface ), reinterpret_cast( &surfaceCapabilities ) ) ); + Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilitiesKHR( static_cast( m_physicalDevice ), + static_cast( surface ), + reinterpret_cast( &surfaceCapabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilitiesKHR" ); return detail::createResultValueType( result, std::move( surfaceCapabilities ) ); @@ -9041,7 +11889,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t * pSurfaceFormatCount, SurfaceFormatKHR * pSurfaceFormats, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9055,10 +11908,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SurfaceFormatKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, Dispatch const & d ) const { @@ -9072,13 +11930,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &surfaceFormatCount, nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( - m_physicalDevice, static_cast( surface ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( static_cast( m_physicalDevice ), + static_cast( surface ), + &surfaceFormatCount, + reinterpret_cast( surfaceFormats.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); @@ -9092,10 +11952,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SurfaceFormatKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormatsKHR( SurfaceKHR surface, SurfaceFormatKHRAllocator const & surfaceFormatKHRAllocator, Dispatch const & d ) const { @@ -9109,13 +11974,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( m_physicalDevice, static_cast( surface ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &surfaceFormatCount, nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( - m_physicalDevice, static_cast( surface ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormatsKHR( static_cast( m_physicalDevice ), + static_cast( surface ), + &surfaceFormatCount, + reinterpret_cast( surfaceFormats.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); @@ -9130,7 +11997,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t * pPresentModeCount, PresentModeKHR * pPresentModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9144,10 +12016,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PresentModeKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const & d ) const { @@ -9161,13 +12038,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &presentModeCount, nullptr ) ); if ( ( result == Result::eSuccess ) && presentModeCount ) { presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( - m_physicalDevice, static_cast( surface ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( static_cast( m_physicalDevice ), + static_cast( surface ), + &presentModeCount, + reinterpret_cast( presentModes.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); @@ -9181,10 +12060,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PresentModeKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModesKHR( SurfaceKHR surface, PresentModeKHRAllocator const & presentModeKHRAllocator, Dispatch const & d ) const { @@ -9198,13 +12082,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPhysicalDeviceSurfacePresentModesKHR( m_physicalDevice, static_cast( surface ), &presentModeCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &presentModeCount, nullptr ) ); if ( ( result == Result::eSuccess ) && presentModeCount ) { presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( - m_physicalDevice, static_cast( surface ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModesKHR( static_cast( m_physicalDevice ), + static_cast( surface ), + &presentModeCount, + reinterpret_cast( presentModes.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); @@ -9220,7 +12106,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_swapchain === // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSwapchainKHR( SwapchainCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SwapchainKHR * pSwapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -9234,7 +12125,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -9244,7 +12140,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SwapchainKHR swapchain; - Result result = static_cast( d.vkCreateSwapchainKHR( m_device, + Result result = static_cast( d.vkCreateSwapchainKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &swapchain ) ) ); @@ -9255,7 +12151,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSwapchainKHRUnique( SwapchainCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -9265,7 +12166,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SwapchainKHR swapchain; - Result result = static_cast( d.vkCreateSwapchainKHR( m_device, + Result result = static_cast( d.vkCreateSwapchainKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &swapchain ) ) ); @@ -9278,7 +12179,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9289,7 +12195,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroySwapchainKHR( SwapchainKHR swapchain, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9298,12 +12209,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySwapchainKHR && "Function requires " ); # endif - d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySwapchainKHR( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -9313,7 +12230,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( SwapchainKHR swapchain, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -9321,12 +12243,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroySwapchainKHR && "Function requires " ); # endif - d.vkDestroySwapchainKHR( m_device, static_cast( swapchain ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySwapchainKHR( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t * pSwapchainImageCount, Image * pSwapchainImages, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9337,10 +12265,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ImageAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const & d ) const { @@ -9354,12 +12287,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); + result = static_cast( + d.vkGetSwapchainImagesKHR( static_cast( m_device ), static_cast( swapchain ), &swapchainImageCount, nullptr ) ); if ( ( result == Result::eSuccess ) && swapchainImageCount ) { swapchainImages.resize( swapchainImageCount ); - result = static_cast( d.vkGetSwapchainImagesKHR( - m_device, static_cast( swapchain ), &swapchainImageCount, reinterpret_cast( swapchainImages.data() ) ) ); + result = static_cast( d.vkGetSwapchainImagesKHR( static_cast( m_device ), + static_cast( swapchain ), + &swapchainImageCount, + reinterpret_cast( swapchainImages.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainImagesKHR" ); @@ -9372,10 +12308,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ImageAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getSwapchainImagesKHR( SwapchainKHR swapchain, ImageAllocator const & imageAllocator, Dispatch const & d ) const { @@ -9389,12 +12330,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetSwapchainImagesKHR( m_device, static_cast( swapchain ), &swapchainImageCount, nullptr ) ); + result = static_cast( + d.vkGetSwapchainImagesKHR( static_cast( m_device ), static_cast( swapchain ), &swapchainImageCount, nullptr ) ); if ( ( result == Result::eSuccess ) && swapchainImageCount ) { swapchainImages.resize( swapchainImageCount ); - result = static_cast( d.vkGetSwapchainImagesKHR( - m_device, static_cast( swapchain ), &swapchainImageCount, reinterpret_cast( swapchainImages.data() ) ) ); + result = static_cast( d.vkGetSwapchainImagesKHR( static_cast( m_device ), + static_cast( swapchain ), + &swapchainImageCount, + reinterpret_cast( swapchainImages.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainImagesKHR" ); @@ -9408,7 +12352,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAcquireNextImageKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, uint32_t * pImageIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9423,7 +12372,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireNextImageKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, Fence fence, Dispatch const & d ) const { @@ -9433,8 +12387,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t imageIndex; - Result result = static_cast( d.vkAcquireNextImageKHR( - m_device, static_cast( swapchain ), timeout, static_cast( semaphore ), static_cast( fence ), &imageIndex ) ); + Result result = static_cast( d.vkAcquireNextImageKHR( static_cast( m_device ), + static_cast( swapchain ), + timeout, + static_cast( semaphore ), + static_cast( fence ), + &imageIndex ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, @@ -9450,7 +12408,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueuePresentKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( PresentInfoKHR const * pPresentInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -9459,7 +12422,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueuePresentKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( PresentInfoKHR const & presentInfo, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -9467,7 +12435,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueuePresentKHR && "Function requires " ); # endif - Result result = static_cast( d.vkQueuePresentKHR( m_queue, reinterpret_cast( &presentInfo ) ) ); + Result result = static_cast( d.vkQueuePresentKHR( static_cast( m_queue ), reinterpret_cast( &presentInfo ) ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::presentKHR", { Result::eSuccess, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); @@ -9481,7 +12449,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPresentCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR * pDeviceGroupPresentCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9493,7 +12466,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPresentCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupPresentCapabilitiesKHR( Dispatch const & d ) const { @@ -9504,8 +12482,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities; - Result result = static_cast( - d.vkGetDeviceGroupPresentCapabilitiesKHR( m_device, reinterpret_cast( &deviceGroupPresentCapabilities ) ) ); + Result result = static_cast( d.vkGetDeviceGroupPresentCapabilitiesKHR( + static_cast( m_device ), reinterpret_cast( &deviceGroupPresentCapabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupPresentCapabilitiesKHR" ); return detail::createResultValueType( result, std::move( deviceGroupPresentCapabilities ) ); @@ -9514,7 +12492,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR * pModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9526,7 +12509,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const & d ) const { @@ -9538,7 +12526,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DeviceGroupPresentModeFlagsKHR modes; Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModesKHR( - m_device, static_cast( surface ), reinterpret_cast( &modes ) ) ); + static_cast( m_device ), static_cast( surface ), reinterpret_cast( &modes ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModesKHR" ); return detail::createResultValueType( result, std::move( modes ) ); @@ -9547,7 +12535,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, uint32_t * pRectCount, Rect2D * pRects, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9559,10 +12552,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Rect2DAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const & d ) const { @@ -9577,12 +12575,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &rectCount, nullptr ) ); if ( ( result == Result::eSuccess ) && rectCount ) { rects.resize( rectCount ); result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( - m_physicalDevice, static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); + static_cast( m_physicalDevice ), static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getPresentRectanglesKHR" ); @@ -9596,10 +12595,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Rect2DAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getPresentRectanglesKHR( SurfaceKHR surface, Rect2DAllocator const & rect2DAllocator, Dispatch const & d ) const { @@ -9614,12 +12618,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( m_physicalDevice, static_cast( surface ), &rectCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( + static_cast( m_physicalDevice ), static_cast( surface ), &rectCount, nullptr ) ); if ( ( result == Result::eSuccess ) && rectCount ) { rects.resize( rectCount ); result = static_cast( d.vkGetPhysicalDevicePresentRectanglesKHR( - m_physicalDevice, static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); + static_cast( m_physicalDevice ), static_cast( surface ), &rectCount, reinterpret_cast( rects.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getPresentRectanglesKHR" ); @@ -9633,7 +12638,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAcquireNextImage2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireNextImage2KHR( AcquireNextImageInfoKHR const * pAcquireInfo, uint32_t * pImageIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9644,7 +12654,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireNextImage2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::acquireNextImage2KHR( AcquireNextImageInfoKHR const & acquireInfo, Dispatch const & d ) const { @@ -9654,8 +12669,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t imageIndex; - Result result = - static_cast( d.vkAcquireNextImage2KHR( m_device, reinterpret_cast( &acquireInfo ), &imageIndex ) ); + Result result = static_cast( + d.vkAcquireNextImage2KHR( static_cast( m_device ), reinterpret_cast( &acquireInfo ), &imageIndex ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, @@ -9674,7 +12689,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPropertiesKHR( uint32_t * pPropertyCount, DisplayPropertiesKHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9686,10 +12706,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPropertiesKHR( Dispatch const & d ) const { @@ -9703,12 +12728,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPropertiesKHR" ); @@ -9722,10 +12747,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator const & displayPropertiesKHRAllocator, Dispatch const & d ) const { @@ -9739,12 +12769,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkGetPhysicalDeviceDisplayPropertiesKHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayPropertiesKHR( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPropertiesKHR" ); @@ -9759,7 +12789,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlanePropertiesKHR( uint32_t * pPropertyCount, DisplayPlanePropertiesKHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9771,10 +12806,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPlanePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlanePropertiesKHR( Dispatch const & d ) const { @@ -9788,12 +12828,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlanePropertiesKHR" ); @@ -9807,10 +12848,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPlanePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlanePropertiesKHR( DisplayPlanePropertiesKHRAllocator const & displayPlanePropertiesKHRAllocator, Dispatch const & d ) const { @@ -9824,12 +12870,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceDisplayPlanePropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlanePropertiesKHR" ); @@ -9844,7 +12891,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t * pDisplayCount, DisplayKHR * pDisplays, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9856,10 +12908,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const & d ) const { @@ -9873,12 +12930,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); + result = + static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( static_cast( m_physicalDevice ), planeIndex, &displayCount, nullptr ) ); if ( ( result == Result::eSuccess ) && displayCount ) { displays.resize( displayCount ); - result = static_cast( - d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( + static_cast( m_physicalDevice ), planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); @@ -9892,10 +12950,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, DisplayKHRAllocator const & displayKHRAllocator, Dispatch const & d ) const { @@ -9909,12 +12972,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, nullptr ) ); + result = + static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( static_cast( m_physicalDevice ), planeIndex, &displayCount, nullptr ) ); if ( ( result == Result::eSuccess ) && displayCount ) { displays.resize( displayCount ); - result = static_cast( - d.vkGetDisplayPlaneSupportedDisplaysKHR( m_physicalDevice, planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); + result = static_cast( d.vkGetDisplayPlaneSupportedDisplaysKHR( + static_cast( m_physicalDevice ), planeIndex, &displayCount, reinterpret_cast( displays.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); @@ -9929,7 +12993,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, uint32_t * pPropertyCount, DisplayModePropertiesKHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -9943,10 +13012,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayModePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const & d ) const { @@ -9960,12 +13034,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModePropertiesKHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkGetDisplayModePropertiesKHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModePropertiesKHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModePropertiesKHR" ); @@ -9979,10 +13056,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayModePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModePropertiesKHR( DisplayKHR display, DisplayModePropertiesKHRAllocator const & displayModePropertiesKHRAllocator, Dispatch const & d ) const @@ -9997,12 +13079,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModePropertiesKHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModePropertiesKHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkGetDisplayModePropertiesKHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModePropertiesKHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModePropertiesKHR" ); @@ -10016,7 +13101,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::createDisplayModeKHR( DisplayKHR display, DisplayModeCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, DisplayModeKHR * pMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -10031,7 +13121,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::createDisplayModeKHR( DisplayKHR display, DisplayModeCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10041,7 +13136,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayModeKHR mode; - Result result = static_cast( d.vkCreateDisplayModeKHR( m_physicalDevice, + Result result = static_cast( d.vkCreateDisplayModeKHR( static_cast( m_physicalDevice ), static_cast( display ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -10053,7 +13148,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::createDisplayModeKHRUnique( DisplayKHR display, DisplayModeCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10063,7 +13163,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayModeKHR mode; - Result result = static_cast( d.vkCreateDisplayModeKHR( m_physicalDevice, + Result result = static_cast( d.vkCreateDisplayModeKHR( static_cast( m_physicalDevice ), static_cast( display ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -10078,7 +13178,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR * pCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10092,7 +13197,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const & d ) const { @@ -10102,8 +13212,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayPlaneCapabilitiesKHR capabilities; - Result result = static_cast( d.vkGetDisplayPlaneCapabilitiesKHR( - m_physicalDevice, static_cast( mode ), planeIndex, reinterpret_cast( &capabilities ) ) ); + Result result = static_cast( d.vkGetDisplayPlaneCapabilitiesKHR( static_cast( m_physicalDevice ), + static_cast( mode ), + planeIndex, + reinterpret_cast( &capabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilitiesKHR" ); return detail::createResultValueType( result, std::move( capabilities ) ); @@ -10112,7 +13224,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -10127,7 +13244,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10137,7 +13259,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10149,7 +13271,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDisplayPlaneSurfaceKHRUnique( DisplaySurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10159,7 +13286,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateDisplayPlaneSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10174,7 +13301,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_display_swapchain === // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSharedSwapchainsKHR( uint32_t swapchainCount, SwapchainCreateInfoKHR const * pCreateInfos, AllocationCallbacks const * pAllocator, @@ -10191,10 +13323,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SwapchainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const { @@ -10204,7 +13341,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector swapchains( createInfos.size() ); - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -10215,10 +13352,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SwapchainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, @@ -10231,7 +13373,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector swapchains( createInfos.size(), {}, swapchainKHRAllocator ); - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -10242,7 +13384,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSharedSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10252,7 +13399,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SwapchainKHR swapchain; - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -10264,10 +13411,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > SwapchainKHRAllocator> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, SwapchainKHRAllocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const @@ -10278,7 +13430,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector swapchains( createInfos.size() ); - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -10295,10 +13447,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > SwapchainKHRAllocator> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, SwapchainKHRAllocator>>::type Device::createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, @@ -10311,7 +13468,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector swapchains( createInfos.size() ); - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -10328,7 +13485,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSharedSwapchainKHRUnique( SwapchainCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10338,7 +13500,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SwapchainKHR swapchain; - Result result = static_cast( d.vkCreateSharedSwapchainsKHR( m_device, + Result result = static_cast( d.vkCreateSharedSwapchainsKHR( static_cast( m_device ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -10355,7 +13517,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_xlib_surface === // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10368,7 +13535,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10378,7 +13550,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateXlibSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateXlibSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10389,7 +13561,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createXlibSurfaceKHRUnique( XlibSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10399,7 +13576,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateXlibSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateXlibSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10413,7 +13590,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXlibPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display * dpy, VisualID visualID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10425,7 +13607,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXlibPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10435,7 +13622,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkBool32 result = d.vkGetPhysicalDeviceXlibPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &dpy, visualID ); + VkBool32 result = d.vkGetPhysicalDeviceXlibPresentationSupportKHR( static_cast( m_physicalDevice ), queueFamilyIndex, &dpy, visualID ); return static_cast( result ); } @@ -10446,7 +13633,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_xcb_surface === // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10459,7 +13651,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10469,7 +13666,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateXcbSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateXcbSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10480,7 +13677,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createXcbSurfaceKHRUnique( XcbSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10490,7 +13692,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateXcbSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateXcbSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10504,7 +13706,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXcbPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t * connection, xcb_visualid_t visual_id, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10516,7 +13723,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXcbPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10526,7 +13738,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkBool32 result = d.vkGetPhysicalDeviceXcbPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &connection, visual_id ); + VkBool32 result = + d.vkGetPhysicalDeviceXcbPresentationSupportKHR( static_cast( m_physicalDevice ), queueFamilyIndex, &connection, visual_id ); return static_cast( result ); } @@ -10537,7 +13750,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_wayland_surface === // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -10551,7 +13769,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10561,7 +13784,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateWaylandSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateWaylandSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10572,7 +13795,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createWaylandSurfaceKHRUnique( WaylandSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10582,7 +13810,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateWaylandSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateWaylandSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10596,7 +13824,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWaylandPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display * display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10608,7 +13841,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWaylandPresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10618,7 +13856,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkBool32 result = d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( m_physicalDevice, queueFamilyIndex, &display ); + VkBool32 result = d.vkGetPhysicalDeviceWaylandPresentationSupportKHR( static_cast( m_physicalDevice ), queueFamilyIndex, &display ); return static_cast( result ); } @@ -10629,7 +13867,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_android_surface === // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -10643,7 +13886,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10653,7 +13901,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateAndroidSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateAndroidSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10664,7 +13912,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createAndroidSurfaceKHRUnique( AndroidSurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10674,7 +13927,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateAndroidSurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateAndroidSurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10691,7 +13944,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_win32_surface === // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10704,7 +13962,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10714,7 +13977,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateWin32SurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateWin32SurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10725,7 +13988,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createWin32SurfaceKHRUnique( Win32SurfaceCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10735,7 +14003,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateWin32SurfaceKHR( m_instance, + Result result = static_cast( d.vkCreateWin32SurfaceKHR( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -10749,7 +14017,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceWin32PresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWin32PresentationSupportKHR ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -10761,7 +14034,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, DebugReportCallbackEXT * pCallback, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -10776,7 +14054,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -10786,7 +14069,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DebugReportCallbackEXT callback; - Result result = static_cast( d.vkCreateDebugReportCallbackEXT( m_instance, + Result result = static_cast( d.vkCreateDebugReportCallbackEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &callback ) ) ); @@ -10798,7 +14081,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDebugReportCallbackEXTUnique( DebugReportCallbackCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const @@ -10809,7 +14097,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DebugReportCallbackEXT callback; - Result result = static_cast( d.vkCreateDebugReportCallbackEXT( m_instance, + Result result = static_cast( d.vkCreateDebugReportCallbackEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &callback ) ) ); @@ -10823,7 +14111,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10835,7 +14128,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10844,14 +14142,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDebugReportCallbackEXT && "Function requires " ); # endif - d.vkDestroyDebugReportCallbackEXT( - m_instance, static_cast( callback ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDebugReportCallbackEXT( static_cast( m_instance ), + static_cast( callback ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10863,7 +14167,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::destroy( DebugReportCallbackEXT callback, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10872,13 +14181,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDebugReportCallbackEXT && "Function requires " ); # endif - d.vkDestroyDebugReportCallbackEXT( - m_instance, static_cast( callback ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDebugReportCallbackEXT( static_cast( m_instance ), + static_cast( callback ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDebugReportMessageEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType_, uint64_t object, @@ -10901,7 +14216,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDebugReportMessageEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType_, uint64_t object, @@ -10916,7 +14236,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDebugReportMessageEXT && "Function requires " ); # endif - d.vkDebugReportMessageEXT( m_instance, + d.vkDebugReportMessageEXT( static_cast( m_instance ), static_cast( flags ), static_cast( objectType_ ), object, @@ -10930,7 +14250,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_debug_marker === // wrapper function for command vkDebugMarkerSetObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectTagEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectTagEXT( DebugMarkerObjectTagInfoEXT const * pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10941,7 +14266,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugMarkerSetObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::debugMarkerSetObjectTagEXT( DebugMarkerObjectTagInfoEXT const & tagInfo, Dispatch const & d ) const { @@ -10950,7 +14280,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDebugMarkerSetObjectTagEXT && "Function requires " ); # endif - Result result = static_cast( d.vkDebugMarkerSetObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); + Result result = static_cast( + d.vkDebugMarkerSetObjectTagEXT( static_cast( m_device ), reinterpret_cast( &tagInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectTagEXT" ); return detail::createResultValueType( result ); @@ -10959,7 +14290,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDebugMarkerSetObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectNameEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::debugMarkerSetObjectNameEXT( DebugMarkerObjectNameInfoEXT const * pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -10971,7 +14307,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugMarkerSetObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::debugMarkerSetObjectNameEXT( DebugMarkerObjectNameInfoEXT const & nameInfo, Dispatch const & d ) const { @@ -10980,7 +14321,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDebugMarkerSetObjectNameEXT && "Function requires " ); # endif - Result result = static_cast( d.vkDebugMarkerSetObjectNameEXT( m_device, reinterpret_cast( &nameInfo ) ) ); + Result result = static_cast( + d.vkDebugMarkerSetObjectNameEXT( static_cast( m_device ), reinterpret_cast( &nameInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::debugMarkerSetObjectNameEXT" ); return detail::createResultValueType( result ); @@ -10988,7 +14330,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerBeginEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( DebugMarkerMarkerInfoEXT const * pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -10997,7 +14344,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerBeginEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( DebugMarkerMarkerInfoEXT const & markerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11005,12 +14357,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDebugMarkerBeginEXT && "Function requires " ); # endif - d.vkCmdDebugMarkerBeginEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); + d.vkCmdDebugMarkerBeginEXT( static_cast( m_commandBuffer ), reinterpret_cast( &markerInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDebugMarkerEndEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerEndEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerEndEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11018,7 +14375,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerInsertEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( DebugMarkerMarkerInfoEXT const * pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11027,7 +14389,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerInsertEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( DebugMarkerMarkerInfoEXT const & markerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11035,7 +14402,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDebugMarkerInsertEXT && "Function requires " ); # endif - d.vkCmdDebugMarkerInsertEXT( m_commandBuffer, reinterpret_cast( &markerInfo ) ); + d.vkCmdDebugMarkerInsertEXT( static_cast( m_commandBuffer ), reinterpret_cast( &markerInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -11043,7 +14410,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoCapabilitiesKHR( VideoProfileInfoKHR const * pVideoProfile, VideoCapabilitiesKHR * pCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11056,7 +14428,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getVideoCapabilitiesKHR( VideoProfileInfoKHR const & videoProfile, Dispatch const & d ) const { @@ -11066,8 +14443,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif VideoCapabilitiesKHR capabilities; - Result result = static_cast( d.vkGetPhysicalDeviceVideoCapabilitiesKHR( - m_physicalDevice, reinterpret_cast( &videoProfile ), reinterpret_cast( &capabilities ) ) ); + Result result = static_cast( d.vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoProfile ), + reinterpret_cast( &capabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); return detail::createResultValueType( result, std::move( capabilities ) ); @@ -11075,11 +14453,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoCapabilitiesKHR( VideoProfileInfoKHR const & videoProfile, Dispatch const & d ) const { @@ -11090,8 +14473,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; VideoCapabilitiesKHR & capabilities = structureChain.template get(); - Result result = static_cast( d.vkGetPhysicalDeviceVideoCapabilitiesKHR( - m_physicalDevice, reinterpret_cast( &videoProfile ), reinterpret_cast( &capabilities ) ) ); + Result result = static_cast( d.vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoProfile ), + reinterpret_cast( &capabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); return detail::createResultValueType( result, std::move( structureChain ) ); @@ -11100,7 +14484,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const * pVideoFormatInfo, uint32_t * pVideoFormatPropertyCount, VideoFormatPropertiesKHR * pVideoFormatProperties, @@ -11116,10 +14505,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template VideoFormatPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, Dispatch const & d ) const { @@ -11134,13 +14528,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoFormatInfo ), + &videoFormatPropertyCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) { videoFormatProperties.resize( videoFormatPropertyCount ); result = static_cast( - d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, reinterpret_cast( videoFormatProperties.data() ) ) ); @@ -11157,10 +14554,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template VideoFormatPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, VideoFormatPropertiesKHRAllocator const & videoFormatPropertiesKHRAllocator, @@ -11177,13 +14579,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoFormatInfo ), + &videoFormatPropertyCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) { videoFormatProperties.resize( videoFormatPropertyCount ); result = static_cast( - d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, reinterpret_cast( videoFormatProperties.data() ) ) ); @@ -11200,11 +14605,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, Dispatch const & d ) const { @@ -11220,8 +14630,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoFormatInfo ), + &videoFormatPropertyCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) { structureChains.resize( videoFormatPropertyCount ); @@ -11231,7 +14644,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE videoFormatProperties[i].pNext = structureChains[i].template get().pNext; } result = static_cast( - d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, reinterpret_cast( videoFormatProperties.data() ) ) ); @@ -11252,11 +14665,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, StructureChainAllocator const & structureChainAllocator, Dispatch const & d ) const @@ -11273,8 +14691,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( - m_physicalDevice, reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &videoFormatInfo ), + &videoFormatPropertyCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) { structureChains.resize( videoFormatPropertyCount ); @@ -11284,7 +14705,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE videoFormatProperties[i].pNext = structureChains[i].template get().pNext; } result = static_cast( - d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &videoFormatInfo ), &videoFormatPropertyCount, reinterpret_cast( videoFormatProperties.data() ) ) ); @@ -11305,7 +14726,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createVideoSessionKHR( VideoSessionCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, VideoSessionKHR * pVideoSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11319,7 +14745,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createVideoSessionKHR( VideoSessionCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -11329,7 +14760,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif VideoSessionKHR videoSession; - Result result = static_cast( d.vkCreateVideoSessionKHR( m_device, + Result result = static_cast( d.vkCreateVideoSessionKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &videoSession ) ) ); @@ -11340,7 +14771,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createVideoSessionKHRUnique( VideoSessionCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -11350,7 +14786,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif VideoSessionKHR videoSession; - Result result = static_cast( d.vkCreateVideoSessionKHR( m_device, + Result result = static_cast( d.vkCreateVideoSessionKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &videoSession ) ) ); @@ -11363,7 +14799,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyVideoSessionKHR( VideoSessionKHR videoSession, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11374,7 +14815,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyVideoSessionKHR( VideoSessionKHR videoSession, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11383,12 +14829,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyVideoSessionKHR && "Function requires " ); # endif - d.vkDestroyVideoSessionKHR( m_device, static_cast( videoSession ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyVideoSessionKHR( + static_cast( m_device ), static_cast( videoSession ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( VideoSessionKHR videoSession, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11398,7 +14850,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( VideoSessionKHR videoSession, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11407,13 +14864,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyVideoSessionKHR && "Function requires " ); # endif - d.vkDestroyVideoSessionKHR( m_device, static_cast( videoSession ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyVideoSessionKHR( + static_cast( m_device ), static_cast( videoSession ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getVideoSessionMemoryRequirementsKHR( VideoSessionKHR videoSession, uint32_t * pMemoryRequirementsCount, VideoSessionMemoryRequirementsKHR * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11428,11 +14891,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename VideoSessionMemoryRequirementsKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template VideoSessionMemoryRequirementsKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getVideoSessionMemoryRequirementsKHR( VideoSessionKHR videoSession, Dispatch const & d ) const @@ -11447,13 +14915,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetVideoSessionMemoryRequirementsKHR( m_device, static_cast( videoSession ), &memoryRequirementsCount, nullptr ) ); + result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( + static_cast( m_device ), static_cast( videoSession ), &memoryRequirementsCount, nullptr ) ); if ( ( result == Result::eSuccess ) && memoryRequirementsCount ) { memoryRequirements.resize( memoryRequirementsCount ); result = static_cast( - d.vkGetVideoSessionMemoryRequirementsKHR( m_device, + d.vkGetVideoSessionMemoryRequirementsKHR( static_cast( m_device ), static_cast( videoSession ), &memoryRequirementsCount, reinterpret_cast( memoryRequirements.data() ) ) ); @@ -11470,11 +14938,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename VideoSessionMemoryRequirementsKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template VideoSessionMemoryRequirementsKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getVideoSessionMemoryRequirementsKHR( @@ -11490,13 +14963,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetVideoSessionMemoryRequirementsKHR( m_device, static_cast( videoSession ), &memoryRequirementsCount, nullptr ) ); + result = static_cast( d.vkGetVideoSessionMemoryRequirementsKHR( + static_cast( m_device ), static_cast( videoSession ), &memoryRequirementsCount, nullptr ) ); if ( ( result == Result::eSuccess ) && memoryRequirementsCount ) { memoryRequirements.resize( memoryRequirementsCount ); result = static_cast( - d.vkGetVideoSessionMemoryRequirementsKHR( m_device, + d.vkGetVideoSessionMemoryRequirementsKHR( static_cast( m_device ), static_cast( videoSession ), &memoryRequirementsCount, reinterpret_cast( memoryRequirements.data() ) ) ); @@ -11513,7 +14986,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindVideoSessionMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindVideoSessionMemoryKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindVideoSessionMemoryKHR( VideoSessionKHR videoSession, uint32_t bindSessionMemoryInfoCount, BindVideoSessionMemoryInfoKHR const * pBindSessionMemoryInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11527,7 +15005,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindVideoSessionMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindVideoSessionMemoryKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindVideoSessionMemoryKHR( VideoSessionKHR videoSession, ArrayProxy const & bindSessionMemoryInfos, Dispatch const & d ) const { @@ -11537,7 +15020,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Result result = - static_cast( d.vkBindVideoSessionMemoryKHR( m_device, + static_cast( d.vkBindVideoSessionMemoryKHR( static_cast( m_device ), static_cast( videoSession ), bindSessionMemoryInfos.size(), reinterpret_cast( bindSessionMemoryInfos.data() ) ) ); @@ -11549,7 +15032,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, VideoSessionParametersKHR * pVideoSessionParameters, @@ -11565,7 +15053,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -11575,7 +15068,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif VideoSessionParametersKHR videoSessionParameters; - Result result = static_cast( d.vkCreateVideoSessionParametersKHR( m_device, + Result result = static_cast( d.vkCreateVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &videoSessionParameters ) ) ); @@ -11587,7 +15080,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createVideoSessionParametersKHRUnique( VideoSessionParametersCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const @@ -11598,7 +15096,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif VideoSessionParametersKHR videoSessionParameters; - Result result = static_cast( d.vkCreateVideoSessionParametersKHR( m_device, + Result result = static_cast( d.vkCreateVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &videoSessionParameters ) ) ); @@ -11612,7 +15110,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::updateVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, VideoSessionParametersUpdateInfoKHR const * pUpdateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11625,7 +15128,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::updateVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, VideoSessionParametersUpdateInfoKHR const & updateInfo, Dispatch const & d ) const { @@ -11635,7 +15143,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Result result = - static_cast( d.vkUpdateVideoSessionParametersKHR( m_device, + static_cast( d.vkUpdateVideoSessionParametersKHR( static_cast( m_device ), static_cast( videoSessionParameters ), reinterpret_cast( &updateInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::updateVideoSessionParametersKHR" ); @@ -11646,7 +15154,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11659,7 +15172,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11668,14 +15186,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyVideoSessionParametersKHR && "Function requires " ); # endif - d.vkDestroyVideoSessionParametersKHR( - m_device, static_cast( videoSessionParameters ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyVideoSessionParametersKHR( static_cast( m_device ), + static_cast( videoSessionParameters ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( VideoSessionParametersKHR videoSessionParameters, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11688,7 +15212,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( VideoSessionParametersKHR videoSessionParameters, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11697,13 +15226,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyVideoSessionParametersKHR && "Function requires " ); # endif - d.vkDestroyVideoSessionParametersKHR( - m_device, static_cast( videoSessionParameters ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyVideoSessionParametersKHR( static_cast( m_device ), + static_cast( videoSessionParameters ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginVideoCodingKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginVideoCodingKHR( VideoBeginCodingInfoKHR const * pBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11712,7 +15247,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginVideoCodingKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginVideoCodingKHR( VideoBeginCodingInfoKHR const & beginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11720,12 +15260,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginVideoCodingKHR && "Function requires " ); # endif - d.vkCmdBeginVideoCodingKHR( m_commandBuffer, reinterpret_cast( &beginInfo ) ); + d.vkCmdBeginVideoCodingKHR( static_cast( m_commandBuffer ), reinterpret_cast( &beginInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndVideoCodingKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endVideoCodingKHR( VideoEndCodingInfoKHR const * pEndCodingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11734,7 +15279,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndVideoCodingKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endVideoCodingKHR( VideoEndCodingInfoKHR const & endCodingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11742,12 +15292,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndVideoCodingKHR && "Function requires " ); # endif - d.vkCmdEndVideoCodingKHR( m_commandBuffer, reinterpret_cast( &endCodingInfo ) ); + d.vkCmdEndVideoCodingKHR( static_cast( m_commandBuffer ), reinterpret_cast( &endCodingInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdControlVideoCodingKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::controlVideoCodingKHR( VideoCodingControlInfoKHR const * pCodingControlInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11758,7 +15313,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdControlVideoCodingKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::controlVideoCodingKHR( VideoCodingControlInfoKHR const & codingControlInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11767,14 +15327,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdControlVideoCodingKHR && "Function requires " ); # endif - d.vkCmdControlVideoCodingKHR( m_commandBuffer, reinterpret_cast( &codingControlInfo ) ); + d.vkCmdControlVideoCodingKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &codingControlInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_video_decode_queue === // wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDecodeVideoKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::decodeVideoKHR( VideoDecodeInfoKHR const * pDecodeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11783,7 +15349,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDecodeVideoKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::decodeVideoKHR( VideoDecodeInfoKHR const & decodeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11791,7 +15362,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDecodeVideoKHR && "Function requires " ); # endif - d.vkCmdDecodeVideoKHR( m_commandBuffer, reinterpret_cast( &decodeInfo ) ); + d.vkCmdDecodeVideoKHR( static_cast( m_commandBuffer ), reinterpret_cast( &decodeInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -11799,7 +15370,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffersEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, DeviceSize const * pOffsets, DeviceSize const * pSizes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11816,7 +15392,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffersEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -11841,7 +15422,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBindTransformFeedbackBuffersEXT( m_commandBuffer, + d.vkCmdBindTransformFeedbackBuffersEXT( static_cast( m_commandBuffer ), firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), @@ -11852,7 +15433,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedbackEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, Buffer const * pCounterBuffers, DeviceSize const * pCounterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11868,7 +15454,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedbackEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets, @@ -11887,7 +15478,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBeginTransformFeedbackEXT( m_commandBuffer, + d.vkCmdBeginTransformFeedbackEXT( static_cast( m_commandBuffer ), firstCounterBuffer, counterBuffers.size(), reinterpret_cast( counterBuffers.data() ), @@ -11896,7 +15487,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndTransformFeedbackEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedbackEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, Buffer const * pCounterBuffers, DeviceSize const * pCounterBufferOffsets, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -11911,7 +15507,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndTransformFeedbackEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedbackEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets, @@ -11930,7 +15531,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdEndTransformFeedbackEXT( m_commandBuffer, + d.vkCmdEndTransformFeedbackEXT( static_cast( m_commandBuffer ), firstCounterBuffer, counterBuffers.size(), reinterpret_cast( counterBuffers.data() ), @@ -11939,7 +15540,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQueryIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginQueryIndexedEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginQueryIndexedEXT( QueryPool queryPool, uint32_t query, QueryControlFlags flags, uint32_t index, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11949,7 +15555,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdEndQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQueryIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndQueryIndexedEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endQueryIndexedEXT( QueryPool queryPool, uint32_t query, uint32_t index, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -11958,7 +15569,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndirectByteCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCountEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCountEXT( uint32_t instanceCount, uint32_t firstInstance, Buffer counterBuffer, @@ -11980,7 +15596,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NVX_binary_import === // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCuModuleNVX( CuModuleCreateInfoNVX const * pCreateInfo, AllocationCallbacks const * pAllocator, CuModuleNVX * pModule, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -11993,7 +15614,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createCuModuleNVX( CuModuleCreateInfoNVX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12003,7 +15629,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CuModuleNVX module; - Result result = static_cast( d.vkCreateCuModuleNVX( m_device, + Result result = static_cast( d.vkCreateCuModuleNVX( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &module ) ) ); @@ -12014,7 +15640,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCuModuleNVXUnique( CuModuleCreateInfoNVX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12024,7 +15655,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CuModuleNVX module; - Result result = static_cast( d.vkCreateCuModuleNVX( m_device, + Result result = static_cast( d.vkCreateCuModuleNVX( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &module ) ) ); @@ -12037,7 +15668,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCuFunctionNVX( CuFunctionCreateInfoNVX const * pCreateInfo, AllocationCallbacks const * pAllocator, CuFunctionNVX * pFunction, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -12051,7 +15687,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createCuFunctionNVX( CuFunctionCreateInfoNVX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12061,7 +15702,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CuFunctionNVX function; - Result result = static_cast( d.vkCreateCuFunctionNVX( m_device, + Result result = static_cast( d.vkCreateCuFunctionNVX( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &function ) ) ); @@ -12072,7 +15713,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCuFunctionNVXUnique( CuFunctionCreateInfoNVX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12082,7 +15728,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CuFunctionNVX function; - Result result = static_cast( d.vkCreateCuFunctionNVX( m_device, + Result result = static_cast( d.vkCreateCuFunctionNVX( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &function ) ) ); @@ -12095,7 +15741,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +#endif VULKAN_HPP_INLINE void Device::destroyCuModuleNVX( CuModuleNVX module, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12105,7 +15756,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCuModuleNVX( CuModuleNVX module, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12114,12 +15770,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCuModuleNVX && "Function requires " ); # endif - d.vkDestroyCuModuleNVX( m_device, static_cast( module ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCuModuleNVX( + static_cast( m_device ), static_cast( module ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( CuModuleNVX module, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12129,7 +15791,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CuModuleNVX module, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12137,12 +15804,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCuModuleNVX && "Function requires " ); # endif - d.vkDestroyCuModuleNVX( m_device, static_cast( module ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCuModuleNVX( + static_cast( m_device ), static_cast( module ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +#endif VULKAN_HPP_INLINE void Device::destroyCuFunctionNVX( CuFunctionNVX function, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12153,7 +15826,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCuFunctionNVX( CuFunctionNVX function, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12162,12 +15840,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCuFunctionNVX && "Function requires " ); # endif - d.vkDestroyCuFunctionNVX( m_device, static_cast( function ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCuFunctionNVX( + static_cast( m_device ), static_cast( function ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( CuFunctionNVX function, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12177,7 +15861,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CuFunctionNVX function, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12185,12 +15874,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCuFunctionNVX && "Function requires " ); # endif - d.vkDestroyCuFunctionNVX( m_device, static_cast( function ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCuFunctionNVX( + static_cast( m_device ), static_cast( function ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCuLaunchKernelNVX ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::cuLaunchKernelNVX( CuLaunchInfoNVX const * pLaunchInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12199,7 +15894,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCuLaunchKernelNVX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::cuLaunchKernelNVX( CuLaunchInfoNVX const & launchInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12207,14 +15907,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCuLaunchKernelNVX && "Function requires " ); # endif - d.vkCmdCuLaunchKernelNVX( m_commandBuffer, reinterpret_cast( &launchInfo ) ); + d.vkCmdCuLaunchKernelNVX( static_cast( m_commandBuffer ), reinterpret_cast( &launchInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_NVX_image_view_handle === // wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageViewHandleNVX ) ) +#endif VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( ImageViewHandleInfoNVX const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12223,7 +15928,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageViewHandleNVX ) ) +# endif VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( ImageViewHandleInfoNVX const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12231,14 +15941,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetImageViewHandleNVX && "Function requires " ); # endif - uint32_t result = d.vkGetImageViewHandleNVX( m_device, reinterpret_cast( &info ) ); + uint32_t result = d.vkGetImageViewHandleNVX( static_cast( m_device ), reinterpret_cast( &info ) ); return result; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageViewHandle64NVX ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getImageViewHandle64NVX( ImageViewHandleInfoNVX const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12247,7 +15962,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageViewHandle64NVX ) ) +# endif VULKAN_HPP_INLINE uint64_t Device::getImageViewHandle64NVX( ImageViewHandleInfoNVX const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12255,14 +15975,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetImageViewHandle64NVX && "Function requires " ); # endif - uint64_t result = d.vkGetImageViewHandle64NVX( m_device, reinterpret_cast( &info ) ); + uint64_t result = d.vkGetImageViewHandle64NVX( static_cast( m_device ), reinterpret_cast( &info ) ); return result; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageViewAddressNVX ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageViewAddressNVX( ImageView imageView, ImageViewAddressPropertiesNVX * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12273,7 +15998,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageViewAddressNVX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageViewAddressNVX( ImageView imageView, Dispatch const & d ) const { @@ -12283,8 +16013,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ImageViewAddressPropertiesNVX properties; - Result result = static_cast( - d.vkGetImageViewAddressNVX( m_device, static_cast( imageView ), reinterpret_cast( &properties ) ) ); + Result result = static_cast( d.vkGetImageViewAddressNVX( + static_cast( m_device ), static_cast( imageView ), reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageViewAddressNVX" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -12293,7 +16023,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceCombinedImageSamplerIndexNVX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceCombinedImageSamplerIndexNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceCombinedImageSamplerIndexNVX ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getCombinedImageSamplerIndexNVX( uint64_t imageViewIndex, uint64_t samplerIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12304,7 +16039,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_draw_indirect_count === // wrapper function for command vkCmdDrawIndirectCountAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCountAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -12321,7 +16061,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCountAMD, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCountAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -12339,7 +16084,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_shader_info === // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, size_t * pInfoSize, void * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -12355,10 +16105,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const & d ) const { @@ -12372,7 +16127,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetShaderInfoAMD( m_device, + result = static_cast( d.vkGetShaderInfoAMD( static_cast( m_device ), static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), @@ -12381,7 +16136,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE if ( ( result == Result::eSuccess ) && infoSize ) { info.resize( infoSize ); - result = static_cast( d.vkGetShaderInfoAMD( m_device, + result = static_cast( d.vkGetShaderInfoAMD( static_cast( m_device ), static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), @@ -12399,10 +16154,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -12416,7 +16176,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetShaderInfoAMD( m_device, + result = static_cast( d.vkGetShaderInfoAMD( static_cast( m_device ), static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), @@ -12425,7 +16185,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE if ( ( result == Result::eSuccess ) && infoSize ) { info.resize( infoSize ); - result = static_cast( d.vkGetShaderInfoAMD( m_device, + result = static_cast( d.vkGetShaderInfoAMD( static_cast( m_device ), static_cast( pipeline ), static_cast( shaderStage ), static_cast( infoType ), @@ -12446,7 +16206,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_dynamic_rendering === // wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderingKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderingKHR( RenderingInfo const * pRenderingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12455,7 +16220,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderingKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderingKHR( RenderingInfo const & renderingInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12463,12 +16233,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginRenderingKHR && "Function requires or " ); # endif - d.vkCmdBeginRenderingKHR( m_commandBuffer, reinterpret_cast( &renderingInfo ) ); + d.vkCmdBeginRenderingKHR( static_cast( m_commandBuffer ), reinterpret_cast( &renderingInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderingKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRenderingKHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12480,7 +16255,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -12495,7 +16275,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12505,7 +16290,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( m_instance, + Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -12517,7 +16302,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createStreamDescriptorSurfaceGGPUnique( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -12527,7 +16317,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( m_instance, + Result result = static_cast( d.vkCreateStreamDescriptorSurfaceGGP( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -12544,7 +16334,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalImageFormatPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, @@ -12570,7 +16365,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalImageFormatPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, ImageType type, @@ -12588,7 +16388,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ExternalImageFormatPropertiesNV externalImageFormatProperties; Result result = static_cast( - d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( m_physicalDevice, + d.vkGetPhysicalDeviceExternalImageFormatPropertiesNV( static_cast( m_physicalDevice ), static_cast( format ), static_cast( type ), static_cast( tiling ), @@ -12606,7 +16406,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_external_memory_win32 === // wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE * pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12617,7 +16422,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const & d ) const { @@ -12627,8 +16437,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif HANDLE handle; - Result result = static_cast( - d.vkGetMemoryWin32HandleNV( m_device, static_cast( memory ), static_cast( handleType ), &handle ) ); + Result result = static_cast( d.vkGetMemoryWin32HandleNV( + static_cast( m_device ), static_cast( memory ), static_cast( handleType ), &handle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleNV" ); return detail::createResultValueType( result, std::move( handle ) ); @@ -12640,7 +16450,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFeatures2KHR( PhysicalDeviceFeatures2 * pFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12650,7 +16465,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12660,14 +16480,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceFeatures2 features; - d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); + d.vkGetPhysicalDeviceFeatures2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &features ) ); return features; } // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFeatures2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12678,7 +16503,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceFeatures2 & features = structureChain.template get(); - d.vkGetPhysicalDeviceFeatures2KHR( m_physicalDevice, reinterpret_cast( &features ) ); + d.vkGetPhysicalDeviceFeatures2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &features ) ); return structureChain; } @@ -12686,7 +16511,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getProperties2KHR( PhysicalDeviceProperties2 * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12696,7 +16526,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12706,14 +16541,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceProperties2 properties; - d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast( &properties ) ); + d.vkGetPhysicalDeviceProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &properties ) ); return properties; } // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -12724,7 +16564,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceProperties2 & properties = structureChain.template get(); - d.vkGetPhysicalDeviceProperties2KHR( m_physicalDevice, reinterpret_cast( &properties ) ); + d.vkGetPhysicalDeviceProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &properties ) ); return structureChain; } @@ -12732,7 +16572,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getFormatProperties2KHR( Format format, FormatProperties2 * pFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12744,7 +16589,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2KHR( Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12756,18 +16606,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE FormatProperties2 formatProperties; d.vkGetPhysicalDeviceFormatProperties2KHR( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + static_cast( m_physicalDevice ), static_cast( format ), reinterpret_cast( &formatProperties ) ); return formatProperties; } // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getFormatProperties2KHR( Format format, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12780,7 +16635,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; FormatProperties2 & formatProperties = structureChain.template get(); d.vkGetPhysicalDeviceFormatProperties2KHR( - m_physicalDevice, static_cast( format ), reinterpret_cast( &formatProperties ) ); + static_cast( m_physicalDevice ), static_cast( format ), reinterpret_cast( &formatProperties ) ); return structureChain; } @@ -12788,7 +16643,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12801,7 +16661,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d ) const { @@ -12813,7 +16678,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ImageFormatProperties2 imageFormatProperties; Result result = - static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); @@ -12823,11 +16688,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d ) const { @@ -12840,7 +16710,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; ImageFormatProperties2 & imageFormatProperties = structureChain.template get(); Result result = - static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &imageFormatInfo ), reinterpret_cast( &imageFormatProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); @@ -12851,7 +16721,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyProperties2KHR( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties2 * pQueueFamilyProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -12863,10 +16738,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const { @@ -12878,10 +16758,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -12893,10 +16774,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator const & queueFamilyProperties2Allocator, Dispatch const & d ) const { @@ -12908,10 +16794,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector queueFamilyProperties( queueFamilyProperties2Allocator ); uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); queueFamilyProperties.resize( queueFamilyPropertyCount ); - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -12923,11 +16810,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( Dispatch const & d ) const { @@ -12940,15 +16832,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector structureChains; std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); structureChains.resize( queueFamilyPropertyCount ); queueFamilyProperties.resize( queueFamilyPropertyCount ); for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) { queueFamilyProperties[i].pNext = structureChains[i].template get().pNext; } - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -12964,11 +16857,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getQueueFamilyProperties2KHR( StructureChainAllocator const & structureChainAllocator, Dispatch const & d ) const { @@ -12981,15 +16879,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector structureChains( structureChainAllocator ); std::vector queueFamilyProperties; uint32_t queueFamilyPropertyCount; - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( m_physicalDevice, &queueFamilyPropertyCount, nullptr ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); structureChains.resize( queueFamilyPropertyCount ); queueFamilyProperties.resize( queueFamilyPropertyCount ); for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) { queueFamilyProperties[i].pNext = structureChains[i].template get().pNext; } - d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( - m_physicalDevice, &queueFamilyPropertyCount, reinterpret_cast( queueFamilyProperties.data() ) ); + d.vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast( m_physicalDevice ), + &queueFamilyPropertyCount, + reinterpret_cast( queueFamilyProperties.data() ) ); VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) @@ -13006,7 +16905,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2 * pMemoryProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13018,7 +16922,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13028,18 +16937,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PhysicalDeviceMemoryProperties2 memoryProperties; - d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + d.vkGetPhysicalDeviceMemoryProperties2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &memoryProperties ) ); return memoryProperties; } // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain PhysicalDevice::getMemoryProperties2KHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13050,7 +16965,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get(); - d.vkGetPhysicalDeviceMemoryProperties2KHR( m_physicalDevice, reinterpret_cast( &memoryProperties ) ); + d.vkGetPhysicalDeviceMemoryProperties2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &memoryProperties ) ); return structureChain; } @@ -13058,7 +16974,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const * pFormatInfo, uint32_t * pPropertyCount, SparseImageFormatProperties2 * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13073,10 +16994,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, Dispatch const & d ) const { @@ -13088,10 +17014,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties; uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &formatInfo ), + &propertyCount, + nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); @@ -13106,10 +17034,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SparseImageFormatProperties2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector PhysicalDevice::getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, SparseImageFormatProperties2Allocator const & sparseImageFormatProperties2Allocator, @@ -13123,10 +17056,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector properties( sparseImageFormatProperties2Allocator ); uint32_t propertyCount; - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( - m_physicalDevice, reinterpret_cast( &formatInfo ), &propertyCount, nullptr ); + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &formatInfo ), + &propertyCount, + nullptr ); properties.resize( propertyCount ); - d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( m_physicalDevice, + d.vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &formatInfo ), &propertyCount, reinterpret_cast( properties.data() ) ); @@ -13144,7 +17079,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeaturesKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, PeerMemoryFeatureFlags * pPeerMemoryFeatures, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13157,7 +17097,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeaturesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13169,14 +17114,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PeerMemoryFeatureFlags peerMemoryFeatures; d.vkGetDeviceGroupPeerMemoryFeaturesKHR( - m_device, heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); + static_cast( m_device ), heapIndex, localDeviceIndex, remoteDeviceIndex, reinterpret_cast( &peerMemoryFeatures ) ); return peerMemoryFeatures; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDeviceMaskKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMaskKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDeviceMaskKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13184,7 +17134,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDispatchBaseKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBaseKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchBaseKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13197,7 +17152,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NN_vi_surface === // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createViSurfaceNN( ViSurfaceCreateInfoNN const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13210,7 +17170,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createViSurfaceNN( ViSurfaceCreateInfoNN const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -13220,7 +17185,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateViSurfaceNN( m_instance, + Result result = static_cast( d.vkCreateViSurfaceNN( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -13231,7 +17196,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createViSurfaceNNUnique( ViSurfaceCreateInfoNN const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -13241,7 +17211,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateViSurfaceNN( m_instance, + Result result = static_cast( d.vkCreateViSurfaceNN( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -13257,7 +17227,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance1 === // wrapper function for command vkTrimCommandPoolKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPoolKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkTrimCommandPoolKHR ) ) +#endif VULKAN_HPP_INLINE void Device::trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13268,7 +17243,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::enumeratePhysicalDeviceGroupsKHR( uint32_t * pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13281,10 +17261,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceGroupPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroupsKHR( Dispatch const & d ) const { @@ -13299,12 +17284,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( static_cast( m_instance ), &physicalDeviceGroupCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) { physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( - m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceGroupsKHR( static_cast( m_instance ), + &physicalDeviceGroupCount, + reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroupsKHR" ); @@ -13318,10 +17305,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceGroupPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::enumeratePhysicalDeviceGroupsKHR( PhysicalDeviceGroupPropertiesAllocator const & physicalDeviceGroupPropertiesAllocator, Dispatch const & d ) const @@ -13337,12 +17329,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( m_instance, &physicalDeviceGroupCount, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( static_cast( m_instance ), &physicalDeviceGroupCount, nullptr ) ); if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) { physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); - result = static_cast( d.vkEnumeratePhysicalDeviceGroupsKHR( - m_instance, &physicalDeviceGroupCount, reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceGroupsKHR( static_cast( m_instance ), + &physicalDeviceGroupCount, + reinterpret_cast( physicalDeviceGroupProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroupsKHR" ); @@ -13359,7 +17353,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferPropertiesKHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalBufferPropertiesKHR( PhysicalDeviceExternalBufferInfo const * pExternalBufferInfo, ExternalBufferProperties * pExternalBufferProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13373,7 +17372,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalBufferProperties PhysicalDevice::getExternalBufferPropertiesKHR( PhysicalDeviceExternalBufferInfo const & externalBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13384,7 +17388,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalBufferProperties externalBufferProperties; - d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceExternalBufferPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &externalBufferInfo ), reinterpret_cast( &externalBufferProperties ) ); @@ -13396,7 +17400,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_memory_win32 === // wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandleKHR( MemoryGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13407,7 +17416,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandleKHR( MemoryGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d ) const { @@ -13417,8 +17431,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif HANDLE handle; - Result result = - static_cast( d.vkGetMemoryWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + Result result = static_cast( d.vkGetMemoryWin32HandleKHR( + static_cast( m_device ), reinterpret_cast( &getWin32HandleInfo ), &handle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryWin32HandleKHR" ); return detail::createResultValueType( result, std::move( handle ) ); @@ -13427,7 +17441,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandlePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR * pMemoryWin32HandleProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13442,7 +17461,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandlePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const & d ) const { @@ -13453,7 +17477,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties; Result result = - static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( m_device, + static_cast( d.vkGetMemoryWin32HandlePropertiesKHR( static_cast( m_device ), static_cast( handleType ), handle, reinterpret_cast( &memoryWin32HandleProperties ) ) ); @@ -13467,7 +17491,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_memory_fd === // wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetMemoryFdKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryFdKHR( MemoryGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13477,7 +17506,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryFdKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryFdKHR( MemoryGetFdInfoKHR const & getFdInfo, Dispatch const & d ) const { @@ -13487,7 +17521,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif int fd; - Result result = static_cast( d.vkGetMemoryFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + Result result = + static_cast( d.vkGetMemoryFdKHR( static_cast( m_device ), reinterpret_cast( &getFdInfo ), &fd ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdKHR" ); return detail::createResultValueType( result, std::move( fd ) ); @@ -13495,7 +17530,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetMemoryFdPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR * pMemoryFdProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13508,7 +17548,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryFdPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const & d ) const { @@ -13518,8 +17563,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryFdPropertiesKHR memoryFdProperties; - Result result = static_cast( d.vkGetMemoryFdPropertiesKHR( - m_device, static_cast( handleType ), fd, reinterpret_cast( &memoryFdProperties ) ) ); + Result result = static_cast( d.vkGetMemoryFdPropertiesKHR( static_cast( m_device ), + static_cast( handleType ), + fd, + reinterpret_cast( &memoryFdProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryFdPropertiesKHR" ); return detail::createResultValueType( result, std::move( memoryFdProperties ) ); @@ -13530,7 +17577,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphorePropertiesKHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalSemaphorePropertiesKHR( PhysicalDeviceExternalSemaphoreInfo const * pExternalSemaphoreInfo, ExternalSemaphoreProperties * pExternalSemaphoreProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13544,7 +17596,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphorePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalSemaphoreProperties PhysicalDevice::getExternalSemaphorePropertiesKHR( PhysicalDeviceExternalSemaphoreInfo const & externalSemaphoreInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13555,7 +17612,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalSemaphoreProperties externalSemaphoreProperties; - d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &externalSemaphoreInfo ), reinterpret_cast( &externalSemaphoreProperties ) ); @@ -13568,7 +17625,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkImportSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreWin32HandleKHR( ImportSemaphoreWin32HandleInfoKHR const * pImportSemaphoreWin32HandleInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13580,7 +17642,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importSemaphoreWin32HandleKHR( ImportSemaphoreWin32HandleInfoKHR const & importSemaphoreWin32HandleInfo, Dispatch const & d ) const { @@ -13589,8 +17656,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkImportSemaphoreWin32HandleKHR && "Function requires " ); # endif - Result result = static_cast( - d.vkImportSemaphoreWin32HandleKHR( m_device, reinterpret_cast( &importSemaphoreWin32HandleInfo ) ) ); + Result result = static_cast( d.vkImportSemaphoreWin32HandleKHR( + static_cast( m_device ), reinterpret_cast( &importSemaphoreWin32HandleInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreWin32HandleKHR" ); return detail::createResultValueType( result ); @@ -13598,7 +17665,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSemaphoreWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreWin32HandleKHR( SemaphoreGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13609,7 +17681,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreWin32HandleKHR( SemaphoreGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d ) const { @@ -13619,8 +17696,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif HANDLE handle; - Result result = static_cast( - d.vkGetSemaphoreWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + Result result = static_cast( d.vkGetSemaphoreWin32HandleKHR( + static_cast( m_device ), reinterpret_cast( &getWin32HandleInfo ), &handle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreWin32HandleKHR" ); return detail::createResultValueType( result, std::move( handle ) ); @@ -13631,7 +17708,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_semaphore_fd === // wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkImportSemaphoreFdKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreFdKHR( ImportSemaphoreFdInfoKHR const * pImportSemaphoreFdInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13642,7 +17724,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreFdKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importSemaphoreFdKHR( ImportSemaphoreFdInfoKHR const & importSemaphoreFdInfo, Dispatch const & d ) const { @@ -13651,7 +17738,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkImportSemaphoreFdKHR && "Function requires " ); # endif - Result result = static_cast( d.vkImportSemaphoreFdKHR( m_device, reinterpret_cast( &importSemaphoreFdInfo ) ) ); + Result result = static_cast( + d.vkImportSemaphoreFdKHR( static_cast( m_device ), reinterpret_cast( &importSemaphoreFdInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreFdKHR" ); return detail::createResultValueType( result ); @@ -13659,7 +17747,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreFdKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreFdKHR( SemaphoreGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13670,7 +17763,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreFdKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreFdKHR( SemaphoreGetFdInfoKHR const & getFdInfo, Dispatch const & d ) const { @@ -13680,7 +17778,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif int fd; - Result result = static_cast( d.vkGetSemaphoreFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + Result result = + static_cast( d.vkGetSemaphoreFdKHR( static_cast( m_device ), reinterpret_cast( &getFdInfo ), &fd ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreFdKHR" ); return detail::createResultValueType( result, std::move( fd ) ); @@ -13690,7 +17789,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_push_descriptor === // wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -13709,7 +17813,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -13721,7 +17830,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushDescriptorSetKHR && "Function requires or " ); # endif - d.vkCmdPushDescriptorSetKHR( m_commandBuffer, + d.vkCmdPushDescriptorSetKHR( static_cast( m_commandBuffer ), static_cast( pipelineBindPoint ), static_cast( layout ), set, @@ -13732,7 +17841,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplateKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13747,7 +17861,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplateKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, DataType const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -13759,7 +17878,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdPushDescriptorSetWithTemplateKHR( m_commandBuffer, + d.vkCmdPushDescriptorSetWithTemplateKHR( static_cast( m_commandBuffer ), static_cast( descriptorUpdateTemplate ), static_cast( layout ), set, @@ -13771,7 +17890,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRenderingEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRenderingEXT( ConditionalRenderingBeginInfoEXT const * pConditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13783,7 +17907,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRenderingEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRenderingEXT( ConditionalRenderingBeginInfoEXT const & conditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13792,13 +17921,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginConditionalRenderingEXT && "Function requires " ); # endif - d.vkCmdBeginConditionalRenderingEXT( m_commandBuffer, reinterpret_cast( &conditionalRenderingBegin ) ); + d.vkCmdBeginConditionalRenderingEXT( static_cast( m_commandBuffer ), + reinterpret_cast( &conditionalRenderingBegin ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndConditionalRenderingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndConditionalRenderingEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endConditionalRenderingEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13809,7 +17944,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorUpdateTemplate * pDescriptorUpdateTemplate, @@ -13825,7 +17965,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -13836,7 +17981,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( m_device, + Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); @@ -13848,7 +17993,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDescriptorUpdateTemplateKHRUnique( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const @@ -13860,7 +18010,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorUpdateTemplate descriptorUpdateTemplate; - Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( m_device, + Result result = static_cast( d.vkCreateDescriptorUpdateTemplateKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &descriptorUpdateTemplate ) ) ); @@ -13874,7 +18024,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplateKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13887,7 +18042,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplateKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13897,14 +18057,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroyDescriptorUpdateTemplateKHR( - m_device, static_cast( descriptorUpdateTemplate ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDescriptorUpdateTemplateKHR( static_cast( m_device ), + static_cast( descriptorUpdateTemplate ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplateKHR ) ) +#endif VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13918,7 +18084,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplateKHR ) ) +# endif VULKAN_HPP_INLINE void Device::updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13928,7 +18099,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkUpdateDescriptorSetWithTemplateKHR( m_device, + d.vkUpdateDescriptorSetWithTemplateKHR( static_cast( m_device ), static_cast( descriptorSet ), static_cast( descriptorUpdateTemplate ), reinterpret_cast( &data ) ); @@ -13938,7 +18109,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_clip_space_w_scaling === // wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, ViewportWScalingNV const * pViewportWScalings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13949,7 +18125,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, ArrayProxy const & viewportWScalings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -13958,8 +18139,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetViewportWScalingNV && "Function requires " ); # endif - d.vkCmdSetViewportWScalingNV( - m_commandBuffer, firstViewport, viewportWScalings.size(), reinterpret_cast( viewportWScalings.data() ) ); + d.vkCmdSetViewportWScalingNV( static_cast( m_commandBuffer ), + firstViewport, + viewportWScalings.size(), + reinterpret_cast( viewportWScalings.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -13967,7 +18150,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -13975,7 +18163,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::releaseDisplayEXT( DisplayKHR display, Dispatch const & d ) const { @@ -13984,7 +18177,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleaseDisplayEXT && "Function requires " ); # endif - Result result = static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); + Result result = static_cast( d.vkReleaseDisplayEXT( static_cast( m_physicalDevice ), static_cast( display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::releaseDisplayEXT" ); return detail::createResultValueType( result ); @@ -13993,7 +18186,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::release( DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14001,7 +18199,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::release( DisplayKHR display, Dispatch const & d ) const { @@ -14010,7 +18213,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleaseDisplayEXT && "Function requires " ); # endif - Result result = static_cast( d.vkReleaseDisplayEXT( m_physicalDevice, static_cast( display ) ) ); + Result result = static_cast( d.vkReleaseDisplayEXT( static_cast( m_physicalDevice ), static_cast( display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::release" ); return detail::createResultValueType( result ); @@ -14021,7 +18224,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_acquire_xlib_display === // wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireXlibDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireXlibDisplayEXT( Display * dpy, DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14031,7 +18239,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireXlibDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::acquireXlibDisplayEXT( Display & dpy, DisplayKHR display, Dispatch const & d ) const { @@ -14040,7 +18253,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAcquireXlibDisplayEXT && "Function requires " ); # endif - Result result = static_cast( d.vkAcquireXlibDisplayEXT( m_physicalDevice, &dpy, static_cast( display ) ) ); + Result result = + static_cast( d.vkAcquireXlibDisplayEXT( static_cast( m_physicalDevice ), &dpy, static_cast( display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireXlibDisplayEXT" ); return detail::createResultValueType( result ); @@ -14048,7 +18262,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getRandROutputDisplayEXT( Display * dpy, RROutput rrOutput, DisplayKHR * pDisplay, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14059,7 +18278,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const & d ) const { @@ -14069,7 +18293,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetRandROutputDisplayEXT( static_cast( m_physicalDevice ), &dpy, rrOutput, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXT" ); return detail::createResultValueType( result, std::move( display ) ); @@ -14077,7 +18302,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getRandROutputDisplayEXTUnique( Display & dpy, RROutput rrOutput, Dispatch const & d ) const { @@ -14087,7 +18317,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetRandROutputDisplayEXT( m_physicalDevice, &dpy, rrOutput, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetRandROutputDisplayEXT( static_cast( m_physicalDevice ), &dpy, rrOutput, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXTUnique" ); return detail::createResultValueType( result, UniqueHandle( display, detail::ObjectRelease( *this, d ) ) ); @@ -14100,7 +18331,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2EXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT * pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14113,7 +18349,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const & d ) const { @@ -14124,8 +18365,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceCapabilities2EXT surfaceCapabilities; - Result result = static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( - m_physicalDevice, static_cast( surface ), reinterpret_cast( &surfaceCapabilities ) ) ); + Result result = + static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2EXT( static_cast( m_physicalDevice ), + static_cast( surface ), + reinterpret_cast( &surfaceCapabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2EXT" ); return detail::createResultValueType( result, std::move( surfaceCapabilities ) ); @@ -14135,7 +18378,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_display_control === // wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDisplayPowerControlEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::displayPowerControlEXT( DisplayKHR display, DisplayPowerInfoEXT const * pDisplayPowerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14146,7 +18394,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDisplayPowerControlEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::displayPowerControlEXT( DisplayKHR display, DisplayPowerInfoEXT const & displayPowerInfo, Dispatch const & d ) const { @@ -14155,8 +18408,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDisplayPowerControlEXT && "Function requires " ); # endif - Result result = static_cast( - d.vkDisplayPowerControlEXT( m_device, static_cast( display ), reinterpret_cast( &displayPowerInfo ) ) ); + Result result = static_cast( d.vkDisplayPowerControlEXT( + static_cast( m_device ), static_cast( display ), reinterpret_cast( &displayPowerInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::displayPowerControlEXT" ); return detail::createResultValueType( result ); @@ -14164,7 +18417,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::registerEventEXT( DeviceEventInfoEXT const * pDeviceEventInfo, AllocationCallbacks const * pAllocator, Fence * pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14177,7 +18435,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::registerEventEXT( DeviceEventInfoEXT const & deviceEventInfo, Optional allocator, Dispatch const & d ) const { @@ -14187,7 +18450,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkRegisterDeviceEventEXT( m_device, + Result result = static_cast( d.vkRegisterDeviceEventEXT( static_cast( m_device ), reinterpret_cast( &deviceEventInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &fence ) ) ); @@ -14198,7 +18461,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::registerEventEXTUnique( DeviceEventInfoEXT const & deviceEventInfo, Optional allocator, Dispatch const & d ) const { @@ -14208,7 +18476,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkRegisterDeviceEventEXT( m_device, + Result result = static_cast( d.vkRegisterDeviceEventEXT( static_cast( m_device ), reinterpret_cast( &deviceEventInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &fence ) ) ); @@ -14220,7 +18488,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::registerDisplayEventEXT( DisplayKHR display, DisplayEventInfoEXT const * pDisplayEventInfo, AllocationCallbacks const * pAllocator, Fence * pFence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -14235,7 +18508,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::registerDisplayEventEXT( DisplayKHR display, DisplayEventInfoEXT const & displayEventInfo, Optional allocator, Dispatch const & d ) const { @@ -14245,7 +18523,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkRegisterDisplayEventEXT( m_device, + Result result = static_cast( d.vkRegisterDisplayEventEXT( static_cast( m_device ), static_cast( display ), reinterpret_cast( &displayEventInfo ), reinterpret_cast( allocator.get() ), @@ -14257,7 +18535,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::registerDisplayEventEXTUnique( DisplayKHR display, DisplayEventInfoEXT const & displayEventInfo, Optional allocator, Dispatch const & d ) const { @@ -14267,7 +18550,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Fence fence; - Result result = static_cast( d.vkRegisterDisplayEventEXT( m_device, + Result result = static_cast( d.vkRegisterDisplayEventEXT( static_cast( m_device ), static_cast( display ), reinterpret_cast( &displayEventInfo ), reinterpret_cast( allocator.get() ), @@ -14280,7 +18563,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainCounterEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t * pCounterValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14291,7 +18579,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainCounterEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue @@ -14306,8 +18599,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint64_t counterValue; - Result result = static_cast( - d.vkGetSwapchainCounterEXT( m_device, static_cast( swapchain ), static_cast( counter ), &counterValue ) ); + Result result = static_cast( d.vkGetSwapchainCounterEXT( + static_cast( m_device ), static_cast( swapchain ), static_cast( counter ), &counterValue ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSwapchainCounterEXT", { Result::eSuccess, Result::eErrorOutOfDateKHR } ); @@ -14327,7 +18620,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRefreshCycleDurationGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRefreshCycleDurationGOOGLE ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE * pDisplayTimingProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14340,7 +18638,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRefreshCycleDurationGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRefreshCycleDurationGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const & d ) const { @@ -14350,8 +18653,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RefreshCycleDurationGOOGLE displayTimingProperties; - Result result = static_cast( d.vkGetRefreshCycleDurationGOOGLE( - m_device, static_cast( swapchain ), reinterpret_cast( &displayTimingProperties ) ) ); + Result result = static_cast( d.vkGetRefreshCycleDurationGOOGLE( static_cast( m_device ), + static_cast( swapchain ), + reinterpret_cast( &displayTimingProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRefreshCycleDurationGOOGLE" ); return detail::createResultValueType( result, std::move( displayTimingProperties ) ); @@ -14360,7 +18664,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t * pPresentationTimingCount, PastPresentationTimingGOOGLE * pPresentationTimings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -14375,10 +18684,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PastPresentationTimingGOOGLEAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue> @@ -14397,12 +18711,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); + result = static_cast( + d.vkGetPastPresentationTimingGOOGLE( static_cast( m_device ), static_cast( swapchain ), &presentationTimingCount, nullptr ) ); if ( ( result == Result::eSuccess ) && presentationTimingCount ) { presentationTimings.resize( presentationTimingCount ); - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( static_cast( m_device ), static_cast( swapchain ), &presentationTimingCount, reinterpret_cast( presentationTimings.data() ) ) ); @@ -14431,10 +18745,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PastPresentationTimingGOOGLEAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue> @@ -14454,12 +18773,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = - static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, static_cast( swapchain ), &presentationTimingCount, nullptr ) ); + result = static_cast( + d.vkGetPastPresentationTimingGOOGLE( static_cast( m_device ), static_cast( swapchain ), &presentationTimingCount, nullptr ) ); if ( ( result == Result::eSuccess ) && presentationTimingCount ) { presentationTimings.resize( presentationTimingCount ); - result = static_cast( d.vkGetPastPresentationTimingGOOGLE( m_device, + result = static_cast( d.vkGetPastPresentationTimingGOOGLE( static_cast( m_device ), static_cast( swapchain ), &presentationTimingCount, reinterpret_cast( presentationTimings.data() ) ) ); @@ -14490,7 +18809,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_discard_rectangles === // wrapper function for command vkCmdSetDiscardRectangleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, Rect2D const * pDiscardRectangles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14501,7 +18825,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDiscardRectangleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy const & discardRectangles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14510,14 +18839,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetDiscardRectangleEXT && "Function requires " ); # endif - d.vkCmdSetDiscardRectangleEXT( - m_commandBuffer, firstDiscardRectangle, discardRectangles.size(), reinterpret_cast( discardRectangles.data() ) ); + d.vkCmdSetDiscardRectangleEXT( static_cast( m_commandBuffer ), + firstDiscardRectangle, + discardRectangles.size(), + reinterpret_cast( discardRectangles.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDiscardRectangleEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEnableEXT( Bool32 discardRectangleEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14526,7 +18862,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDiscardRectangleModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14536,7 +18877,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_hdr_metadata === // wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetHdrMetadataEXT ) ) +#endif VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( uint32_t swapchainCount, SwapchainKHR const * pSwapchains, HdrMetadataEXT const * pMetadata, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14549,7 +18895,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetHdrMetadataEXT ) ) +# endif VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( ArrayProxy const & swapchains, ArrayProxy const & metadata, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS @@ -14567,7 +18918,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkSetHdrMetadataEXT( m_device, + d.vkSetHdrMetadataEXT( static_cast( m_device ), swapchains.size(), reinterpret_cast( swapchains.data() ), reinterpret_cast( metadata.data() ) ); @@ -14577,7 +18928,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_create_renderpass2 === // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRenderPass2KHR( RenderPassCreateInfo2 const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14590,7 +18946,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createRenderPass2KHR( RenderPassCreateInfo2 const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -14600,7 +18961,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass2KHR( m_device, + Result result = static_cast( d.vkCreateRenderPass2KHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -14611,7 +18972,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createRenderPass2KHRUnique( RenderPassCreateInfo2 const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -14621,7 +18987,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RenderPass renderPass; - Result result = static_cast( d.vkCreateRenderPass2KHR( m_device, + Result result = static_cast( d.vkCreateRenderPass2KHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &renderPass ) ) ); @@ -14634,7 +19000,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( RenderPassBeginInfo const * pRenderPassBegin, SubpassBeginInfo const * pSubpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14646,7 +19017,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( RenderPassBeginInfo const & renderPassBegin, SubpassBeginInfo const & subpassBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14655,13 +19031,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginRenderPass2KHR && "Function requires or " ); # endif - d.vkCmdBeginRenderPass2KHR( - m_commandBuffer, reinterpret_cast( &renderPassBegin ), reinterpret_cast( &subpassBeginInfo ) ); + d.vkCmdBeginRenderPass2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( &renderPassBegin ), + reinterpret_cast( &subpassBeginInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( SubpassBeginInfo const * pSubpassBeginInfo, SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14673,7 +19055,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( SubpassBeginInfo const & subpassBeginInfo, SubpassEndInfo const & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14682,13 +19069,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdNextSubpass2KHR && "Function requires or " ); # endif - d.vkCmdNextSubpass2KHR( - m_commandBuffer, reinterpret_cast( &subpassBeginInfo ), reinterpret_cast( &subpassEndInfo ) ); + d.vkCmdNextSubpass2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( &subpassBeginInfo ), + reinterpret_cast( &subpassEndInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14697,7 +19090,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( SubpassEndInfo const & subpassEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14705,7 +19103,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndRenderPass2KHR && "Function requires or " ); # endif - d.vkCmdEndRenderPass2KHR( m_commandBuffer, reinterpret_cast( &subpassEndInfo ) ); + d.vkCmdEndRenderPass2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &subpassEndInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -14713,7 +19111,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainStatusKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14721,7 +19124,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainStatusKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -14729,7 +19137,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetSwapchainStatusKHR && "Function requires " ); # endif - Result result = static_cast( d.vkGetSwapchainStatusKHR( m_device, static_cast( swapchain ) ) ); + Result result = static_cast( d.vkGetSwapchainStatusKHR( static_cast( m_device ), static_cast( swapchain ) ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( @@ -14746,7 +19154,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFencePropertiesKHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalFencePropertiesKHR( PhysicalDeviceExternalFenceInfo const * pExternalFenceInfo, ExternalFenceProperties * pExternalFenceProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -14760,7 +19173,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFencePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalFenceProperties PhysicalDevice::getExternalFencePropertiesKHR( PhysicalDeviceExternalFenceInfo const & externalFenceInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14771,7 +19189,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalFenceProperties externalFenceProperties; - d.vkGetPhysicalDeviceExternalFencePropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceExternalFencePropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &externalFenceInfo ), reinterpret_cast( &externalFenceProperties ) ); @@ -14783,7 +19201,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_fence_win32 === // wrapper function for command vkImportFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importFenceWin32HandleKHR( ImportFenceWin32HandleInfoKHR const * pImportFenceWin32HandleInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14794,7 +19217,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importFenceWin32HandleKHR( ImportFenceWin32HandleInfoKHR const & importFenceWin32HandleInfo, Dispatch const & d ) const { @@ -14803,8 +19231,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkImportFenceWin32HandleKHR && "Function requires " ); # endif - Result result = static_cast( - d.vkImportFenceWin32HandleKHR( m_device, reinterpret_cast( &importFenceWin32HandleInfo ) ) ); + Result result = static_cast( d.vkImportFenceWin32HandleKHR( + static_cast( m_device ), reinterpret_cast( &importFenceWin32HandleInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceWin32HandleKHR" ); return detail::createResultValueType( result ); @@ -14812,7 +19240,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceWin32HandleKHR( FenceGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14823,7 +19256,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getFenceWin32HandleKHR( FenceGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d ) const { @@ -14833,8 +19271,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif HANDLE handle; - Result result = - static_cast( d.vkGetFenceWin32HandleKHR( m_device, reinterpret_cast( &getWin32HandleInfo ), &handle ) ); + Result result = static_cast( + d.vkGetFenceWin32HandleKHR( static_cast( m_device ), reinterpret_cast( &getWin32HandleInfo ), &handle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceWin32HandleKHR" ); return detail::createResultValueType( result, std::move( handle ) ); @@ -14845,7 +19283,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_fence_fd === // wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkImportFenceFdKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importFenceFdKHR( ImportFenceFdInfoKHR const * pImportFenceFdInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14856,7 +19299,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportFenceFdKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importFenceFdKHR( ImportFenceFdInfoKHR const & importFenceFdInfo, Dispatch const & d ) const { @@ -14865,7 +19313,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkImportFenceFdKHR && "Function requires " ); # endif - Result result = static_cast( d.vkImportFenceFdKHR( m_device, reinterpret_cast( &importFenceFdInfo ) ) ); + Result result = + static_cast( d.vkImportFenceFdKHR( static_cast( m_device ), reinterpret_cast( &importFenceFdInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importFenceFdKHR" ); return detail::createResultValueType( result ); @@ -14873,7 +19322,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetFenceFdKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFenceFdKHR( FenceGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -14883,7 +19337,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetFenceFdKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getFenceFdKHR( FenceGetFdInfoKHR const & getFdInfo, Dispatch const & d ) const { @@ -14893,7 +19352,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif int fd; - Result result = static_cast( d.vkGetFenceFdKHR( m_device, reinterpret_cast( &getFdInfo ), &fd ) ); + Result result = + static_cast( d.vkGetFenceFdKHR( static_cast( m_device ), reinterpret_cast( &getFdInfo ), &fd ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFenceFdKHR" ); return detail::createResultValueType( result, std::move( fd ) ); @@ -14904,7 +19364,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, uint32_t * pCounterCount, @@ -14924,6 +19389,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PerformanceCounterKHRAllocator, + IsAllocator PerformanceCounterDescriptionKHRAllocator, + typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type @@ -14951,14 +19423,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); if ( ( result == Result::eSuccess ) && counterCount ) { counters.resize( counterCount ); counterDescriptions.resize( counterCount ); result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), @@ -14977,6 +19449,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PerformanceCounterKHRAllocator, + IsAllocator PerformanceCounterDescriptionKHRAllocator, + typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type @@ -15009,14 +19488,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); if ( ( result == Result::eSuccess ) && counterCount ) { counters.resize( counterCount ); counterDescriptions.resize( counterCount ); result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), @@ -15036,7 +19515,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( QueryPoolPerformanceCreateInfoKHR const * pPerformanceQueryCreateInfo, uint32_t * pNumPasses, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15049,7 +19533,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( QueryPoolPerformanceCreateInfoKHR const & performanceQueryCreateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15060,15 +19549,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t numPasses; - d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( - m_physicalDevice, reinterpret_cast( &performanceQueryCreateInfo ), &numPasses ); + d.vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( static_cast( m_physicalDevice ), + reinterpret_cast( &performanceQueryCreateInfo ), + &numPasses ); return numPasses; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAcquireProfilingLockKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireProfilingLockKHR( AcquireProfilingLockInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15079,7 +19574,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireProfilingLockKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::acquireProfilingLockKHR( AcquireProfilingLockInfoKHR const & info, Dispatch const & d ) const { @@ -15088,7 +19588,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAcquireProfilingLockKHR && "Function requires " ); # endif - Result result = static_cast( d.vkAcquireProfilingLockKHR( m_device, reinterpret_cast( &info ) ) ); + Result result = + static_cast( d.vkAcquireProfilingLockKHR( static_cast( m_device ), reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireProfilingLockKHR" ); return detail::createResultValueType( result ); @@ -15096,7 +19597,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkReleaseProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseProfilingLockKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkReleaseProfilingLockKHR ) ) +#endif VULKAN_HPP_INLINE void Device::releaseProfilingLockKHR( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -15107,7 +19613,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, SurfaceCapabilities2KHR * pSurfaceCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15120,7 +19631,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -15132,7 +19648,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE SurfaceCapabilities2KHR surfaceCapabilities; Result result = - static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), reinterpret_cast( &surfaceCapabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); @@ -15142,11 +19658,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -15159,7 +19680,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SurfaceCapabilities2KHR & surfaceCapabilities = structureChain.template get(); Result result = - static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( m_physicalDevice, + static_cast( d.vkGetPhysicalDeviceSurfaceCapabilities2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), reinterpret_cast( &surfaceCapabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); @@ -15170,7 +19691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, uint32_t * pSurfaceFormatCount, SurfaceFormat2KHR * pSurfaceFormats, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -15185,10 +19711,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SurfaceFormat2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -15203,12 +19734,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &surfaceFormatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); @@ -15225,10 +19758,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template SurfaceFormat2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, SurfaceFormat2KHRAllocator const & surfaceFormat2KHRAllocator, Dispatch const & d ) const @@ -15244,12 +19782,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &surfaceFormatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { surfaceFormats.resize( surfaceFormatCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); @@ -15266,11 +19806,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -15286,8 +19831,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &surfaceFormatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { structureChains.resize( surfaceFormatCount ); @@ -15296,7 +19843,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { surfaceFormats[i].pNext = structureChains[i].template get().pNext; } - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); @@ -15317,11 +19864,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, StructureChainAllocator const & structureChainAllocator, Dispatch const & d ) const @@ -15338,8 +19890,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &surfaceFormatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && surfaceFormatCount ) { structureChains.resize( surfaceFormatCount ); @@ -15348,7 +19902,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { surfaceFormats[i].pNext = structureChains[i].template get().pNext; } - result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &surfaceFormatCount, reinterpret_cast( surfaceFormats.data() ) ) ); @@ -15372,7 +19926,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayProperties2KHR( uint32_t * pPropertyCount, DisplayProperties2KHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15384,10 +19943,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayProperties2KHR( Dispatch const & d ) const { @@ -15402,12 +19966,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayProperties2KHR" ); @@ -15421,10 +19985,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayProperties2KHR( DisplayProperties2KHRAllocator const & displayProperties2KHRAllocator, Dispatch const & d ) const { @@ -15439,12 +20008,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( - d.vkGetPhysicalDeviceDisplayProperties2KHR( m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceDisplayProperties2KHR( + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayProperties2KHR" ); @@ -15459,7 +20028,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneProperties2KHR( uint32_t * pPropertyCount, DisplayPlaneProperties2KHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15471,10 +20045,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPlaneProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneProperties2KHR( Dispatch const & d ) const { @@ -15489,12 +20068,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneProperties2KHR" ); @@ -15508,10 +20088,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayPlaneProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayPlaneProperties2KHR( DisplayPlaneProperties2KHRAllocator const & displayPlaneProperties2KHRAllocator, Dispatch const & d ) const { @@ -15526,12 +20111,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceDisplayPlaneProperties2KHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneProperties2KHR" ); @@ -15546,7 +20132,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayModeProperties2KHR( DisplayKHR display, uint32_t * pPropertyCount, DisplayModeProperties2KHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15560,10 +20151,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayModeProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( DisplayKHR display, Dispatch const & d ) const { @@ -15577,12 +20173,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); @@ -15596,10 +20195,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DisplayModeProperties2KHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( DisplayKHR display, DisplayModeProperties2KHRAllocator const & displayModeProperties2KHRAllocator, Dispatch const & d ) const @@ -15614,12 +20218,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); @@ -15633,11 +20240,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( DisplayKHR display, Dispatch const & d ) const { @@ -15652,7 +20264,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { structureChains.resize( propertyCount ); @@ -15661,8 +20274,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { properties[i].pNext = structureChains[i].template get().pNext; } - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); @@ -15680,11 +20295,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template StructureChainAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDisplayModeProperties2KHR( DisplayKHR display, StructureChainAllocator const & structureChainAllocator, Dispatch const & d ) const { @@ -15699,7 +20319,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDisplayModeProperties2KHR( m_physicalDevice, static_cast( display ), &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), static_cast( display ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { structureChains.resize( propertyCount ); @@ -15708,8 +20329,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { properties[i].pNext = structureChains[i].template get().pNext; } - result = static_cast( d.vkGetDisplayModeProperties2KHR( - m_physicalDevice, static_cast( display ), &propertyCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetDisplayModeProperties2KHR( static_cast( m_physicalDevice ), + static_cast( display ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayModeProperties2KHR" ); @@ -15728,7 +20351,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilities2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDisplayPlaneCapabilities2KHR( DisplayPlaneInfo2KHR const * pDisplayPlaneInfo, DisplayPlaneCapabilities2KHR * pCapabilities, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15741,7 +20369,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getDisplayPlaneCapabilities2KHR( DisplayPlaneInfo2KHR const & displayPlaneInfo, Dispatch const & d ) const { @@ -15751,7 +20384,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayPlaneCapabilities2KHR capabilities; - Result result = static_cast( d.vkGetDisplayPlaneCapabilities2KHR( m_physicalDevice, + Result result = static_cast( d.vkGetDisplayPlaneCapabilities2KHR( static_cast( m_physicalDevice ), reinterpret_cast( &displayPlaneInfo ), reinterpret_cast( &capabilities ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilities2KHR" ); @@ -15764,7 +20397,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_MVK_ios_surface === // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15777,7 +20415,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -15787,7 +20430,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateIOSSurfaceMVK( m_instance, + Result result = static_cast( d.vkCreateIOSSurfaceMVK( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -15798,7 +20441,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createIOSSurfaceMVKUnique( IOSSurfaceCreateInfoMVK const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -15808,7 +20456,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateIOSSurfaceMVK( m_instance, + Result result = static_cast( d.vkCreateIOSSurfaceMVK( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -15825,7 +20473,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_MVK_macos_surface === // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15838,7 +20491,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -15848,7 +20506,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateMacOSSurfaceMVK( m_instance, + Result result = static_cast( d.vkCreateMacOSSurfaceMVK( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -15859,7 +20517,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createMacOSSurfaceMVKUnique( MacOSSurfaceCreateInfoMVK const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -15869,7 +20532,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateMacOSSurfaceMVK( m_instance, + Result result = static_cast( d.vkCreateMacOSSurfaceMVK( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -15885,7 +20548,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_debug_utils === // wrapper function for command vkSetDebugUtilsObjectNameEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectNameEXT( DebugUtilsObjectNameInfoEXT const * pNameInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15896,7 +20564,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetDebugUtilsObjectNameEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectNameEXT( DebugUtilsObjectNameInfoEXT const & nameInfo, Dispatch const & d ) const { @@ -15905,17 +20578,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetDebugUtilsObjectNameEXT && "Function requires " ); # endif - Result result = static_cast( d.vkSetDebugUtilsObjectNameEXT( m_device, reinterpret_cast( &nameInfo ) ) ); + Result result = static_cast( + d.vkSetDebugUtilsObjectNameEXT( static_cast( m_device ), reinterpret_cast( &nameInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectNameEXT" ); return detail::createResultValueType( result ); } // wrapper function for command vkSetDebugUtilsObjectNameEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html - template ::type> +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value, bool>::type> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectNameEXT( HandleType const & handle, std::string const & name, Dispatch const & d ) const { - VULKAN_HPP_STATIC_ASSERT( VULKAN_HPP_NAMESPACE::isVulkanHandleType::value, "HandleType must be a Vulkan handle type" ); // It might be, that neither constructors, nor setters, nor designated initializers are available... need to explicitly set member by member VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT nameInfo; nameInfo.objectType = handle.objectType; @@ -15930,7 +20610,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setDebugUtilsObjectTagEXT( DebugUtilsObjectTagInfoEXT const * pTagInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -15941,7 +20626,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectTagEXT( DebugUtilsObjectTagInfoEXT const & tagInfo, Dispatch const & d ) const { @@ -15950,17 +20640,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetDebugUtilsObjectTagEXT && "Function requires " ); # endif - Result result = static_cast( d.vkSetDebugUtilsObjectTagEXT( m_device, reinterpret_cast( &tagInfo ) ) ); + Result result = static_cast( + d.vkSetDebugUtilsObjectTagEXT( static_cast( m_device ), reinterpret_cast( &tagInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setDebugUtilsObjectTagEXT" ); return detail::createResultValueType( result ); } // wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html - template ::type> +# if VULKAN_HPP_CPP_VERSION < 20 + template ::value, bool>::type> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setDebugUtilsObjectTagEXT( HandleType const & handle, uint64_t name, TagType const & tag, Dispatch const & d ) const { - VULKAN_HPP_STATIC_ASSERT( VULKAN_HPP_NAMESPACE::isVulkanHandleType::value, "HandleType must be a Vulkan handle type" ); // It might be, that neither constructors, nor setters, nor designated initializers are available... need to explicitly set member by member VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT tagInfo; tagInfo.objectType = handle.objectType; @@ -15978,7 +20676,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueBeginDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -15988,7 +20691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueBeginDebugUtilsLabelEXT ) ) +# endif VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -15996,12 +20704,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueBeginDebugUtilsLabelEXT && "Function requires " ); # endif - d.vkQueueBeginDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); + d.vkQueueBeginDebugUtilsLabelEXT( static_cast( m_queue ), reinterpret_cast( &labelInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkQueueEndDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueEndDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueEndDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16010,7 +20723,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueInsertDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16020,7 +20738,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueInsertDebugUtilsLabelEXT ) ) +# endif VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16028,12 +20751,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueInsertDebugUtilsLabelEXT && "Function requires " ); # endif - d.vkQueueInsertDebugUtilsLabelEXT( m_queue, reinterpret_cast( &labelInfo ) ); + d.vkQueueInsertDebugUtilsLabelEXT( static_cast( m_queue ), reinterpret_cast( &labelInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16042,7 +20770,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginDebugUtilsLabelEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16050,12 +20783,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginDebugUtilsLabelEXT && "Function requires " ); # endif - d.vkCmdBeginDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); + d.vkCmdBeginDebugUtilsLabelEXT( static_cast( m_commandBuffer ), reinterpret_cast( &labelInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16064,7 +20802,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdInsertDebugUtilsLabelEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16074,7 +20817,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdInsertDebugUtilsLabelEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16082,13 +20830,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdInsertDebugUtilsLabelEXT && "Function requires " ); # endif - d.vkCmdInsertDebugUtilsLabelEXT( m_commandBuffer, reinterpret_cast( &labelInfo ) ); + d.vkCmdInsertDebugUtilsLabelEXT( static_cast( m_commandBuffer ), reinterpret_cast( &labelInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, DebugUtilsMessengerEXT * pMessenger, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -16103,7 +20856,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -16113,7 +20871,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DebugUtilsMessengerEXT messenger; - Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( m_instance, + Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &messenger ) ) ); @@ -16125,7 +20883,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDebugUtilsMessengerEXTUnique( DebugUtilsMessengerCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const @@ -16136,7 +20899,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DebugUtilsMessengerEXT messenger; - Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( m_instance, + Result result = static_cast( d.vkCreateDebugUtilsMessengerEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &messenger ) ) ); @@ -16150,7 +20913,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16163,7 +20931,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16172,14 +20945,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDebugUtilsMessengerEXT && "Function requires " ); # endif - d.vkDestroyDebugUtilsMessengerEXT( - m_instance, static_cast( messenger ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDebugUtilsMessengerEXT( static_cast( m_instance ), + static_cast( messenger ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16192,7 +20971,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::destroy( DebugUtilsMessengerEXT messenger, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16201,13 +20985,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDebugUtilsMessengerEXT && "Function requires " ); # endif - d.vkDestroyDebugUtilsMessengerEXT( - m_instance, static_cast( messenger ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDebugUtilsMessengerEXT( static_cast( m_instance ), + static_cast( messenger ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSubmitDebugUtilsMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSubmitDebugUtilsMessageEXT ) ) +#endif VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, DebugUtilsMessengerCallbackDataEXT const * pCallbackData, @@ -16222,7 +21012,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSubmitDebugUtilsMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSubmitDebugUtilsMessageEXT ) ) +# endif VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, DebugUtilsMessengerCallbackDataEXT const & callbackData, @@ -16233,7 +21028,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSubmitDebugUtilsMessageEXT && "Function requires " ); # endif - d.vkSubmitDebugUtilsMessageEXT( m_instance, + d.vkSubmitDebugUtilsMessageEXT( static_cast( m_instance ), static_cast( messageSeverity ), static_cast( messageTypes ), reinterpret_cast( &callbackData ) ); @@ -16245,7 +21040,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const * buffer, AndroidHardwareBufferPropertiesANDROID * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16257,7 +21057,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const & buffer, Dispatch const & d ) const { @@ -16268,8 +21073,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AndroidHardwareBufferPropertiesANDROID properties; - Result result = static_cast( - d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( + static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -16277,11 +21082,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const & buffer, Dispatch const & d ) const { @@ -16293,8 +21103,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; AndroidHardwareBufferPropertiesANDROID & properties = structureChain.template get(); - Result result = static_cast( - d.vkGetAndroidHardwareBufferPropertiesANDROID( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( d.vkGetAndroidHardwareBufferPropertiesANDROID( + static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); return detail::createResultValueType( result, std::move( structureChain ) ); @@ -16303,7 +21113,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryAndroidHardwareBufferANDROID ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryAndroidHardwareBufferANDROID( MemoryGetAndroidHardwareBufferInfoANDROID const * pInfo, struct AHardwareBuffer ** pBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16315,7 +21130,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryAndroidHardwareBufferANDROID ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryAndroidHardwareBufferANDROID( MemoryGetAndroidHardwareBufferInfoANDROID const & info, Dispatch const & d ) const { @@ -16326,8 +21146,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif struct AHardwareBuffer * buffer; - Result result = static_cast( - d.vkGetMemoryAndroidHardwareBufferANDROID( m_device, reinterpret_cast( &info ), &buffer ) ); + Result result = static_cast( d.vkGetMemoryAndroidHardwareBufferANDROID( + static_cast( m_device ), reinterpret_cast( &info ), &buffer ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryAndroidHardwareBufferANDROID" ); return detail::createResultValueType( result, std::move( buffer ) ); @@ -16338,7 +21158,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_gpa_interface === // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createGpaSessionAMD( GpaSessionCreateInfoAMD const * pCreateInfo, AllocationCallbacks const * pAllocator, GpaSessionAMD * pGpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -16352,7 +21177,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createGpaSessionAMD( GpaSessionCreateInfoAMD const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -16362,7 +21192,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif GpaSessionAMD gpaSession; - Result result = static_cast( d.vkCreateGpaSessionAMD( m_device, + Result result = static_cast( d.vkCreateGpaSessionAMD( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &gpaSession ) ) ); @@ -16373,7 +21203,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createGpaSessionAMDUnique( GpaSessionCreateInfoAMD const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -16383,7 +21218,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif GpaSessionAMD gpaSession; - Result result = static_cast( d.vkCreateGpaSessionAMD( m_device, + Result result = static_cast( d.vkCreateGpaSessionAMD( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &gpaSession ) ) ); @@ -16396,7 +21231,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +#endif VULKAN_HPP_INLINE void Device::destroyGpaSessionAMD( GpaSessionAMD gpaSession, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16407,7 +21247,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +# endif VULKAN_HPP_INLINE void Device::destroyGpaSessionAMD( GpaSessionAMD gpaSession, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16416,12 +21261,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyGpaSessionAMD && "Function requires " ); # endif - d.vkDestroyGpaSessionAMD( m_device, static_cast( gpaSession ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyGpaSessionAMD( + static_cast( m_device ), static_cast( gpaSession ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( GpaSessionAMD gpaSession, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16431,7 +21282,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( GpaSessionAMD gpaSession, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16440,12 +21296,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyGpaSessionAMD && "Function requires " ); # endif - d.vkDestroyGpaSessionAMD( m_device, static_cast( gpaSession ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyGpaSessionAMD( + static_cast( m_device ), static_cast( gpaSession ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetGpaDeviceClockModeAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetGpaDeviceClockModeAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetGpaDeviceClockModeAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setGpaClockModeAMD( GpaDeviceClockModeInfoAMD * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16454,7 +21316,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetGpaDeviceClockModeAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetGpaDeviceClockModeAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetGpaDeviceClockModeAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::setGpaClockModeAMD( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16463,7 +21330,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif GpaDeviceClockModeInfoAMD info; - Result result = static_cast( d.vkSetGpaDeviceClockModeAMD( m_device, reinterpret_cast( &info ) ) ); + Result result = + static_cast( d.vkSetGpaDeviceClockModeAMD( static_cast( m_device ), reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setGpaClockModeAMD" ); return detail::createResultValueType( result, std::move( info ) ); @@ -16471,7 +21339,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetGpaDeviceClockInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaDeviceClockInfoAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetGpaDeviceClockInfoAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGpaClockInfoAMD( GpaDeviceGetClockInfoAMD * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16480,7 +21353,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaDeviceClockInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaDeviceClockInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGpaDeviceClockInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getGpaClockInfoAMD( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16489,7 +21367,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif GpaDeviceGetClockInfoAMD info; - Result result = static_cast( d.vkGetGpaDeviceClockInfoAMD( m_device, reinterpret_cast( &info ) ) ); + Result result = + static_cast( d.vkGetGpaDeviceClockInfoAMD( static_cast( m_device ), reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGpaClockInfoAMD" ); return detail::createResultValueType( result, std::move( info ) ); @@ -16498,7 +21377,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::beginGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16506,7 +21390,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkCmdBeginGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::beginGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const { @@ -16515,7 +21404,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginGpaSessionAMD && "Function requires " ); # endif - Result result = static_cast( d.vkCmdBeginGpaSessionAMD( m_commandBuffer, static_cast( gpaSession ) ) ); + Result result = + static_cast( d.vkCmdBeginGpaSessionAMD( static_cast( m_commandBuffer ), static_cast( gpaSession ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::beginGpaSessionAMD" ); return detail::createResultValueType( result ); @@ -16524,7 +21414,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::endGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16532,7 +21427,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkCmdEndGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::endGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const { @@ -16541,7 +21441,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndGpaSessionAMD && "Function requires " ); # endif - Result result = static_cast( d.vkCmdEndGpaSessionAMD( m_commandBuffer, static_cast( gpaSession ) ) ); + Result result = + static_cast( d.vkCmdEndGpaSessionAMD( static_cast( m_commandBuffer ), static_cast( gpaSession ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::endGpaSessionAMD" ); return detail::createResultValueType( result ); @@ -16549,7 +21450,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCmdBeginGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSampleAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSampleAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::beginGpaSampleAMD( GpaSessionAMD gpaSession, GpaSampleBeginInfoAMD const * pGpaSampleBeginInfo, uint32_t * pSampleID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16562,7 +21468,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSampleAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSampleAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::beginGpaSampleAMD( GpaSessionAMD gpaSession, GpaSampleBeginInfoAMD const & gpaSampleBeginInfo, Dispatch const & d ) const { @@ -16572,8 +21483,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t sampleID; - Result result = static_cast( d.vkCmdBeginGpaSampleAMD( - m_commandBuffer, static_cast( gpaSession ), reinterpret_cast( &gpaSampleBeginInfo ), &sampleID ) ); + Result result = static_cast( d.vkCmdBeginGpaSampleAMD( static_cast( m_commandBuffer ), + static_cast( gpaSession ), + reinterpret_cast( &gpaSampleBeginInfo ), + &sampleID ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::beginGpaSampleAMD" ); return detail::createResultValueType( result, std::move( sampleID ) ); @@ -16581,7 +21494,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSampleAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndGpaSampleAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endGpaSampleAMD( GpaSessionAMD gpaSession, uint32_t sampleID, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16590,7 +21508,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaSessionStatusAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionStatusAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGpaSessionStatusAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGpaSessionStatusAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16598,7 +21521,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkGetGpaSessionStatusAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionStatusAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGpaSessionStatusAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::getGpaSessionStatusAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const { @@ -16607,7 +21535,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetGpaSessionStatusAMD && "Function requires " ); # endif - Result result = static_cast( d.vkGetGpaSessionStatusAMD( m_device, static_cast( gpaSession ) ) ); + Result result = static_cast( d.vkGetGpaSessionStatusAMD( static_cast( m_device ), static_cast( gpaSession ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGpaSessionStatusAMD" ); return detail::createResultValueType( result ); @@ -16615,7 +21543,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, size_t * pSizeInBytes, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16626,10 +21559,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, Dispatch const & d ) const { @@ -16640,12 +21578,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector data; size_t sizeInBytes; - Result result = static_cast( d.vkGetGpaSessionResultsAMD( m_device, static_cast( gpaSession ), sampleID, &sizeInBytes, nullptr ) ); + Result result = static_cast( + d.vkGetGpaSessionResultsAMD( static_cast( m_device ), static_cast( gpaSession ), sampleID, &sizeInBytes, nullptr ) ); if ( result == Result::eSuccess ) { data.resize( sizeInBytes ); - result = static_cast( - d.vkGetGpaSessionResultsAMD( m_device, static_cast( gpaSession ), sampleID, &sizeInBytes, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetGpaSessionResultsAMD( + static_cast( m_device ), static_cast( gpaSession ), sampleID, &sizeInBytes, reinterpret_cast( data.data() ) ) ); } detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGpaSessionResultsAMD" ); @@ -16658,10 +21597,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -16672,12 +21616,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector data( uint8_tAllocator ); size_t sizeInBytes; - Result result = static_cast( d.vkGetGpaSessionResultsAMD( m_device, static_cast( gpaSession ), sampleID, &sizeInBytes, nullptr ) ); + Result result = static_cast( + d.vkGetGpaSessionResultsAMD( static_cast( m_device ), static_cast( gpaSession ), sampleID, &sizeInBytes, nullptr ) ); if ( result == Result::eSuccess ) { data.resize( sizeInBytes ); - result = static_cast( - d.vkGetGpaSessionResultsAMD( m_device, static_cast( gpaSession ), sampleID, &sizeInBytes, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetGpaSessionResultsAMD( + static_cast( m_device ), static_cast( gpaSession ), sampleID, &sizeInBytes, reinterpret_cast( data.data() ) ) ); } detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGpaSessionResultsAMD" ); @@ -16692,7 +21637,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::resetGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16700,7 +21650,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkResetGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkResetGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::resetGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const { @@ -16709,7 +21664,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkResetGpaSessionAMD && "Function requires " ); # endif - Result result = static_cast( d.vkResetGpaSessionAMD( m_device, static_cast( gpaSession ) ) ); + Result result = static_cast( d.vkResetGpaSessionAMD( static_cast( m_device ), static_cast( gpaSession ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::resetGpaSessionAMD" ); return detail::createResultValueType( result ); @@ -16718,7 +21673,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyGpaSessionResultsAMD, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyGpaSessionResultsAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyGpaSessionResultsAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyGpaSessionResultsAMD( GpaSessionAMD gpaSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -16730,7 +21690,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, uint32_t createInfoCount, ExecutionGraphPipelineCreateInfoAMDX const * pCreateInfos, @@ -16750,10 +21715,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16767,7 +21737,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector pipelines( createInfos.size() ); Result result = - static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -16786,10 +21756,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16804,7 +21779,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); Result result = - static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -16823,7 +21798,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createExecutionGraphPipelineAMDX( PipelineCache pipelineCache, ExecutionGraphPipelineCreateInfoAMDX const & createInfo, Optional allocator, Dispatch const & d ) const @@ -16834,7 +21814,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + Result result = static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -16849,10 +21829,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createExecutionGraphPipelinesAMDXUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16866,7 +21851,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector pipelines( createInfos.size() ); Result result = - static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -16891,10 +21876,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createExecutionGraphPipelinesAMDXUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16909,7 +21899,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector pipelines( createInfos.size() ); Result result = - static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -16934,7 +21924,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createExecutionGraphPipelineAMDXUnique( PipelineCache pipelineCache, ExecutionGraphPipelineCreateInfoAMDX const & createInfo, Optional allocator, Dispatch const & d ) const @@ -16945,7 +21940,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateExecutionGraphPipelinesAMDX( m_device, + Result result = static_cast( d.vkCreateExecutionGraphPipelinesAMDX( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -16962,7 +21957,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineScratchSizeAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getExecutionGraphPipelineScratchSizeAMDX( Pipeline executionGraph, ExecutionGraphPipelineScratchSizeAMDX * pSizeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -16975,7 +21975,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineScratchSizeAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getExecutionGraphPipelineScratchSizeAMDX( Pipeline executionGraph, Dispatch const & d ) const { @@ -16986,8 +21991,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExecutionGraphPipelineScratchSizeAMDX sizeInfo; - Result result = static_cast( d.vkGetExecutionGraphPipelineScratchSizeAMDX( - m_device, static_cast( executionGraph ), reinterpret_cast( &sizeInfo ) ) ); + Result result = + static_cast( d.vkGetExecutionGraphPipelineScratchSizeAMDX( static_cast( m_device ), + static_cast( executionGraph ), + reinterpret_cast( &sizeInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getExecutionGraphPipelineScratchSizeAMDX" ); return detail::createResultValueType( result, std::move( sizeInfo ) ); @@ -16996,7 +22003,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineNodeIndexAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getExecutionGraphPipelineNodeIndexAMDX( Pipeline executionGraph, PipelineShaderStageNodeCreateInfoAMDX const * pNodeInfo, uint32_t * pNodeIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17010,7 +22022,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineNodeIndexAMDX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getExecutionGraphPipelineNodeIndexAMDX( Pipeline executionGraph, PipelineShaderStageNodeCreateInfoAMDX const & nodeInfo, Dispatch const & d ) const { @@ -17020,8 +22037,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t nodeIndex; - Result result = static_cast( d.vkGetExecutionGraphPipelineNodeIndexAMDX( - m_device, static_cast( executionGraph ), reinterpret_cast( &nodeInfo ), &nodeIndex ) ); + Result result = + static_cast( d.vkGetExecutionGraphPipelineNodeIndexAMDX( static_cast( m_device ), + static_cast( executionGraph ), + reinterpret_cast( &nodeInfo ), + &nodeIndex ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getExecutionGraphPipelineNodeIndexAMDX" ); return detail::createResultValueType( result, std::move( nodeIndex ) ); @@ -17030,7 +22050,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdInitializeGraphScratchMemoryAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInitializeGraphScratchMemoryAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdInitializeGraphScratchMemoryAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::initializeGraphScratchMemoryAMDX( Pipeline executionGraph, DeviceAddress scratch, DeviceSize scratchSize, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17042,7 +22067,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const * pCountInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17055,7 +22085,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const & countInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17064,7 +22099,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDispatchGraphAMDX && "Function requires " ); # endif - d.vkCmdDispatchGraphAMDX( m_commandBuffer, + d.vkCmdDispatchGraphAMDX( static_cast( m_commandBuffer ), static_cast( scratch ), static_cast( scratchSize ), reinterpret_cast( &countInfo ) ); @@ -17073,7 +22108,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDispatchGraphIndirectAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphIndirectAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const * pCountInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17087,7 +22127,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchGraphIndirectAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphIndirectAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const & countInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17096,7 +22141,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDispatchGraphIndirectAMDX && "Function requires " ); # endif - d.vkCmdDispatchGraphIndirectAMDX( m_commandBuffer, + d.vkCmdDispatchGraphIndirectAMDX( static_cast( m_commandBuffer ), static_cast( scratch ), static_cast( scratchSize ), reinterpret_cast( &countInfo ) ); @@ -17105,7 +22150,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDispatchGraphIndirectCountAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectCountAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectCountAMDX ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphIndirectCountAMDX( DeviceAddress scratch, DeviceSize scratchSize, DeviceAddress countInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17120,7 +22170,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_descriptor_heap === // wrapper function for command vkWriteSamplerDescriptorsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWriteSamplerDescriptorsEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeSamplerDescriptorsEXT( uint32_t samplerCount, SamplerCreateInfo const * pSamplers, HostAddressRangeEXT const * pDescriptors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17133,7 +22188,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteSamplerDescriptorsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWriteSamplerDescriptorsEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::writeSamplerDescriptorsEXT( ArrayProxy const & samplers, ArrayProxy const & descriptors, Dispatch const & d ) const { @@ -17150,7 +22210,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - Result result = static_cast( d.vkWriteSamplerDescriptorsEXT( m_device, + Result result = static_cast( d.vkWriteSamplerDescriptorsEXT( static_cast( m_device ), samplers.size(), reinterpret_cast( samplers.data() ), reinterpret_cast( descriptors.data() ) ) ); @@ -17162,7 +22222,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteResourceDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWriteResourceDescriptorsEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeResourceDescriptorsEXT( uint32_t resourceCount, ResourceDescriptorInfoEXT const * pResources, HostAddressRangeEXT const * pDescriptors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -17177,7 +22242,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteResourceDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWriteResourceDescriptorsEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::writeResourceDescriptorsEXT( ArrayProxy const & resources, ArrayProxy const & descriptors, Dispatch const & d ) const { @@ -17194,7 +22264,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - Result result = static_cast( d.vkWriteResourceDescriptorsEXT( m_device, + Result result = static_cast( d.vkWriteResourceDescriptorsEXT( static_cast( m_device ), resources.size(), reinterpret_cast( resources.data() ), reinterpret_cast( descriptors.data() ) ) ); @@ -17205,7 +22275,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindSamplerHeapEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindSamplerHeapEXT( BindHeapInfoEXT const * pBindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17214,7 +22289,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindSamplerHeapEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindSamplerHeapEXT( BindHeapInfoEXT const & bindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17222,12 +22302,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindSamplerHeapEXT && "Function requires " ); # endif - d.vkCmdBindSamplerHeapEXT( m_commandBuffer, reinterpret_cast( &bindInfo ) ); + d.vkCmdBindSamplerHeapEXT( static_cast( m_commandBuffer ), reinterpret_cast( &bindInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindResourceHeapEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindResourceHeapEXT( BindHeapInfoEXT const * pBindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17236,7 +22321,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindResourceHeapEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindResourceHeapEXT( BindHeapInfoEXT const & bindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17244,12 +22334,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindResourceHeapEXT && "Function requires " ); # endif - d.vkCmdBindResourceHeapEXT( m_commandBuffer, reinterpret_cast( &bindInfo ) ); + d.vkCmdBindResourceHeapEXT( static_cast( m_commandBuffer ), reinterpret_cast( &bindInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDataEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDataEXT( PushDataInfoEXT const * pPushDataInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17258,7 +22353,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDataEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDataEXT( PushDataInfoEXT const & pushDataInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17266,13 +22366,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushDataEXT && "Function requires " ); # endif - d.vkCmdPushDataEXT( m_commandBuffer, reinterpret_cast( &pushDataInfo ) ); + d.vkCmdPushDataEXT( static_cast( m_commandBuffer ), reinterpret_cast( &pushDataInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageOpaqueCaptureDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageOpaqueCaptureDataEXT( uint32_t imageCount, Image const * pImages, HostAddressRangeEXT * pDatas, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17283,7 +22388,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDescriptorSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDescriptorSizeEXT ) ) +#endif VULKAN_HPP_INLINE DeviceSize PhysicalDevice::getDescriptorSizeEXT( DescriptorType descriptorType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17293,7 +22403,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkRegisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkRegisterCustomBorderColorEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::registerCustomBorderColorEXT( SamplerCustomBorderColorCreateInfoEXT const * pBorderColor, Bool32 requestIndex, uint32_t * pIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17307,7 +22422,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkRegisterCustomBorderColorEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::registerCustomBorderColorEXT( SamplerCustomBorderColorCreateInfoEXT const & borderColor, Bool32 requestIndex, Dispatch const & d ) const { @@ -17317,8 +22437,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint32_t index; - Result result = static_cast( d.vkRegisterCustomBorderColorEXT( - m_device, reinterpret_cast( &borderColor ), static_cast( requestIndex ), &index ) ); + Result result = static_cast( d.vkRegisterCustomBorderColorEXT( static_cast( m_device ), + reinterpret_cast( &borderColor ), + static_cast( requestIndex ), + &index ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::registerCustomBorderColorEXT" ); return detail::createResultValueType( result, std::move( index ) ); @@ -17327,7 +22449,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUnregisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnregisterCustomBorderColorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUnregisterCustomBorderColorEXT ) ) +#endif VULKAN_HPP_INLINE void Device::unregisterCustomBorderColorEXT( uint32_t index, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -17336,7 +22463,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorOpaqueCaptureDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getTensorOpaqueCaptureDataARM( uint32_t tensorCount, TensorARM const * pTensors, HostAddressRangeEXT * pDatas, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17350,7 +22482,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_sample_locations === // wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( SampleLocationsInfoEXT const * pSampleLocationsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17360,7 +22497,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( SampleLocationsInfoEXT const & sampleLocationsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17369,13 +22511,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetSampleLocationsEXT && "Function requires " ); # endif - d.vkCmdSetSampleLocationsEXT( m_commandBuffer, reinterpret_cast( &sampleLocationsInfo ) ); + d.vkCmdSetSampleLocationsEXT( static_cast( m_commandBuffer ), reinterpret_cast( &sampleLocationsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMultisamplePropertiesEXT ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT * pMultisampleProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17388,7 +22535,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMultisamplePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MultisamplePropertiesEXT PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17399,8 +22551,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MultisamplePropertiesEXT multisampleProperties; - d.vkGetPhysicalDeviceMultisamplePropertiesEXT( - m_physicalDevice, static_cast( samples ), reinterpret_cast( &multisampleProperties ) ); + d.vkGetPhysicalDeviceMultisamplePropertiesEXT( static_cast( m_physicalDevice ), + static_cast( samples ), + reinterpret_cast( &multisampleProperties ) ); return multisampleProperties; } @@ -17410,7 +22563,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17423,7 +22581,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17434,15 +22597,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetImageMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetImageMemoryRequirements2KHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17454,8 +22623,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetImageMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetImageMemoryRequirements2KHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -17463,7 +22633,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +#endif VULKAN_HPP_INLINE void Device::getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17476,7 +22651,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17487,15 +22667,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetBufferMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetBufferMemoryRequirements2KHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17507,8 +22693,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetBufferMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetBufferMemoryRequirements2KHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -17516,7 +22703,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -17532,11 +22724,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const & info, Dispatch const & d ) const { @@ -17549,9 +22746,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements; uint32_t sparseMemoryRequirementCount; d.vkGetImageSparseMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2KHR( m_device, + d.vkGetImageSparseMemoryRequirements2KHR( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -17566,11 +22763,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -17585,9 +22787,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); uint32_t sparseMemoryRequirementCount; d.vkGetImageSparseMemoryRequirements2KHR( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetImageSparseMemoryRequirements2KHR( m_device, + d.vkGetImageSparseMemoryRequirements2KHR( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -17605,7 +22807,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureKHR * pAccelerationStructure, @@ -17621,7 +22828,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -17631,7 +22843,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureKHR( m_device, + Result result = static_cast( d.vkCreateAccelerationStructureKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -17643,7 +22855,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createAccelerationStructureKHRUnique( AccelerationStructureCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const @@ -17654,7 +22871,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureKHR( m_device, + Result result = static_cast( d.vkCreateAccelerationStructureKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -17668,7 +22885,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyAccelerationStructureKHR( AccelerationStructureKHR accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17681,7 +22903,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyAccelerationStructureKHR( AccelerationStructureKHR accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17690,14 +22917,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyAccelerationStructureKHR && "Function requires " ); # endif - d.vkDestroyAccelerationStructureKHR( - m_device, static_cast( accelerationStructure ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyAccelerationStructureKHR( static_cast( m_device ), + static_cast( accelerationStructure ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( AccelerationStructureKHR accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17710,7 +22943,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( AccelerationStructureKHR accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17719,14 +22957,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyAccelerationStructureKHR && "Function requires " ); # endif - d.vkDestroyAccelerationStructureKHR( - m_device, static_cast( accelerationStructure ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyAccelerationStructureKHR( static_cast( m_device ), + static_cast( accelerationStructure ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresKHR( uint32_t infoCount, AccelerationStructureBuildGeometryInfoKHR const * pInfos, AccelerationStructureBuildRangeInfoKHR const * const * ppBuildRangeInfos, @@ -17742,7 +22986,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresKHR( ArrayProxy const & infos, ArrayProxy const & pBuildRangeInfos, @@ -17761,7 +23010,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBuildAccelerationStructuresKHR( m_commandBuffer, + d.vkCmdBuildAccelerationStructuresKHR( static_cast( m_commandBuffer ), infos.size(), reinterpret_cast( infos.data() ), reinterpret_cast( pBuildRangeInfos.data() ) ); @@ -17770,7 +23019,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresIndirectKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresIndirectKHR( uint32_t infoCount, AccelerationStructureBuildGeometryInfoKHR const * pInfos, DeviceAddress const * pIndirectDeviceAddresses, @@ -17790,7 +23044,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresIndirectKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresIndirectKHR( ArrayProxy const & infos, ArrayProxy const & indirectDeviceAddresses, ArrayProxy const & indirectStrides, @@ -17821,7 +23080,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBuildAccelerationStructuresIndirectKHR( m_commandBuffer, + d.vkCmdBuildAccelerationStructuresIndirectKHR( static_cast( m_commandBuffer ), infos.size(), reinterpret_cast( infos.data() ), reinterpret_cast( indirectDeviceAddresses.data() ), @@ -17832,7 +23091,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBuildAccelerationStructuresKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildAccelerationStructuresKHR( DeferredOperationKHR deferredOperation, uint32_t infoCount, @@ -17852,7 +23116,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBuildAccelerationStructuresKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildAccelerationStructuresKHR( DeferredOperationKHR deferredOperation, ArrayProxy const & infos, @@ -17873,7 +23142,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ Result result = static_cast( - d.vkBuildAccelerationStructuresKHR( m_device, + d.vkBuildAccelerationStructuresKHR( static_cast( m_device ), static_cast( deferredOperation ), infos.size(), reinterpret_cast( infos.data() ), @@ -17888,7 +23157,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17901,7 +23175,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureInfoKHR const & info, Dispatch const & d ) const { @@ -17910,8 +23189,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyAccelerationStructureKHR && "Function requires " ); # endif - Result result = static_cast( d.vkCopyAccelerationStructureKHR( - m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = static_cast( d.vkCopyAccelerationStructureKHR( static_cast( m_device ), + static_cast( deferredOperation ), + reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureKHR", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -17922,7 +23202,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureToMemoryKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureToMemoryInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17935,7 +23220,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureToMemoryKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureToMemoryInfoKHR const & info, Dispatch const & d ) const { @@ -17945,8 +23235,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - Result result = static_cast( d.vkCopyAccelerationStructureToMemoryKHR( - m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = + static_cast( d.vkCopyAccelerationStructureToMemoryKHR( static_cast( m_device ), + static_cast( deferredOperation ), + reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyAccelerationStructureToMemoryKHR", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -17957,7 +23249,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyMemoryToAccelerationStructureInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -17970,7 +23267,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyMemoryToAccelerationStructureInfoKHR const & info, Dispatch const & d ) const { @@ -17980,8 +23282,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - Result result = static_cast( d.vkCopyMemoryToAccelerationStructureKHR( - m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = + static_cast( d.vkCopyMemoryToAccelerationStructureKHR( static_cast( m_device ), + static_cast( deferredOperation ), + reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToAccelerationStructureKHR", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -17992,7 +23296,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, AccelerationStructureKHR const * pAccelerationStructures, QueryType queryType, @@ -18014,11 +23323,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, QueryType queryType, size_t dataSize, size_t stride, Dispatch const & d ) const @@ -18032,7 +23346,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); Result result = - static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, + static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( static_cast( m_device ), accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), @@ -18046,7 +23360,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::writeAccelerationStructuresPropertyKHR( ArrayProxy const & accelerationStructures, QueryType queryType, size_t stride, Dispatch const & d ) const { @@ -18058,7 +23377,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataType data; Result result = - static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( m_device, + static_cast( d.vkWriteAccelerationStructuresPropertiesKHR( static_cast( m_device ), accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), @@ -18073,7 +23392,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( CopyAccelerationStructureInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18085,7 +23409,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( CopyAccelerationStructureInfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18094,13 +23423,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyAccelerationStructureKHR && "Function requires " ); # endif - d.vkCmdCopyAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyAccelerationStructureKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureToMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureToMemoryKHR( CopyAccelerationStructureToMemoryInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18112,7 +23447,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureToMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureToMemoryKHR( CopyAccelerationStructureToMemoryInfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18122,13 +23462,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdCopyAccelerationStructureToMemoryKHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyAccelerationStructureToMemoryKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToAccelerationStructureKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToAccelerationStructureKHR( CopyMemoryToAccelerationStructureInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18140,7 +23486,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToAccelerationStructureKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToAccelerationStructureKHR( CopyMemoryToAccelerationStructureInfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18150,13 +23501,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdCopyMemoryToAccelerationStructureKHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyMemoryToAccelerationStructureKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureDeviceAddressKHR ) ) +#endif VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( AccelerationStructureDeviceAddressInfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18168,7 +23525,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureDeviceAddressKHR ) ) +# endif VULKAN_HPP_INLINE DeviceAddress Device::getAccelerationStructureAddressKHR( AccelerationStructureDeviceAddressInfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18178,8 +23540,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkDeviceAddress result = - d.vkGetAccelerationStructureDeviceAddressKHR( m_device, reinterpret_cast( &info ) ); + VkDeviceAddress result = d.vkGetAccelerationStructureDeviceAddressKHR( static_cast( m_device ), + reinterpret_cast( &info ) ); return static_cast( result ); } @@ -18187,7 +23549,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, AccelerationStructureKHR const * pAccelerationStructures, QueryType queryType, @@ -18207,7 +23574,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, QueryType queryType, QueryPool queryPool, @@ -18220,7 +23592,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdWriteAccelerationStructuresPropertiesKHR( m_commandBuffer, + d.vkCmdWriteAccelerationStructuresPropertiesKHR( static_cast( m_commandBuffer ), accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), @@ -18231,7 +23603,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceAccelerationStructureCompatibilityKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getAccelerationStructureCompatibilityKHR( AccelerationStructureVersionInfoKHR const * pVersionInfo, AccelerationStructureCompatibilityKHR * pCompatibility, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -18245,7 +23622,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceAccelerationStructureCompatibilityKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureCompatibilityKHR Device::getAccelerationStructureCompatibilityKHR( AccelerationStructureVersionInfoKHR const & versionInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18256,7 +23638,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureCompatibilityKHR compatibility; - d.vkGetDeviceAccelerationStructureCompatibilityKHR( m_device, + d.vkGetDeviceAccelerationStructureCompatibilityKHR( static_cast( m_device ), reinterpret_cast( &versionInfo ), reinterpret_cast( &compatibility ) ); @@ -18266,7 +23648,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureBuildSizesKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, AccelerationStructureBuildGeometryInfoKHR const * pBuildInfo, uint32_t const * pMaxPrimitiveCounts, @@ -18284,7 +23671,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureBuildSizesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR Device::getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, AccelerationStructureBuildGeometryInfoKHR const & buildInfo, @@ -18306,7 +23698,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ AccelerationStructureBuildSizesInfoKHR sizeInfo; - d.vkGetAccelerationStructureBuildSizesKHR( m_device, + d.vkGetAccelerationStructureBuildSizesKHR( static_cast( m_device ), static_cast( buildType ), reinterpret_cast( &buildInfo ), maxPrimitiveCounts.data(), @@ -18319,7 +23711,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_ray_tracing_pipeline === // wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( StridedDeviceAddressRegionKHR const * pRaygenShaderBindingTable, StridedDeviceAddressRegionKHR const * pMissShaderBindingTable, StridedDeviceAddressRegionKHR const * pHitShaderBindingTable, @@ -18342,7 +23739,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdTraceRaysKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( StridedDeviceAddressRegionKHR const & raygenShaderBindingTable, StridedDeviceAddressRegionKHR const & missShaderBindingTable, StridedDeviceAddressRegionKHR const & hitShaderBindingTable, @@ -18357,7 +23759,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdTraceRaysKHR && "Function requires " ); # endif - d.vkCmdTraceRaysKHR( m_commandBuffer, + d.vkCmdTraceRaysKHR( static_cast( m_commandBuffer ), reinterpret_cast( &raygenShaderBindingTable ), reinterpret_cast( &missShaderBindingTable ), reinterpret_cast( &hitShaderBindingTable ), @@ -18370,7 +23772,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, uint32_t createInfoCount, @@ -18392,10 +23799,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -18409,7 +23821,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -18429,10 +23841,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -18447,7 +23864,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -18467,7 +23884,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createRayTracingPipelineKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, RayTracingPipelineCreateInfoKHR const & createInfo, @@ -18480,7 +23902,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), 1, @@ -18497,10 +23919,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -18514,7 +23941,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -18540,10 +23967,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -18558,7 +23990,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -18584,7 +24016,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelineKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -18598,7 +24035,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesKHR( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), 1, @@ -18617,7 +24054,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18629,11 +24071,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const { @@ -18645,8 +24092,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( DataType ), reinterpret_cast( data.data() ) ) ); + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( static_cast( m_device ), + static_cast( pipeline ), + firstGroup, + groupCount, + data.size() * sizeof( DataType ), + reinterpret_cast( data.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesKHR" ); return detail::createResultValueType( result, std::move( data ) ); @@ -18654,7 +24105,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandleKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const { @@ -18666,7 +24122,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataType data; Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); + static_cast( m_device ), static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleKHR" ); return detail::createResultValueType( result, std::move( data ) ); @@ -18675,7 +24131,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18687,11 +24148,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingCaptureReplayShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const @@ -18704,8 +24170,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( DataType ), reinterpret_cast( data.data() ) ) ); + Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( static_cast( m_device ), + static_cast( pipeline ), + firstGroup, + groupCount, + data.size() * sizeof( DataType ), + reinterpret_cast( data.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); return detail::createResultValueType( result, std::move( data ) ); @@ -18713,7 +24183,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingCaptureReplayShaderGroupHandleKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const { @@ -18725,7 +24200,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataType data; Result result = static_cast( d.vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( - m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); + static_cast( m_device ), static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingCaptureReplayShaderGroupHandleKHR" ); return detail::createResultValueType( result, std::move( data ) ); @@ -18733,7 +24208,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirectKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( StridedDeviceAddressRegionKHR const * pRaygenShaderBindingTable, StridedDeviceAddressRegionKHR const * pMissShaderBindingTable, StridedDeviceAddressRegionKHR const * pHitShaderBindingTable, @@ -18752,7 +24232,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirectKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( StridedDeviceAddressRegionKHR const & raygenShaderBindingTable, StridedDeviceAddressRegionKHR const & missShaderBindingTable, StridedDeviceAddressRegionKHR const & hitShaderBindingTable, @@ -18765,7 +24250,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdTraceRaysIndirectKHR && "Function requires " ); # endif - d.vkCmdTraceRaysIndirectKHR( m_commandBuffer, + d.vkCmdTraceRaysIndirectKHR( static_cast( m_commandBuffer ), reinterpret_cast( &raygenShaderBindingTable ), reinterpret_cast( &missShaderBindingTable ), reinterpret_cast( &hitShaderBindingTable ), @@ -18776,7 +24261,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupStackSizeKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupStackSizeKHR ) ) +#endif VULKAN_HPP_INLINE DeviceSize Device::getRayTracingShaderGroupStackSizeKHR( Pipeline pipeline, uint32_t group, ShaderGroupShaderKHR groupShader, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18787,7 +24277,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRayTracingPipelineStackSizeKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRayTracingPipelineStackSizeKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -18798,7 +24293,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, SamplerYcbcrConversion * pYcbcrConversion, @@ -18814,7 +24314,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -18825,7 +24330,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( m_device, + Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &ycbcrConversion ) ) ); @@ -18837,7 +24342,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createSamplerYcbcrConversionKHRUnique( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const @@ -18849,7 +24359,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SamplerYcbcrConversion ycbcrConversion; - Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( m_device, + Result result = static_cast( d.vkCreateSamplerYcbcrConversionKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &ycbcrConversion ) ) ); @@ -18863,7 +24373,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroySamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversionKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18876,7 +24391,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversionKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18886,15 +24406,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkDestroySamplerYcbcrConversionKHR( - m_device, static_cast( ycbcrConversion ), reinterpret_cast( allocator.get() ) ); + d.vkDestroySamplerYcbcrConversionKHR( static_cast( m_device ), + static_cast( ycbcrConversion ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_bind_memory2 === // wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindBufferMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindBufferMemory2KHR( uint32_t bindInfoCount, BindBufferMemoryInfo const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18905,7 +24431,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindBufferMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -18914,8 +24445,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindBufferMemory2KHR && "Function requires or " ); # endif - Result result = - static_cast( d.vkBindBufferMemory2KHR( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + Result result = static_cast( + d.vkBindBufferMemory2KHR( static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindBufferMemory2KHR" ); return detail::createResultValueType( result ); @@ -18923,7 +24454,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindImageMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindImageMemory2KHR( uint32_t bindInfoCount, BindImageMemoryInfo const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18934,7 +24470,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindImageMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -18943,8 +24484,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindImageMemory2KHR && "Function requires or " ); # endif - Result result = - static_cast( d.vkBindImageMemory2KHR( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + Result result = static_cast( + d.vkBindImageMemory2KHR( static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindImageMemory2KHR" ); return detail::createResultValueType( result ); @@ -18955,7 +24496,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageDrmFormatModifierPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageDrmFormatModifierPropertiesEXT( Image image, ImageDrmFormatModifierPropertiesEXT * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -18967,7 +24513,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageDrmFormatModifierPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageDrmFormatModifierPropertiesEXT( Image image, Dispatch const & d ) const { @@ -18979,7 +24530,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE ImageDrmFormatModifierPropertiesEXT properties; Result result = static_cast( d.vkGetImageDrmFormatModifierPropertiesEXT( - m_device, static_cast( image ), reinterpret_cast( &properties ) ) ); + static_cast( m_device ), static_cast( image ), reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageDrmFormatModifierPropertiesEXT" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -18989,7 +24540,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_validation_cache === // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createValidationCacheEXT( ValidationCacheCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, ValidationCacheEXT * pValidationCache, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -19003,7 +24559,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createValidationCacheEXT( ValidationCacheCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -19013,7 +24574,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ValidationCacheEXT validationCache; - Result result = static_cast( d.vkCreateValidationCacheEXT( m_device, + Result result = static_cast( d.vkCreateValidationCacheEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &validationCache ) ) ); @@ -19024,7 +24585,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createValidationCacheEXTUnique( ValidationCacheCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -19034,7 +24600,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ValidationCacheEXT validationCache; - Result result = static_cast( d.vkCreateValidationCacheEXT( m_device, + Result result = static_cast( d.vkCreateValidationCacheEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &validationCache ) ) ); @@ -19047,7 +24613,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19058,7 +24629,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyValidationCacheEXT( ValidationCacheEXT validationCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19067,13 +24643,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyValidationCacheEXT && "Function requires " ); # endif - d.vkDestroyValidationCacheEXT( - m_device, static_cast( validationCache ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyValidationCacheEXT( static_cast( m_device ), + static_cast( validationCache ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19084,7 +24666,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ValidationCacheEXT validationCache, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19093,13 +24680,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyValidationCacheEXT && "Function requires " ); # endif - d.vkDestroyValidationCacheEXT( - m_device, static_cast( validationCache ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyValidationCacheEXT( static_cast( m_device ), + static_cast( validationCache ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkMergeValidationCachesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, ValidationCacheEXT const * pSrcCaches, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19112,7 +24705,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkMergeValidationCachesEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy const & srcCaches, Dispatch const & d ) const { @@ -19121,8 +24719,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkMergeValidationCachesEXT && "Function requires " ); # endif - Result result = static_cast( d.vkMergeValidationCachesEXT( - m_device, static_cast( dstCache ), srcCaches.size(), reinterpret_cast( srcCaches.data() ) ) ); + Result result = static_cast( d.vkMergeValidationCachesEXT( static_cast( m_device ), + static_cast( dstCache ), + srcCaches.size(), + reinterpret_cast( srcCaches.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mergeValidationCachesEXT" ); return detail::createResultValueType( result ); @@ -19130,7 +24730,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t * pDataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19141,10 +24746,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const & d ) const { @@ -19158,12 +24768,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, nullptr ) ); + result = static_cast( + d.vkGetValidationCacheDataEXT( static_cast( m_device ), static_cast( validationCache ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = static_cast( - d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetValidationCacheDataEXT( + static_cast( m_device ), static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getValidationCacheDataEXT" ); @@ -19176,10 +24787,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getValidationCacheDataEXT( ValidationCacheEXT validationCache, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -19193,12 +24809,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, nullptr ) ); + result = static_cast( + d.vkGetValidationCacheDataEXT( static_cast( m_device ), static_cast( validationCache ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = static_cast( - d.vkGetValidationCacheDataEXT( m_device, static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetValidationCacheDataEXT( + static_cast( m_device ), static_cast( validationCache ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getValidationCacheDataEXT" ); @@ -19214,7 +24831,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_shading_rate_image === // wrapper function for command vkCmdBindShadingRateImageNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadingRateImageNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindShadingRateImageNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindShadingRateImageNV( ImageView imageView, ImageLayout imageLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -19224,7 +24846,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportShadingRatePaletteNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, ShadingRatePaletteNV const * pShadingRatePalettes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19236,7 +24863,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportShadingRatePaletteNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewportShadingRatePaletteNV( uint32_t firstViewport, ArrayProxy const & shadingRatePalettes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19245,13 +24877,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetViewportShadingRatePaletteNV && "Function requires " ); # endif - d.vkCmdSetViewportShadingRatePaletteNV( - m_commandBuffer, firstViewport, shadingRatePalettes.size(), reinterpret_cast( shadingRatePalettes.data() ) ); + d.vkCmdSetViewportShadingRatePaletteNV( static_cast( m_commandBuffer ), + firstViewport, + shadingRatePalettes.size(), + reinterpret_cast( shadingRatePalettes.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetCoarseSampleOrderNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoarseSampleOrderNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, CoarseSampleOrderCustomNV const * pCustomSampleOrders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -19265,7 +24904,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCoarseSampleOrderNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetCoarseSampleOrderNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, ArrayProxy const & customSampleOrders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -19275,7 +24919,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetCoarseSampleOrderNV && "Function requires " ); # endif - d.vkCmdSetCoarseSampleOrderNV( m_commandBuffer, + d.vkCmdSetCoarseSampleOrderNV( static_cast( m_commandBuffer ), static_cast( sampleOrderType ), customSampleOrders.size(), reinterpret_cast( customSampleOrders.data() ) ); @@ -19286,7 +24930,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructureNV( AccelerationStructureCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureNV * pAccelerationStructure, @@ -19302,7 +24951,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createAccelerationStructureNV( AccelerationStructureCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -19312,7 +24966,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureNV accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureNV( m_device, + Result result = static_cast( d.vkCreateAccelerationStructureNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -19324,7 +24978,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createAccelerationStructureNVUnique( AccelerationStructureCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const @@ -19335,7 +24994,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureNV accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructureNV( m_device, + Result result = static_cast( d.vkCreateAccelerationStructureNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -19349,7 +25008,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroyAccelerationStructureNV( AccelerationStructureNV accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19362,7 +25026,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyAccelerationStructureNV( AccelerationStructureNV accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19371,14 +25040,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyAccelerationStructureNV && "Function requires " ); # endif - d.vkDestroyAccelerationStructureNV( - m_device, static_cast( accelerationStructure ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyAccelerationStructureNV( static_cast( m_device ), + static_cast( accelerationStructure ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( AccelerationStructureNV accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19391,7 +25066,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( AccelerationStructureNV accelerationStructure, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19400,14 +25080,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyAccelerationStructureNV && "Function requires " ); # endif - d.vkDestroyAccelerationStructureNV( - m_device, static_cast( accelerationStructure ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyAccelerationStructureNV( static_cast( m_device ), + static_cast( accelerationStructure ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +#endif VULKAN_HPP_INLINE void Device::getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19420,7 +25106,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19431,7 +25122,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetAccelerationStructureMemoryRequirementsNV( m_device, + d.vkGetAccelerationStructureMemoryRequirementsNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -19440,11 +25131,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19456,7 +25152,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetAccelerationStructureMemoryRequirementsNV( m_device, + d.vkGetAccelerationStructureMemoryRequirementsNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -19466,7 +25162,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBindAccelerationStructureMemoryNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindAccelerationStructureMemoryNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindAccelerationStructureMemoryNV( uint32_t bindInfoCount, BindAccelerationStructureMemoryInfoNV const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19478,7 +25179,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindAccelerationStructureMemoryNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindAccelerationStructureMemoryNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindAccelerationStructureMemoryNV( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -19488,7 +25194,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Result result = static_cast( d.vkBindAccelerationStructureMemoryNV( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryNV" ); return detail::createResultValueType( result ); @@ -19497,7 +25203,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructureNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( AccelerationStructureInfoNV const * pInfo, Buffer instanceData, DeviceSize instanceOffset, @@ -19523,7 +25234,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructureNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( AccelerationStructureInfoNV const & info, Buffer instanceData, DeviceSize instanceOffset, @@ -19539,7 +25255,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBuildAccelerationStructureNV && "Function requires " ); # endif - d.vkCmdBuildAccelerationStructureNV( m_commandBuffer, + d.vkCmdBuildAccelerationStructureNV( static_cast( m_commandBuffer ), reinterpret_cast( &info ), static_cast( instanceData ), static_cast( instanceOffset ), @@ -19553,7 +25269,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureNV( AccelerationStructureNV dst, AccelerationStructureNV src, CopyAccelerationStructureModeKHR mode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19565,7 +25286,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdTraceRaysNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysNV( Buffer raygenShaderBindingTableBuffer, DeviceSize raygenShaderBindingOffset, Buffer missShaderBindingTableBuffer, @@ -19602,7 +25328,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createRayTracingPipelinesNV( PipelineCache pipelineCache, uint32_t createInfoCount, RayTracingPipelineCreateInfoNV const * pCreateInfos, @@ -19622,10 +25353,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesNV( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -19638,7 +25374,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -19657,10 +25393,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelinesNV( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -19674,7 +25415,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -19693,7 +25434,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createRayTracingPipelineNV( PipelineCache pipelineCache, RayTracingPipelineCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -19703,7 +25449,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -19718,10 +25464,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesNVUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -19734,7 +25485,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -19759,10 +25510,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createRayTracingPipelinesNVUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -19776,7 +25532,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), createInfos.size(), reinterpret_cast( createInfos.data() ), @@ -19801,7 +25557,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createRayTracingPipelineNVUnique( PipelineCache pipelineCache, RayTracingPipelineCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -19811,7 +25572,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateRayTracingPipelinesNV( m_device, + Result result = static_cast( d.vkCreateRayTracingPipelinesNV( static_cast( m_device ), static_cast( pipelineCache ), 1, reinterpret_cast( &createInfo ), @@ -19828,7 +25589,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getRayTracingShaderGroupHandlesNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19840,11 +25606,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getRayTracingShaderGroupHandlesNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d ) const { @@ -19856,8 +25627,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( - m_device, static_cast( pipeline ), firstGroup, groupCount, data.size() * sizeof( DataType ), reinterpret_cast( data.data() ) ) ); + Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( static_cast( m_device ), + static_cast( pipeline ), + firstGroup, + groupCount, + data.size() * sizeof( DataType ), + reinterpret_cast( data.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandlesNV" ); return detail::createResultValueType( result, std::move( data ) ); @@ -19865,7 +25640,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getRayTracingShaderGroupHandleNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d ) const { @@ -19877,7 +25657,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataType data; Result result = static_cast( d.vkGetRayTracingShaderGroupHandlesNV( - m_device, static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); + static_cast( m_device ), static_cast( pipeline ), firstGroup, groupCount, sizeof( DataType ), reinterpret_cast( &data ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getRayTracingShaderGroupHandleNV" ); return detail::createResultValueType( result, std::move( data ) ); @@ -19886,7 +25666,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, size_t dataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -19898,11 +25683,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, size_t dataSize, Dispatch const & d ) const { @@ -19913,8 +25703,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkGetAccelerationStructureHandleNV( - m_device, static_cast( accelerationStructure ), data.size() * sizeof( DataType ), reinterpret_cast( data.data() ) ) ); + Result result = static_cast( d.vkGetAccelerationStructureHandleNV( static_cast( m_device ), + static_cast( accelerationStructure ), + data.size() * sizeof( DataType ), + reinterpret_cast( data.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); return detail::createResultValueType( result, std::move( data ) ); @@ -19922,7 +25714,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, Dispatch const & d ) const { @@ -19932,8 +25729,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( d.vkGetAccelerationStructureHandleNV( - m_device, static_cast( accelerationStructure ), sizeof( DataType ), reinterpret_cast( &data ) ) ); + Result result = static_cast( d.vkGetAccelerationStructureHandleNV( static_cast( m_device ), + static_cast( accelerationStructure ), + sizeof( DataType ), + reinterpret_cast( &data ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureHandleNV" ); return detail::createResultValueType( result, std::move( data ) ); @@ -19942,7 +25741,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, AccelerationStructureNV const * pAccelerationStructures, QueryType queryType, @@ -19962,7 +25766,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::writeAccelerationStructuresPropertiesNV( ArrayProxy const & accelerationStructures, QueryType queryType, QueryPool queryPool, @@ -19975,7 +25784,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdWriteAccelerationStructuresPropertiesNV( m_commandBuffer, + d.vkCmdWriteAccelerationStructuresPropertiesNV( static_cast( m_commandBuffer ), accelerationStructures.size(), reinterpret_cast( accelerationStructures.data() ), static_cast( queryType ), @@ -19986,7 +25795,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCompileDeferredNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::compileDeferredNV( Pipeline pipeline, uint32_t shader, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -19994,7 +25808,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCompileDeferredNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::compileDeferredNV( Pipeline pipeline, uint32_t shader, Dispatch const & d ) const { @@ -20003,7 +25822,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCompileDeferredNV && "Function requires " ); # endif - Result result = static_cast( d.vkCompileDeferredNV( m_device, static_cast( pipeline ), shader ) ); + Result result = static_cast( d.vkCompileDeferredNV( static_cast( m_device ), static_cast( pipeline ), shader ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::compileDeferredNV" ); return detail::createResultValueType( result ); @@ -20014,7 +25833,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const * pCreateInfo, DescriptorSetLayoutSupport * pSupport, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20027,7 +25851,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutSupport Device::getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20038,15 +25867,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorSetLayoutSupport support; - d.vkGetDescriptorSetLayoutSupportKHR( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + d.vkGetDescriptorSetLayoutSupportKHR( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &support ) ); return support; } // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20058,8 +25893,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; DescriptorSetLayoutSupport & support = structureChain.template get(); - d.vkGetDescriptorSetLayoutSupportKHR( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &support ) ); + d.vkGetDescriptorSetLayoutSupportKHR( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &support ) ); return structureChain; } @@ -20068,7 +25904,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_draw_indirect_count === // wrapper function for command vkCmdDrawIndirectCountKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCountKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountKHR( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20085,7 +25926,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCountKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCountKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountKHR( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20104,7 +25950,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetMemoryHostPointerPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHostPointer, MemoryHostPointerPropertiesEXT * pMemoryHostPointerProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20119,7 +25970,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryHostPointerPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHostPointer, Dispatch const & d ) const { @@ -20130,7 +25986,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE MemoryHostPointerPropertiesEXT memoryHostPointerProperties; Result result = - static_cast( d.vkGetMemoryHostPointerPropertiesEXT( m_device, + static_cast( d.vkGetMemoryHostPointerPropertiesEXT( static_cast( m_device ), static_cast( handleType ), pHostPointer, reinterpret_cast( &memoryHostPointerProperties ) ) ); @@ -20143,7 +25999,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_buffer_marker === // wrapper function for command vkCmdWriteBufferMarkerAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarkerAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteBufferMarkerAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20156,7 +26017,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdWriteBufferMarker2AMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarker2AMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteBufferMarker2AMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarker2AMD( PipelineStageFlags2 stage, Buffer dstBuffer, DeviceSize dstOffset, uint32_t marker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20172,7 +26038,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCalibrateableTimeDomainsEXT( uint32_t * pTimeDomainCount, TimeDomainKHR * pTimeDomains, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20184,10 +26055,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TimeDomainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsEXT( Dispatch const & d ) const { @@ -20202,12 +26078,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( static_cast( m_physicalDevice ), &timeDomainCount, nullptr ) ); if ( ( result == Result::eSuccess ) && timeDomainCount ) { timeDomains.resize( timeDomainCount ); - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( + static_cast( m_physicalDevice ), &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); @@ -20221,10 +26098,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TimeDomainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsEXT( TimeDomainKHRAllocator const & timeDomainKHRAllocator, Dispatch const & d ) const { @@ -20239,12 +26121,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( static_cast( m_physicalDevice ), &timeDomainCount, nullptr ) ); if ( ( result == Result::eSuccess ) && timeDomainCount ) { timeDomains.resize( timeDomainCount ); - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( + static_cast( m_physicalDevice ), &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); @@ -20258,7 +26141,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetCalibratedTimestampsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getCalibratedTimestampsEXT( uint32_t timestampCount, CalibratedTimestampInfoKHR const * pTimestampInfos, uint64_t * pTimestamps, uint64_t * pMaxDeviation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20273,10 +26161,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCalibratedTimestampsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint64_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Dispatch const & d ) const { @@ -20290,18 +26183,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); std::vector & timestamps = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( d.vkGetCalibratedTimestampsEXT( - m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( static_cast( m_device ), + timestampInfos.size(), + reinterpret_cast( timestampInfos.data() ), + timestamps.data(), + &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); return detail::createResultValueType( result, std::move( data_ ) ); } // wrapper function for command vkGetCalibratedTimestampsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint64_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Uint64_tAllocator const & uint64_tAllocator, Dispatch const & d ) const @@ -20316,15 +26217,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::piecewise_construct, std::forward_as_tuple( timestampInfos.size(), uint64_tAllocator ), std::forward_as_tuple( 0 ) ); std::vector & timestamps = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( d.vkGetCalibratedTimestampsEXT( - m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( static_cast( m_device ), + timestampInfos.size(), + reinterpret_cast( timestampInfos.data() ), + timestamps.data(), + &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); return detail::createResultValueType( result, std::move( data_ ) ); } // wrapper function for command vkGetCalibratedTimestampsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getCalibratedTimestampEXT( CalibratedTimestampInfoKHR const & timestampInfo, Dispatch const & d ) const { @@ -20337,8 +26246,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::pair data_; uint64_t & timestamp = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( - d.vkGetCalibratedTimestampsEXT( m_device, 1, reinterpret_cast( ×tampInfo ), ×tamp, &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsEXT( + static_cast( m_device ), 1, reinterpret_cast( ×tampInfo ), ×tamp, &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampEXT" ); return detail::createResultValueType( result, std::move( data_ ) ); @@ -20348,7 +26257,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_mesh_shader === // wrapper function for command vkCmdDrawMeshTasksNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20356,7 +26270,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdDrawMeshTasksIndirectNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectNV( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20367,7 +26286,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectCountNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCountNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCountNV( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20386,7 +26310,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetExclusiveScissorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, Bool32 const * pExclusiveScissorEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20400,7 +26329,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetExclusiveScissorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorEnableNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissorEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20409,13 +26343,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetExclusiveScissorEnableNV && "Function requires " ); # endif - d.vkCmdSetExclusiveScissorEnableNV( - m_commandBuffer, firstExclusiveScissor, exclusiveScissorEnables.size(), reinterpret_cast( exclusiveScissorEnables.data() ) ); + d.vkCmdSetExclusiveScissorEnableNV( static_cast( m_commandBuffer ), + firstExclusiveScissor, + exclusiveScissorEnables.size(), + reinterpret_cast( exclusiveScissorEnables.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, Rect2D const * pExclusiveScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20426,7 +26367,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20435,15 +26381,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetExclusiveScissorNV && "Function requires " ); # endif - d.vkCmdSetExclusiveScissorNV( - m_commandBuffer, firstExclusiveScissor, exclusiveScissors.size(), reinterpret_cast( exclusiveScissors.data() ) ); + d.vkCmdSetExclusiveScissorNV( static_cast( m_commandBuffer ), + firstExclusiveScissor, + exclusiveScissors.size(), + reinterpret_cast( exclusiveScissors.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_NV_device_diagnostic_checkpoints === // wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCheckpointNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCheckpointNV( void const * pCheckpointMarker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20452,7 +26405,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetCheckpointNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setCheckpointNV( CheckpointMarkerType const & checkpointMarker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20460,12 +26418,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetCheckpointNV && "Function requires " ); # endif - d.vkCmdSetCheckpointNV( m_commandBuffer, reinterpret_cast( &checkpointMarker ) ); + d.vkCmdSetCheckpointNV( static_cast( m_commandBuffer ), reinterpret_cast( &checkpointMarker ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +#endif VULKAN_HPP_INLINE void Queue::getCheckpointDataNV( uint32_t * pCheckpointDataCount, CheckpointDataNV * pCheckpointData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20475,10 +26438,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CheckpointDataNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointDataNV( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20488,9 +26456,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector checkpointData; uint32_t checkpointDataCount; - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); + d.vkGetQueueCheckpointDataNV( static_cast( m_queue ), &checkpointDataCount, nullptr ); checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + d.vkGetQueueCheckpointDataNV( static_cast( m_queue ), &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); if ( checkpointDataCount < checkpointData.size() ) @@ -20501,10 +26469,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CheckpointDataNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointDataNV( CheckpointDataNVAllocator const & checkpointDataNVAllocator, Dispatch const & d ) const { @@ -20515,9 +26488,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector checkpointData( checkpointDataNVAllocator ); uint32_t checkpointDataCount; - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, nullptr ); + d.vkGetQueueCheckpointDataNV( static_cast( m_queue ), &checkpointDataCount, nullptr ); checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointDataNV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + d.vkGetQueueCheckpointDataNV( static_cast( m_queue ), &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); if ( checkpointDataCount < checkpointData.size() ) @@ -20529,7 +26502,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +#endif VULKAN_HPP_INLINE void Queue::getCheckpointData2NV( uint32_t * pCheckpointDataCount, CheckpointData2NV * pCheckpointData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20539,10 +26517,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CheckpointData2NVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointData2NV( Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20552,9 +26535,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector checkpointData; uint32_t checkpointDataCount; - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, nullptr ); + d.vkGetQueueCheckpointData2NV( static_cast( m_queue ), &checkpointDataCount, nullptr ); checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + d.vkGetQueueCheckpointData2NV( static_cast( m_queue ), &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); if ( checkpointDataCount < checkpointData.size() ) @@ -20565,10 +26548,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CheckpointData2NVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Queue::getCheckpointData2NV( CheckpointData2NVAllocator const & checkpointData2NVAllocator, Dispatch const & d ) const { @@ -20579,9 +26567,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector checkpointData( checkpointData2NVAllocator ); uint32_t checkpointDataCount; - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, nullptr ); + d.vkGetQueueCheckpointData2NV( static_cast( m_queue ), &checkpointDataCount, nullptr ); checkpointData.resize( checkpointDataCount ); - d.vkGetQueueCheckpointData2NV( m_queue, &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); + d.vkGetQueueCheckpointData2NV( static_cast( m_queue ), &checkpointDataCount, reinterpret_cast( checkpointData.data() ) ); VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); if ( checkpointDataCount < checkpointData.size() ) @@ -20596,7 +26584,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSemaphoreCounterValueKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValueKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreCounterValueKHR( Semaphore semaphore, uint64_t * pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20607,7 +26600,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreCounterValueKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValueKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreCounterValueKHR( Semaphore semaphore, Dispatch const & d ) const { @@ -20617,7 +26615,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint64_t value; - Result result = static_cast( d.vkGetSemaphoreCounterValueKHR( m_device, static_cast( semaphore ), &value ) ); + Result result = static_cast( d.vkGetSemaphoreCounterValueKHR( static_cast( m_device ), static_cast( semaphore ), &value ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreCounterValueKHR" ); return detail::createResultValueType( result, std::move( value ) ); @@ -20625,7 +26623,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWaitSemaphoresKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( SemaphoreWaitInfo const * pWaitInfo, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20636,7 +26639,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitSemaphoresKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( SemaphoreWaitInfo const & waitInfo, uint64_t timeout, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20644,7 +26652,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkWaitSemaphoresKHR && "Function requires or " ); # endif - Result result = static_cast( d.vkWaitSemaphoresKHR( m_device, reinterpret_cast( &waitInfo ), timeout ) ); + Result result = + static_cast( d.vkWaitSemaphoresKHR( static_cast( m_device ), reinterpret_cast( &waitInfo ), timeout ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::waitSemaphoresKHR", { Result::eSuccess, Result::eTimeout } ); return static_cast( result ); @@ -20652,7 +26661,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSignalSemaphoreKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::signalSemaphoreKHR( SemaphoreSignalInfo const * pSignalInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20662,7 +26676,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSignalSemaphoreKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::signalSemaphoreKHR( SemaphoreSignalInfo const & signalInfo, Dispatch const & d ) const { @@ -20671,7 +26690,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSignalSemaphoreKHR && "Function requires or " ); # endif - Result result = static_cast( d.vkSignalSemaphoreKHR( m_device, reinterpret_cast( &signalInfo ) ) ); + Result result = + static_cast( d.vkSignalSemaphoreKHR( static_cast( m_device ), reinterpret_cast( &signalInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::signalSemaphoreKHR" ); return detail::createResultValueType( result ); @@ -20683,7 +26703,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetSwapchainPresentTimingQueueSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setSwapchainPresentTimingQueueSizeEXT( SwapchainKHR swapchain, uint32_t size, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20694,7 +26719,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetSwapchainPresentTimingQueueSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setSwapchainPresentTimingQueueSizeEXT( SwapchainKHR swapchain, uint32_t size, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20702,7 +26732,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetSwapchainPresentTimingQueueSizeEXT && "Function requires " ); # endif - Result result = static_cast( d.vkSetSwapchainPresentTimingQueueSizeEXT( m_device, static_cast( swapchain ), size ) ); + Result result = + static_cast( d.vkSetSwapchainPresentTimingQueueSizeEXT( static_cast( m_device ), static_cast( swapchain ), size ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setSwapchainPresentTimingQueueSizeEXT", { Result::eSuccess, Result::eNotReady } ); return static_cast( result ); @@ -20711,7 +26742,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSwapchainTimingPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainTimingPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainTimingPropertiesEXT( SwapchainKHR swapchain, SwapchainTimingPropertiesEXT * pSwapchainTimingProperties, uint64_t * pSwapchainTimingPropertiesCounter, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20726,7 +26762,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainTimingPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainTimingPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::getSwapchainTimingPropertiesEXT( SwapchainKHR swapchain, Dispatch const & d ) const { @@ -20738,7 +26779,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::pair data_; SwapchainTimingPropertiesEXT & swapchainTimingProperties = data_.first; uint64_t & swapchainTimingPropertiesCounter = data_.second; - Result result = static_cast( d.vkGetSwapchainTimingPropertiesEXT( m_device, + Result result = static_cast( d.vkGetSwapchainTimingPropertiesEXT( static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( &swapchainTimingProperties ), &swapchainTimingPropertiesCounter ) ); @@ -20750,7 +26791,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSwapchainTimeDomainPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimeDomainPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainTimeDomainPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSwapchainTimeDomainPropertiesEXT( SwapchainKHR swapchain, SwapchainTimeDomainPropertiesEXT * pSwapchainTimeDomainProperties, uint64_t * pTimeDomainsCounter, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20765,7 +26811,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPastPresentationTimingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPastPresentationTimingEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPastPresentationTimingEXT( PastPresentationTimingInfoEXT const * pPastPresentationTimingInfo, PastPresentationTimingPropertiesEXT * pPastPresentationTimingProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20781,7 +26832,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkInitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkInitializePerformanceApiINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::initializePerformanceApiINTEL( InitializePerformanceApiInfoINTEL const * pInitializeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20793,7 +26849,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkInitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkInitializePerformanceApiINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::initializePerformanceApiINTEL( InitializePerformanceApiInfoINTEL const & initializeInfo, Dispatch const & d ) const { @@ -20802,8 +26863,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkInitializePerformanceApiINTEL && "Function requires " ); # endif - Result result = - static_cast( d.vkInitializePerformanceApiINTEL( m_device, reinterpret_cast( &initializeInfo ) ) ); + Result result = static_cast( d.vkInitializePerformanceApiINTEL( + static_cast( m_device ), reinterpret_cast( &initializeInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::initializePerformanceApiINTEL" ); return detail::createResultValueType( result ); @@ -20812,7 +26873,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUninitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUninitializePerformanceApiINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUninitializePerformanceApiINTEL ) ) +#endif VULKAN_HPP_INLINE void Device::uninitializePerformanceApiINTEL( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -20821,7 +26887,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPerformanceMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceMarkerINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceMarkerINTEL( PerformanceMarkerInfoINTEL const * pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20833,7 +26904,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceMarkerINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceMarkerINTEL( PerformanceMarkerInfoINTEL const & markerInfo, Dispatch const & d ) const { @@ -20842,8 +26918,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetPerformanceMarkerINTEL && "Function requires " ); # endif - Result result = - static_cast( d.vkCmdSetPerformanceMarkerINTEL( m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); + Result result = static_cast( d.vkCmdSetPerformanceMarkerINTEL( static_cast( m_commandBuffer ), + reinterpret_cast( &markerInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceMarkerINTEL" ); return detail::createResultValueType( result ); @@ -20852,7 +26928,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceStreamMarkerINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceStreamMarkerINTEL( PerformanceStreamMarkerInfoINTEL const * pMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20864,7 +26945,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceStreamMarkerINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceStreamMarkerINTEL( PerformanceStreamMarkerInfoINTEL const & markerInfo, Dispatch const & d ) const { @@ -20873,8 +26959,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetPerformanceStreamMarkerINTEL && "Function requires " ); # endif - Result result = static_cast( - d.vkCmdSetPerformanceStreamMarkerINTEL( m_commandBuffer, reinterpret_cast( &markerInfo ) ) ); + Result result = static_cast( d.vkCmdSetPerformanceStreamMarkerINTEL( + static_cast( m_commandBuffer ), reinterpret_cast( &markerInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceStreamMarkerINTEL" ); return detail::createResultValueType( result ); @@ -20883,7 +26969,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPerformanceOverrideINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceOverrideINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result CommandBuffer::setPerformanceOverrideINTEL( PerformanceOverrideInfoINTEL const * pOverrideInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20895,7 +26986,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceOverrideINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceOverrideINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type CommandBuffer::setPerformanceOverrideINTEL( PerformanceOverrideInfoINTEL const & overrideInfo, Dispatch const & d ) const { @@ -20904,8 +27000,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetPerformanceOverrideINTEL && "Function requires " ); # endif - Result result = - static_cast( d.vkCmdSetPerformanceOverrideINTEL( m_commandBuffer, reinterpret_cast( &overrideInfo ) ) ); + Result result = static_cast( d.vkCmdSetPerformanceOverrideINTEL( static_cast( m_commandBuffer ), + reinterpret_cast( &overrideInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setPerformanceOverrideINTEL" ); return detail::createResultValueType( result ); @@ -20914,7 +27010,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const * pAcquireInfo, PerformanceConfigurationINTEL * pConfiguration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -20928,7 +27029,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo, Dispatch const & d ) const { @@ -20939,7 +27045,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PerformanceConfigurationINTEL configuration; Result result = - static_cast( d.vkAcquirePerformanceConfigurationINTEL( m_device, + static_cast( d.vkAcquirePerformanceConfigurationINTEL( static_cast( m_device ), reinterpret_cast( &acquireInfo ), reinterpret_cast( &configuration ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTEL" ); @@ -20950,7 +27056,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::acquirePerformanceConfigurationINTELUnique( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo, Dispatch const & d ) const { @@ -20961,7 +27072,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PerformanceConfigurationINTEL configuration; Result result = - static_cast( d.vkAcquirePerformanceConfigurationINTEL( m_device, + static_cast( d.vkAcquirePerformanceConfigurationINTEL( static_cast( m_device ), reinterpret_cast( &acquireInfo ), reinterpret_cast( &configuration ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTELUnique" ); @@ -20975,7 +27086,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releasePerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -20986,7 +27102,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releasePerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const { @@ -20995,7 +27116,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleasePerformanceConfigurationINTEL && "Function requires " ); # endif - Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + Result result = static_cast( + d.vkReleasePerformanceConfigurationINTEL( static_cast( m_device ), static_cast( configuration ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releasePerformanceConfigurationINTEL" ); return detail::createResultValueType( result ); @@ -21005,7 +27127,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::release( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -21015,7 +27142,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::release( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const { @@ -21024,7 +27156,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleasePerformanceConfigurationINTEL && "Function requires " ); # endif - Result result = static_cast( d.vkReleasePerformanceConfigurationINTEL( m_device, static_cast( configuration ) ) ); + Result result = static_cast( + d.vkReleasePerformanceConfigurationINTEL( static_cast( m_device ), static_cast( configuration ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::release" ); return detail::createResultValueType( result ); @@ -21034,7 +27167,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::setPerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21045,7 +27183,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::setPerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d ) const { @@ -21055,7 +27198,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - Result result = static_cast( d.vkQueueSetPerformanceConfigurationINTEL( m_queue, static_cast( configuration ) ) ); + Result result = static_cast( + d.vkQueueSetPerformanceConfigurationINTEL( static_cast( m_queue ), static_cast( configuration ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::setPerformanceConfigurationINTEL" ); return detail::createResultValueType( result ); @@ -21064,7 +27208,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPerformanceParameterINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPerformanceParameterINTEL ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter, PerformanceValueINTEL * pValue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21076,7 +27225,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPerformanceParameterINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPerformanceParameterINTEL ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter, Dispatch const & d ) const { @@ -21087,7 +27241,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PerformanceValueINTEL value; Result result = static_cast( d.vkGetPerformanceParameterINTEL( - m_device, static_cast( parameter ), reinterpret_cast( &value ) ) ); + static_cast( m_device ), static_cast( parameter ), reinterpret_cast( &value ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPerformanceParameterINTEL" ); return detail::createResultValueType( result, std::move( value ) ); @@ -21097,7 +27251,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_display_native_hdr === // wrapper function for command vkSetLocalDimmingAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLocalDimmingAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetLocalDimmingAMD ) ) +#endif VULKAN_HPP_INLINE void Device::setLocalDimmingAMD( SwapchainKHR swapChain, Bool32 localDimmingEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -21109,7 +27268,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -21124,7 +27288,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21134,7 +27303,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, + Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -21146,7 +27315,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createImagePipeSurfaceFUCHSIAUnique( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21156,7 +27330,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( m_instance, + Result result = static_cast( d.vkCreateImagePipeSurfaceFUCHSIA( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -21173,7 +27347,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_metal_surface === // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21186,7 +27365,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21196,7 +27380,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateMetalSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateMetalSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -21207,7 +27391,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createMetalSurfaceEXTUnique( MetalSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21217,7 +27406,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateMetalSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateMetalSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -21234,7 +27423,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getFragmentShadingRatesKHR( uint32_t * pFragmentShadingRateCount, PhysicalDeviceFragmentShadingRateKHR * pFragmentShadingRates, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21248,12 +27442,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceFragmentShadingRateKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceFragmentShadingRateKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getFragmentShadingRatesKHR( Dispatch const & d ) const @@ -21269,12 +27468,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceFragmentShadingRatesKHR( static_cast( m_physicalDevice ), &fragmentShadingRateCount, nullptr ) ); if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) { fragmentShadingRates.resize( fragmentShadingRateCount ); - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( - m_physicalDevice, &fragmentShadingRateCount, reinterpret_cast( fragmentShadingRates.data() ) ) ); + result = static_cast( + d.vkGetPhysicalDeviceFragmentShadingRatesKHR( static_cast( m_physicalDevice ), + &fragmentShadingRateCount, + reinterpret_cast( fragmentShadingRates.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getFragmentShadingRatesKHR" ); @@ -21288,12 +27490,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceFragmentShadingRateKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceFragmentShadingRateKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getFragmentShadingRatesKHR( PhysicalDeviceFragmentShadingRateKHRAllocator const & physicalDeviceFragmentShadingRateKHRAllocator, @@ -21311,12 +27518,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( m_physicalDevice, &fragmentShadingRateCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceFragmentShadingRatesKHR( static_cast( m_physicalDevice ), &fragmentShadingRateCount, nullptr ) ); if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) { fragmentShadingRates.resize( fragmentShadingRateCount ); - result = static_cast( d.vkGetPhysicalDeviceFragmentShadingRatesKHR( - m_physicalDevice, &fragmentShadingRateCount, reinterpret_cast( fragmentShadingRates.data() ) ) ); + result = static_cast( + d.vkGetPhysicalDeviceFragmentShadingRatesKHR( static_cast( m_physicalDevice ), + &fragmentShadingRateCount, + reinterpret_cast( fragmentShadingRates.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getFragmentShadingRatesKHR" ); @@ -21331,7 +27541,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetFragmentShadingRateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( Extent2D const * pFragmentSize, FragmentShadingRateCombinerOpKHR const combinerOps[2], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21344,7 +27559,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetFragmentShadingRateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( Extent2D const & fragmentSize, std::array const & combinerOps, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21353,7 +27573,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetFragmentShadingRateKHR && "Function requires " ); # endif - d.vkCmdSetFragmentShadingRateKHR( m_commandBuffer, + d.vkCmdSetFragmentShadingRateKHR( static_cast( m_commandBuffer ), reinterpret_cast( &fragmentSize ), reinterpret_cast( combinerOps.data() ) ); } @@ -21363,7 +27583,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocationsKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocationsKHR( RenderingAttachmentLocationInfo const * pLocationInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21375,7 +27600,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocationsKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocationsKHR( RenderingAttachmentLocationInfo const & locationInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21385,13 +27615,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetRenderingAttachmentLocationsKHR( m_commandBuffer, reinterpret_cast( &locationInfo ) ); + d.vkCmdSetRenderingAttachmentLocationsKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &locationInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndicesKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndicesKHR( RenderingInputAttachmentIndexInfo const * pInputAttachmentIndexInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21403,7 +27639,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndicesKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setRenderingInputAttachmentIndicesKHR( RenderingInputAttachmentIndexInfo const & inputAttachmentIndexInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21413,14 +27654,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetRenderingInputAttachmentIndicesKHR( m_commandBuffer, reinterpret_cast( &inputAttachmentIndexInfo ) ); + d.vkCmdSetRenderingInputAttachmentIndicesKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &inputAttachmentIndexInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_buffer_device_address === // wrapper function for command vkGetBufferDeviceAddressEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressEXT ) ) +#endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( BufferDeviceAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -21430,7 +27677,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddressEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressEXT ) ) +# endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( BufferDeviceAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -21439,7 +27691,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - VkDeviceAddress result = d.vkGetBufferDeviceAddressEXT( m_device, reinterpret_cast( &info ) ); + VkDeviceAddress result = d.vkGetBufferDeviceAddressEXT( static_cast( m_device ), reinterpret_cast( &info ) ); return static_cast( result ); } @@ -21449,7 +27701,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getToolPropertiesEXT( uint32_t * pToolCount, PhysicalDeviceToolProperties * pToolProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21461,10 +27718,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceToolPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolPropertiesEXT( Dispatch const & d ) const { @@ -21479,12 +27741,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( static_cast( m_physicalDevice ), &toolCount, nullptr ) ); if ( ( result == Result::eSuccess ) && toolCount ) { toolProperties.resize( toolCount ); - result = static_cast( - d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( + static_cast( m_physicalDevice ), &toolCount, reinterpret_cast( toolProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolPropertiesEXT" ); @@ -21498,10 +27760,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PhysicalDeviceToolPropertiesAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getToolPropertiesEXT( PhysicalDeviceToolPropertiesAllocator const & physicalDeviceToolPropertiesAllocator, Dispatch const & d ) const { @@ -21516,12 +27783,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( static_cast( m_physicalDevice ), &toolCount, nullptr ) ); if ( ( result == Result::eSuccess ) && toolCount ) { toolProperties.resize( toolCount ); - result = static_cast( - d.vkGetPhysicalDeviceToolPropertiesEXT( m_physicalDevice, &toolCount, reinterpret_cast( toolProperties.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceToolPropertiesEXT( + static_cast( m_physicalDevice ), &toolCount, reinterpret_cast( toolProperties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getToolPropertiesEXT" ); @@ -21538,7 +27805,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitForPresentKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForPresentKHR( SwapchainKHR swapchain, uint64_t presentId, uint64_t timeout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21547,7 +27819,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitForPresentKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForPresentKHR( SwapchainKHR swapchain, uint64_t presentId, uint64_t timeout, Dispatch const & d ) const { @@ -21556,7 +27833,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkWaitForPresentKHR && "Function requires " ); # endif - Result result = static_cast( d.vkWaitForPresentKHR( m_device, static_cast( swapchain ), presentId, timeout ) ); + Result result = + static_cast( d.vkWaitForPresentKHR( static_cast( m_device ), static_cast( swapchain ), presentId, timeout ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, @@ -21574,7 +27852,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeMatrixPropertiesNV( uint32_t * pPropertyCount, CooperativeMatrixPropertiesNV * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21586,10 +27869,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesNV( Dispatch const & d ) const { @@ -21604,12 +27892,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); @@ -21623,10 +27912,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNVAllocator const & cooperativeMatrixPropertiesNVAllocator, Dispatch const & d ) const @@ -21642,12 +27936,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); @@ -21664,7 +27959,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( uint32_t * pCombinationCount, FramebufferMixedSamplesCombinationNV * pCombinations, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21676,12 +27976,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename FramebufferMixedSamplesCombinationNVAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template FramebufferMixedSamplesCombinationNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( Dispatch const & d ) const @@ -21697,12 +28002,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( static_cast( m_physicalDevice ), &combinationCount, nullptr ) ); if ( ( result == Result::eSuccess ) && combinationCount ) { combinations.resize( combinationCount ); result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, &combinationCount, reinterpret_cast( combinations.data() ) ) ); + static_cast( m_physicalDevice ), + &combinationCount, + reinterpret_cast( combinations.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); @@ -21716,12 +28024,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename FramebufferMixedSamplesCombinationNVAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template FramebufferMixedSamplesCombinationNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV( @@ -21739,12 +28052,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( m_physicalDevice, &combinationCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( static_cast( m_physicalDevice ), &combinationCount, nullptr ) ); if ( ( result == Result::eSuccess ) && combinationCount ) { combinations.resize( combinationCount ); result = static_cast( d.vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( - m_physicalDevice, &combinationCount, reinterpret_cast( combinations.data() ) ) ); + static_cast( m_physicalDevice ), + &combinationCount, + reinterpret_cast( combinations.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); @@ -21762,7 +28078,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, uint32_t * pPresentModeCount, PresentModeKHR * pPresentModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -21777,10 +28098,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PresentModeKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -21795,12 +28121,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &presentModeCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && presentModeCount ) { presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); @@ -21817,10 +28145,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PresentModeKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, PresentModeKHRAllocator const & presentModeKHRAllocator, Dispatch const & d ) const @@ -21836,12 +28169,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( - m_physicalDevice, reinterpret_cast( &surfaceInfo ), &presentModeCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &surfaceInfo ), + &presentModeCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && presentModeCount ) { presentModes.resize( presentModeCount ); - result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( m_physicalDevice, + result = static_cast( d.vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast( m_physicalDevice ), reinterpret_cast( &surfaceInfo ), &presentModeCount, reinterpret_cast( presentModes.data() ) ) ); @@ -21860,7 +28195,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::acquireFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21870,7 +28210,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # else // wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::acquireFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d ) const { @@ -21879,7 +28224,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAcquireFullScreenExclusiveModeEXT && "Function requires " ); # endif - Result result = static_cast( d.vkAcquireFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + Result result = static_cast( d.vkAcquireFullScreenExclusiveModeEXT( static_cast( m_device ), static_cast( swapchain ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::acquireFullScreenExclusiveModeEXT" ); return detail::createResultValueType( result ); @@ -21889,7 +28234,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21899,7 +28249,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # else // wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releaseFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d ) const { @@ -21908,7 +28263,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleaseFullScreenExclusiveModeEXT && "Function requires " ); # endif - Result result = static_cast( d.vkReleaseFullScreenExclusiveModeEXT( m_device, static_cast( swapchain ) ) ); + Result result = static_cast( d.vkReleaseFullScreenExclusiveModeEXT( static_cast( m_device ), static_cast( swapchain ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseFullScreenExclusiveModeEXT" ); return detail::createResultValueType( result ); @@ -21917,7 +28272,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getGroupSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, DeviceGroupPresentModeFlagsKHR * pModes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -21930,7 +28290,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getGroupSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d ) const { @@ -21941,8 +28306,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceGroupPresentModeFlagsKHR modes; - Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( - m_device, reinterpret_cast( &surfaceInfo ), reinterpret_cast( &modes ) ) ); + Result result = static_cast( d.vkGetDeviceGroupSurfacePresentModes2EXT( static_cast( m_device ), + reinterpret_cast( &surfaceInfo ), + reinterpret_cast( &modes ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getGroupSurfacePresentModes2EXT" ); return detail::createResultValueType( result, std::move( modes ) ); @@ -21953,7 +28319,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_headless_surface === // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -21967,7 +28338,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21977,7 +28353,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -21988,7 +28364,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createHeadlessSurfaceEXTUnique( HeadlessSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -21998,7 +28379,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateHeadlessSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -22013,7 +28394,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_buffer_device_address === // wrapper function for command vkGetBufferDeviceAddressKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressKHR ) ) +#endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( BufferDeviceAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22023,7 +28409,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddressKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressKHR ) ) +# endif VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( BufferDeviceAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22032,7 +28423,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - VkDeviceAddress result = d.vkGetBufferDeviceAddressKHR( m_device, reinterpret_cast( &info ) ); + VkDeviceAddress result = d.vkGetBufferDeviceAddressKHR( static_cast( m_device ), reinterpret_cast( &info ) ); return static_cast( result ); } @@ -22040,7 +28431,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddressKHR ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( BufferDeviceAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22050,7 +28446,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddressKHR ) ) +# endif VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( BufferDeviceAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22059,7 +28460,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - uint64_t result = d.vkGetBufferOpaqueCaptureAddressKHR( m_device, reinterpret_cast( &info ) ); + uint64_t result = d.vkGetBufferOpaqueCaptureAddressKHR( static_cast( m_device ), reinterpret_cast( &info ) ); return result; } @@ -22067,7 +28468,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddressKHR ) ) +#endif VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddressKHR( DeviceMemoryOpaqueCaptureAddressInfo const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22079,7 +28485,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddressKHR ) ) +# endif VULKAN_HPP_INLINE uint64_t Device::getMemoryOpaqueCaptureAddressKHR( DeviceMemoryOpaqueCaptureAddressInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22089,7 +28500,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - uint64_t result = d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( m_device, reinterpret_cast( &info ) ); + uint64_t result = d.vkGetDeviceMemoryOpaqueCaptureAddressKHR( static_cast( m_device ), + reinterpret_cast( &info ) ); return result; } @@ -22098,7 +28510,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_line_rasterization === // wrapper function for command vkCmdSetLineStippleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22109,7 +28526,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_host_query_reset === // wrapper function for command vkResetQueryPoolEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPoolEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkResetQueryPoolEXT ) ) +#endif VULKAN_HPP_INLINE void Device::resetQueryPoolEXT( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22120,7 +28542,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_extended_dynamic_state === // wrapper function for command vkCmdSetCullModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCullModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCullModeEXT( CullModeFlags cullMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22128,7 +28555,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetFrontFaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFaceEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetFrontFaceEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setFrontFaceEXT( FrontFace frontFace, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22136,7 +28568,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetPrimitiveTopologyEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopologyEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveTopologyEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveTopologyEXT( PrimitiveTopology primitiveTopology, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22144,7 +28581,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetViewportWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCountEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22154,7 +28596,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCountEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( ArrayProxy const & viewports, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22163,12 +28610,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdSetViewportWithCountEXT( m_commandBuffer, viewports.size(), reinterpret_cast( viewports.data() ) ); + d.vkCmdSetViewportWithCountEXT( + static_cast( m_commandBuffer ), viewports.size(), reinterpret_cast( viewports.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissorWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCountEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22177,7 +28630,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissorWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCountEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( ArrayProxy const & scissors, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22186,12 +28644,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or or " ); # endif - d.vkCmdSetScissorWithCountEXT( m_commandBuffer, scissors.size(), reinterpret_cast( scissors.data() ) ); + d.vkCmdSetScissorWithCountEXT( static_cast( m_commandBuffer ), scissors.size(), reinterpret_cast( scissors.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -22212,7 +28675,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -22244,7 +28712,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBindVertexBuffers2EXT( m_commandBuffer, + d.vkCmdBindVertexBuffers2EXT( static_cast( m_commandBuffer ), firstBinding, buffers.size(), reinterpret_cast( buffers.data() ), @@ -22255,7 +28723,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthTestEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthTestEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnableEXT( Bool32 depthTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22263,7 +28736,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthWriteEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnableEXT( Bool32 depthWriteEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22271,7 +28749,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthCompareOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthCompareOpEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( CompareOp depthCompareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22280,7 +28763,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDepthBoundsTestEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBoundsTestEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnableEXT( Bool32 depthBoundsTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22288,7 +28776,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilTestEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilTestEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnableEXT( Bool32 stencilTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22296,7 +28789,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetStencilOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilOpEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setStencilOpEXT( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22312,7 +28810,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_deferred_host_operations === // wrapper function for command vkCreateDeferredOperationKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDeferredOperationKHR( AllocationCallbacks const * pAllocator, DeferredOperationKHR * pDeferredOperation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22324,7 +28827,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDeferredOperationKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDeferredOperationKHR( Optional allocator, Dispatch const & d ) const { @@ -22334,8 +28842,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeferredOperationKHR deferredOperation; - Result result = static_cast( d.vkCreateDeferredOperationKHR( - m_device, reinterpret_cast( allocator.get() ), reinterpret_cast( &deferredOperation ) ) ); + Result result = static_cast( d.vkCreateDeferredOperationKHR( static_cast( m_device ), + reinterpret_cast( allocator.get() ), + reinterpret_cast( &deferredOperation ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHR" ); return detail::createResultValueType( result, std::move( deferredOperation ) ); @@ -22343,7 +28852,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDeferredOperationKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDeferredOperationKHRUnique( Optional allocator, Dispatch const & d ) const { @@ -22353,8 +28867,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeferredOperationKHR deferredOperation; - Result result = static_cast( d.vkCreateDeferredOperationKHR( - m_device, reinterpret_cast( allocator.get() ), reinterpret_cast( &deferredOperation ) ) ); + Result result = static_cast( d.vkCreateDeferredOperationKHR( static_cast( m_device ), + reinterpret_cast( allocator.get() ), + reinterpret_cast( &deferredOperation ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::createDeferredOperationKHRUnique" ); return detail::createResultValueType( @@ -22365,7 +28880,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDeferredOperationKHR( DeferredOperationKHR operation, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22377,7 +28897,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDeferredOperationKHR( DeferredOperationKHR operation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22387,13 +28912,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif d.vkDestroyDeferredOperationKHR( - m_device, static_cast( operation ), reinterpret_cast( allocator.get() ) ); + static_cast( m_device ), static_cast( operation ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( DeferredOperationKHR operation, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22404,7 +28934,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( DeferredOperationKHR operation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22414,13 +28949,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif d.vkDestroyDeferredOperationKHR( - m_device, static_cast( operation ), reinterpret_cast( allocator.get() ) ); + static_cast( m_device ), static_cast( operation ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeferredOperationMaxConcurrencyKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeferredOperationMaxConcurrencyKHR ) ) +#endif VULKAN_HPP_INLINE uint32_t Device::getDeferredOperationMaxConcurrencyKHR( DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22430,7 +28970,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeferredOperationResultKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeferredOperationResultKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22440,7 +28985,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkGetDeferredOperationResultKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeferredOperationResultKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDeferredOperationResultKHR( DeferredOperationKHR operation, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22448,7 +28998,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetDeferredOperationResultKHR && "Function requires " ); # endif - Result result = static_cast( d.vkGetDeferredOperationResultKHR( m_device, static_cast( operation ) ) ); + Result result = + static_cast( d.vkGetDeferredOperationResultKHR( static_cast( m_device ), static_cast( operation ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getDeferredOperationResultKHR", { Result::eSuccess, Result::eNotReady } ); return static_cast( result ); @@ -22457,7 +29008,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDeferredOperationJoinKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::deferredOperationJoinKHR( DeferredOperationKHR operation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22465,7 +29021,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDeferredOperationJoinKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::deferredOperationJoinKHR( DeferredOperationKHR operation, Dispatch const & d ) const { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -22473,7 +29034,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDeferredOperationJoinKHR && "Function requires " ); # endif - Result result = static_cast( d.vkDeferredOperationJoinKHR( m_device, static_cast( operation ) ) ); + Result result = static_cast( d.vkDeferredOperationJoinKHR( static_cast( m_device ), static_cast( operation ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::deferredOperationJoinKHR", { Result::eSuccess, Result::eThreadDoneKHR, Result::eThreadIdleKHR } ); @@ -22485,7 +29046,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutablePropertiesKHR( PipelineInfoKHR const * pPipelineInfo, uint32_t * pExecutableCount, PipelineExecutablePropertiesKHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -22500,11 +29066,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutablePropertiesKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PipelineExecutablePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutablePropertiesKHR( PipelineInfoKHR const & pipelineInfo, Dispatch const & d ) const { @@ -22519,12 +29090,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( + static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); if ( ( result == Result::eSuccess ) && executableCount ) { properties.resize( executableCount ); - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &executableCount, reinterpret_cast( properties.data() ) ) ); @@ -22541,11 +29112,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutablePropertiesKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PipelineExecutablePropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutablePropertiesKHR( PipelineInfoKHR const & pipelineInfo, PipelineExecutablePropertiesKHRAllocator const & pipelineExecutablePropertiesKHRAllocator, Dispatch const & d ) @@ -22562,12 +29138,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPipelineExecutablePropertiesKHR( m_device, reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( + static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &executableCount, nullptr ) ); if ( ( result == Result::eSuccess ) && executableCount ) { properties.resize( executableCount ); - result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( m_device, + result = static_cast( d.vkGetPipelineExecutablePropertiesKHR( static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &executableCount, reinterpret_cast( properties.data() ) ) ); @@ -22585,7 +29161,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const * pExecutableInfo, uint32_t * pStatisticCount, PipelineExecutableStatisticKHR * pStatistics, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -22600,11 +29181,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutableStatisticKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PipelineExecutableStatisticKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const & executableInfo, Dispatch const & d ) const { @@ -22620,11 +29206,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); + static_cast( m_device ), reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); if ( ( result == Result::eSuccess ) && statisticCount ) { statistics.resize( statisticCount ); - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( static_cast( m_device ), reinterpret_cast( &executableInfo ), &statisticCount, reinterpret_cast( statistics.data() ) ) ); @@ -22641,11 +29227,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutableStatisticKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template PipelineExecutableStatisticKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const & executableInfo, PipelineExecutableStatisticKHRAllocator const & pipelineExecutableStatisticKHRAllocator, @@ -22663,11 +29254,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( - m_device, reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); + static_cast( m_device ), reinterpret_cast( &executableInfo ), &statisticCount, nullptr ) ); if ( ( result == Result::eSuccess ) && statisticCount ) { statistics.resize( statisticCount ); - result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( m_device, + result = static_cast( d.vkGetPipelineExecutableStatisticsKHR( static_cast( m_device ), reinterpret_cast( &executableInfo ), &statisticCount, reinterpret_cast( statistics.data() ) ) ); @@ -22685,7 +29276,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineExecutableInternalRepresentationsKHR( PipelineExecutableInfoKHR const * pExecutableInfo, uint32_t * pInternalRepresentationCount, @@ -22703,7 +29299,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_host_image_copy === // wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToImageEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToImageEXT( CopyMemoryToImageInfo const * pCopyMemoryToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22714,7 +29315,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToImageEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyMemoryToImageEXT( CopyMemoryToImageInfo const & copyMemoryToImageInfo, Dispatch const & d ) const { @@ -22723,7 +29329,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyMemoryToImageEXT && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyMemoryToImageEXT( m_device, reinterpret_cast( ©MemoryToImageInfo ) ) ); + Result result = static_cast( + d.vkCopyMemoryToImageEXT( static_cast( m_device ), reinterpret_cast( ©MemoryToImageInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToImageEXT" ); return detail::createResultValueType( result ); @@ -22731,7 +29338,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyImageToMemoryEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyImageToMemoryEXT( CopyImageToMemoryInfo const * pCopyImageToMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22742,7 +29354,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyImageToMemoryEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyImageToMemoryEXT( CopyImageToMemoryInfo const & copyImageToMemoryInfo, Dispatch const & d ) const { @@ -22751,7 +29368,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyImageToMemoryEXT && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyImageToMemoryEXT( m_device, reinterpret_cast( ©ImageToMemoryInfo ) ) ); + Result result = static_cast( + d.vkCopyImageToMemoryEXT( static_cast( m_device ), reinterpret_cast( ©ImageToMemoryInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyImageToMemoryEXT" ); return detail::createResultValueType( result ); @@ -22759,7 +29377,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyImageToImageEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyImageToImageEXT( CopyImageToImageInfo const * pCopyImageToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22770,7 +29393,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyImageToImageEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::copyImageToImageEXT( CopyImageToImageInfo const & copyImageToImageInfo, Dispatch const & d ) const { @@ -22779,7 +29407,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyImageToImageEXT && "Function requires or " ); # endif - Result result = static_cast( d.vkCopyImageToImageEXT( m_device, reinterpret_cast( ©ImageToImageInfo ) ) ); + Result result = static_cast( + d.vkCopyImageToImageEXT( static_cast( m_device ), reinterpret_cast( ©ImageToImageInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyImageToImageEXT" ); return detail::createResultValueType( result ); @@ -22787,7 +29416,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkTransitionImageLayoutEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::transitionImageLayoutEXT( uint32_t transitionCount, HostImageLayoutTransitionInfo const * pTransitions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22798,7 +29432,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkTransitionImageLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::transitionImageLayoutEXT( ArrayProxy const & transitions, Dispatch const & d ) const { @@ -22807,8 +29446,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkTransitionImageLayoutEXT && "Function requires or " ); # endif - Result result = static_cast( - d.vkTransitionImageLayoutEXT( m_device, transitions.size(), reinterpret_cast( transitions.data() ) ) ); + Result result = static_cast( d.vkTransitionImageLayoutEXT( + static_cast( m_device ), transitions.size(), reinterpret_cast( transitions.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::transitionImageLayoutEXT" ); return detail::createResultValueType( result ); @@ -22817,7 +29456,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22831,7 +29475,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Device::getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22843,7 +29492,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SubresourceLayout2 layout; - d.vkGetImageSubresourceLayout2EXT( m_device, + d.vkGetImageSubresourceLayout2EXT( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -22853,7 +29502,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22866,7 +29520,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SubresourceLayout2 & layout = structureChain.template get(); - d.vkGetImageSubresourceLayout2EXT( m_device, + d.vkGetImageSubresourceLayout2EXT( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -22878,7 +29532,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_map_memory2 === // wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkMapMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory2KHR( MemoryMapInfo const * pMemoryMapInfo, void ** ppData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22888,7 +29547,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkMapMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::mapMemory2KHR( MemoryMapInfo const & memoryMapInfo, Dispatch const & d ) const { @@ -22898,7 +29562,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif void * pData; - Result result = static_cast( d.vkMapMemory2KHR( m_device, reinterpret_cast( &memoryMapInfo ), &pData ) ); + Result result = + static_cast( d.vkMapMemory2KHR( static_cast( m_device ), reinterpret_cast( &memoryMapInfo ), &pData ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory2KHR" ); return detail::createResultValueType( result, std::move( pData ) ); @@ -22906,7 +29571,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::unmapMemory2KHR( MemoryUnmapInfo const * pMemoryUnmapInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22916,7 +29586,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUnmapMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::unmapMemory2KHR( MemoryUnmapInfo const & memoryUnmapInfo, Dispatch const & d ) const { @@ -22925,7 +29600,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkUnmapMemory2KHR && "Function requires or " ); # endif - Result result = static_cast( d.vkUnmapMemory2KHR( m_device, reinterpret_cast( &memoryUnmapInfo ) ) ); + Result result = + static_cast( d.vkUnmapMemory2KHR( static_cast( m_device ), reinterpret_cast( &memoryUnmapInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::unmapMemory2KHR" ); return detail::createResultValueType( result ); @@ -22935,7 +29611,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_swapchain_maintenance1 === // wrapper function for command vkReleaseSwapchainImagesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseSwapchainImagesEXT( ReleaseSwapchainImagesInfoKHR const * pReleaseInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22946,7 +29627,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseSwapchainImagesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releaseSwapchainImagesEXT( ReleaseSwapchainImagesInfoKHR const & releaseInfo, Dispatch const & d ) const { @@ -22956,7 +29642,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - Result result = static_cast( d.vkReleaseSwapchainImagesEXT( m_device, reinterpret_cast( &releaseInfo ) ) ); + Result result = static_cast( + d.vkReleaseSwapchainImagesEXT( static_cast( m_device ), reinterpret_cast( &releaseInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseSwapchainImagesEXT" ); return detail::createResultValueType( result ); @@ -22967,7 +29654,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +#endif VULKAN_HPP_INLINE void Device::getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22980,7 +29672,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -22991,7 +29688,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetGeneratedCommandsMemoryRequirementsNV( m_device, + d.vkGetGeneratedCommandsMemoryRequirementsNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -23000,11 +29697,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23016,7 +29718,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetGeneratedCommandsMemoryRequirementsNV( m_device, + d.vkGetGeneratedCommandsMemoryRequirementsNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -23026,7 +29728,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( GeneratedCommandsInfoNV const * pGeneratedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23038,7 +29745,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( GeneratedCommandsInfoNV const & generatedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23047,13 +29759,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPreprocessGeneratedCommandsNV && "Function requires " ); # endif - d.vkCmdPreprocessGeneratedCommandsNV( m_commandBuffer, reinterpret_cast( &generatedCommandsInfo ) ); + d.vkCmdPreprocessGeneratedCommandsNV( static_cast( m_commandBuffer ), + reinterpret_cast( &generatedCommandsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdExecuteGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( Bool32 isPreprocessed, GeneratedCommandsInfoNV const * pGeneratedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23066,7 +29784,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( Bool32 isPreprocessed, GeneratedCommandsInfoNV const & generatedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23075,14 +29798,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdExecuteGeneratedCommandsNV && "Function requires " ); # endif - d.vkCmdExecuteGeneratedCommandsNV( - m_commandBuffer, static_cast( isPreprocessed ), reinterpret_cast( &generatedCommandsInfo ) ); + d.vkCmdExecuteGeneratedCommandsNV( static_cast( m_commandBuffer ), + static_cast( isPreprocessed ), + reinterpret_cast( &generatedCommandsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindPipelineShaderGroupNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipelineShaderGroupNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindPipelineShaderGroupNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindPipelineShaderGroupNV( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, uint32_t groupIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23093,7 +29822,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectCommandsLayoutNV * pIndirectCommandsLayout, @@ -23109,7 +29843,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23119,7 +29858,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectCommandsLayoutNV indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( m_device, + Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectCommandsLayout ) ) ); @@ -23131,7 +29870,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createIndirectCommandsLayoutNVUnique( IndirectCommandsLayoutCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const @@ -23142,7 +29886,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectCommandsLayoutNV indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( m_device, + Result result = static_cast( d.vkCreateIndirectCommandsLayoutNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectCommandsLayout ) ) ); @@ -23156,7 +29900,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNV( IndirectCommandsLayoutNV indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23169,7 +29918,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutNV( IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23178,14 +29932,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectCommandsLayoutNV && "Function requires " ); # endif - d.vkDestroyIndirectCommandsLayoutNV( - m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectCommandsLayoutNV( static_cast( m_device ), + static_cast( indirectCommandsLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNV indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23198,7 +29958,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23207,15 +29972,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectCommandsLayoutNV && "Function requires " ); # endif - d.vkDestroyIndirectCommandsLayoutNV( - m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectCommandsLayoutNV( static_cast( m_device ), + static_cast( indirectCommandsLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_depth_bias_control === // wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBias2EXT( DepthBiasInfoEXT const * pDepthBiasInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -23224,7 +29995,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBias2EXT( DepthBiasInfoEXT const & depthBiasInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -23232,7 +30008,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetDepthBias2EXT && "Function requires " ); # endif - d.vkCmdSetDepthBias2EXT( m_commandBuffer, reinterpret_cast( &depthBiasInfo ) ); + d.vkCmdSetDepthBias2EXT( static_cast( m_commandBuffer ), reinterpret_cast( &depthBiasInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -23240,7 +30016,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireDrmDisplayEXT( int32_t drmFd, DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23249,7 +30030,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::acquireDrmDisplayEXT( int32_t drmFd, DisplayKHR display, Dispatch const & d ) const { @@ -23258,7 +30044,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAcquireDrmDisplayEXT && "Function requires " ); # endif - Result result = static_cast( d.vkAcquireDrmDisplayEXT( m_physicalDevice, drmFd, static_cast( display ) ) ); + Result result = + static_cast( d.vkAcquireDrmDisplayEXT( static_cast( m_physicalDevice ), drmFd, static_cast( display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireDrmDisplayEXT" ); return detail::createResultValueType( result ); @@ -23266,7 +30053,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getDrmDisplayEXT( int32_t drmFd, uint32_t connectorId, DisplayKHR * display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23277,7 +30069,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getDrmDisplayEXT( int32_t drmFd, uint32_t connectorId, Dispatch const & d ) const { @@ -23287,7 +30084,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetDrmDisplayEXT( m_physicalDevice, drmFd, connectorId, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetDrmDisplayEXT( static_cast( m_physicalDevice ), drmFd, connectorId, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDrmDisplayEXT" ); return detail::createResultValueType( result, std::move( display ) ); @@ -23295,7 +30093,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getDrmDisplayEXTUnique( int32_t drmFd, uint32_t connectorId, Dispatch const & d ) const { @@ -23305,7 +30108,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetDrmDisplayEXT( m_physicalDevice, drmFd, connectorId, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetDrmDisplayEXT( static_cast( m_physicalDevice ), drmFd, connectorId, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getDrmDisplayEXTUnique" ); return detail::createResultValueType( result, UniqueHandle( display, detail::ObjectRelease( *this, d ) ) ); @@ -23316,7 +30120,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_private_data === // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PrivateDataSlot * pPrivateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -23330,7 +30139,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23340,7 +30154,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PrivateDataSlot privateDataSlot; - Result result = static_cast( d.vkCreatePrivateDataSlotEXT( m_device, + Result result = static_cast( d.vkCreatePrivateDataSlotEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &privateDataSlot ) ) ); @@ -23351,7 +30165,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createPrivateDataSlotEXTUnique( PrivateDataSlotCreateInfo const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23361,7 +30180,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PrivateDataSlot privateDataSlot; - Result result = static_cast( d.vkCreatePrivateDataSlotEXT( m_device, + Result result = static_cast( d.vkCreatePrivateDataSlotEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &privateDataSlot ) ) ); @@ -23374,7 +30193,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlotEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23385,7 +30209,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlotEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( PrivateDataSlot privateDataSlot, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23394,14 +30223,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPrivateDataSlotEXT && "Function requires or " ); # endif - d.vkDestroyPrivateDataSlotEXT( - m_device, static_cast( privateDataSlot ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPrivateDataSlotEXT( static_cast( m_device ), + static_cast( privateDataSlot ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setPrivateDataEXT( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23411,7 +30246,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #else // wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setPrivateDataEXT( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t data, Dispatch const & d ) const { @@ -23420,8 +30260,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetPrivateDataEXT && "Function requires or " ); # endif - Result result = static_cast( - d.vkSetPrivateDataEXT( m_device, static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), data ) ); + Result result = static_cast( d.vkSetPrivateDataEXT( + static_cast( m_device ), static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setPrivateDataEXT" ); return detail::createResultValueType( result ); @@ -23429,7 +30269,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPrivateDataEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getPrivateDataEXT( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, uint64_t * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23440,7 +30285,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getPrivateDataEXT( ObjectType objectType_, uint64_t objectHandle, PrivateDataSlot privateDataSlot, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23450,7 +30300,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif uint64_t data; - d.vkGetPrivateDataEXT( m_device, static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), &data ); + d.vkGetPrivateDataEXT( + static_cast( m_device ), static_cast( objectType_ ), objectHandle, static_cast( privateDataSlot ), &data ); return data; } @@ -23460,7 +30311,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const * pQualityLevelInfo, VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -23475,7 +30331,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const & qualityLevelInfo, Dispatch const & d ) const { @@ -23487,7 +30348,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VideoEncodeQualityLevelPropertiesKHR qualityLevelProperties; Result result = static_cast( - d.vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &qualityLevelInfo ), reinterpret_cast( &qualityLevelProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR" ); @@ -23497,11 +30358,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const & qualityLevelInfo, Dispatch const & d ) const { @@ -23514,7 +30380,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; VideoEncodeQualityLevelPropertiesKHR & qualityLevelProperties = structureChain.template get(); Result result = static_cast( - d.vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( m_physicalDevice, + d.vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( static_cast( m_physicalDevice ), reinterpret_cast( &qualityLevelInfo ), reinterpret_cast( &qualityLevelProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR" ); @@ -23525,7 +30391,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const * pVideoSessionParametersInfo, VideoEncodeSessionParametersFeedbackInfoKHR * pFeedbackInfo, @@ -23545,10 +30416,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>>::type Device::getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Dispatch const & d ) const @@ -23566,7 +30442,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23575,7 +30451,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { data.resize( dataSize ); result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23589,10 +30465,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>>::type Device::getEncodedVideoSessionParametersKHR( @@ -23612,7 +30493,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23621,7 +30502,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { data.resize( dataSize ); result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23635,6 +30516,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type Device::getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Dispatch const & d ) const { @@ -23658,7 +30544,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23667,7 +30553,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { data.resize( dataSize ); result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23681,6 +30567,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type Device::getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const @@ -23706,7 +30597,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23715,7 +30606,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { data.resize( dataSize ); result = static_cast( - d.vkGetEncodedVideoSessionParametersKHR( m_device, + d.vkGetEncodedVideoSessionParametersKHR( static_cast( m_device ), reinterpret_cast( &videoSessionParametersInfo ), reinterpret_cast( &feedbackInfo ), &dataSize, @@ -23729,7 +30620,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEncodeVideoKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::encodeVideoKHR( VideoEncodeInfoKHR const * pEncodeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -23738,7 +30634,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEncodeVideoKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::encodeVideoKHR( VideoEncodeInfoKHR const & encodeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -23746,14 +30647,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEncodeVideoKHR && "Function requires " ); # endif - d.vkCmdEncodeVideoKHR( m_commandBuffer, reinterpret_cast( &encodeInfo ) ); + d.vkCmdEncodeVideoKHR( static_cast( m_commandBuffer ), reinterpret_cast( &encodeInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_QCOM_queue_perf_hint === // wrapper function for command vkQueueSetPerfHintQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerfHintQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueSetPerfHintQCOM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::setPerfHintQCOM( PerfHintInfoQCOM const * pPerfHintInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -23762,7 +30668,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSetPerfHintQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerfHintQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerfHintQCOM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::setPerfHintQCOM( PerfHintInfoQCOM const & perfHintInfo, Dispatch const & d ) const { @@ -23771,7 +30682,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueSetPerfHintQCOM && "Function requires " ); # endif - Result result = static_cast( d.vkQueueSetPerfHintQCOM( m_queue, reinterpret_cast( &perfHintInfo ) ) ); + Result result = + static_cast( d.vkQueueSetPerfHintQCOM( static_cast( m_queue ), reinterpret_cast( &perfHintInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::setPerfHintQCOM" ); return detail::createResultValueType( result ); @@ -23782,7 +30694,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_cuda_kernel_launch === // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCudaModuleNV( CudaModuleCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, CudaModuleNV * pModule, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23795,7 +30712,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createCudaModuleNV( CudaModuleCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23805,7 +30727,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CudaModuleNV module; - Result result = static_cast( d.vkCreateCudaModuleNV( m_device, + Result result = static_cast( d.vkCreateCudaModuleNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &module ) ) ); @@ -23816,7 +30738,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCudaModuleNVUnique( CudaModuleCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23826,7 +30753,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CudaModuleNV module; - Result result = static_cast( d.vkCreateCudaModuleNV( m_device, + Result result = static_cast( d.vkCreateCudaModuleNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &module ) ) ); @@ -23839,7 +30766,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getCudaModuleCacheNV( CudaModuleNV module, size_t * pCacheSize, void * pCacheData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23849,10 +30781,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getCudaModuleCacheNV( CudaModuleNV module, Dispatch const & d ) const { @@ -23866,12 +30803,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetCudaModuleCacheNV( m_device, static_cast( module ), &cacheSize, nullptr ) ); + result = static_cast( d.vkGetCudaModuleCacheNV( static_cast( m_device ), static_cast( module ), &cacheSize, nullptr ) ); if ( ( result == Result::eSuccess ) && cacheSize ) { cacheData.resize( cacheSize ); - result = static_cast( - d.vkGetCudaModuleCacheNV( m_device, static_cast( module ), &cacheSize, reinterpret_cast( cacheData.data() ) ) ); + result = static_cast( d.vkGetCudaModuleCacheNV( + static_cast( m_device ), static_cast( module ), &cacheSize, reinterpret_cast( cacheData.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCudaModuleCacheNV" ); @@ -23884,10 +30821,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getCudaModuleCacheNV( CudaModuleNV module, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -23901,12 +30843,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetCudaModuleCacheNV( m_device, static_cast( module ), &cacheSize, nullptr ) ); + result = static_cast( d.vkGetCudaModuleCacheNV( static_cast( m_device ), static_cast( module ), &cacheSize, nullptr ) ); if ( ( result == Result::eSuccess ) && cacheSize ) { cacheData.resize( cacheSize ); - result = static_cast( - d.vkGetCudaModuleCacheNV( m_device, static_cast( module ), &cacheSize, reinterpret_cast( cacheData.data() ) ) ); + result = static_cast( d.vkGetCudaModuleCacheNV( + static_cast( m_device ), static_cast( module ), &cacheSize, reinterpret_cast( cacheData.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCudaModuleCacheNV" ); @@ -23920,7 +30862,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createCudaFunctionNV( CudaFunctionCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, CudaFunctionNV * pFunction, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -23934,7 +30881,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createCudaFunctionNV( CudaFunctionCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23944,7 +30896,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CudaFunctionNV function; - Result result = static_cast( d.vkCreateCudaFunctionNV( m_device, + Result result = static_cast( d.vkCreateCudaFunctionNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &function ) ) ); @@ -23955,7 +30907,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createCudaFunctionNVUnique( CudaFunctionCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -23965,7 +30922,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif CudaFunctionNV function; - Result result = static_cast( d.vkCreateCudaFunctionNV( m_device, + Result result = static_cast( d.vkCreateCudaFunctionNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &function ) ) ); @@ -23978,7 +30935,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCudaModuleNV( CudaModuleNV module, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23989,7 +30951,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCudaModuleNV( CudaModuleNV module, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -23998,12 +30965,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCudaModuleNV && "Function requires " ); # endif - d.vkDestroyCudaModuleNV( m_device, static_cast( module ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCudaModuleNV( + static_cast( m_device ), static_cast( module ), reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CudaModuleNV module, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24013,7 +30986,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CudaModuleNV module, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24021,12 +30999,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCudaModuleNV && "Function requires " ); # endif - d.vkDestroyCudaModuleNV( m_device, static_cast( module ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCudaModuleNV( + static_cast( m_device ), static_cast( module ), reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCudaFunctionNV( CudaFunctionNV function, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24037,7 +31021,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyCudaFunctionNV( CudaFunctionNV function, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24046,12 +31035,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCudaFunctionNV && "Function requires " ); # endif - d.vkDestroyCudaFunctionNV( m_device, static_cast( function ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCudaFunctionNV( + static_cast( m_device ), static_cast( function ), reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CudaFunctionNV function, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24061,7 +31056,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( CudaFunctionNV function, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24069,12 +31069,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyCudaFunctionNV && "Function requires " ); # endif - d.vkDestroyCudaFunctionNV( m_device, static_cast( function ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyCudaFunctionNV( + static_cast( m_device ), static_cast( function ), reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCudaLaunchKernelNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::cudaLaunchKernelNV( CudaLaunchInfoNV const * pLaunchInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24083,7 +31089,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCudaLaunchKernelNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::cudaLaunchKernelNV( CudaLaunchInfoNV const & launchInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24091,7 +31102,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCudaLaunchKernelNV && "Function requires " ); # endif - d.vkCmdCudaLaunchKernelNV( m_commandBuffer, reinterpret_cast( &launchInfo ) ); + d.vkCmdCudaLaunchKernelNV( static_cast( m_commandBuffer ), reinterpret_cast( &launchInfo ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #endif /*VK_ENABLE_BETA_EXTENSIONS*/ @@ -24099,7 +31110,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QCOM_tile_shading === // wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchTileQCOM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchTileQCOM( DispatchTileInfoQCOM const * pDispatchTileInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24108,7 +31124,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchTileQCOM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchTileQCOM( DispatchTileInfoQCOM const & dispatchTileInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24116,13 +31137,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDispatchTileQCOM && "Function requires " ); # endif - d.vkCmdDispatchTileQCOM( m_commandBuffer, reinterpret_cast( &dispatchTileInfo ) ); + d.vkCmdDispatchTileQCOM( static_cast( m_commandBuffer ), reinterpret_cast( &dispatchTileInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginPerTileExecutionQCOM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginPerTileExecutionQCOM( PerTileBeginInfoQCOM const * pPerTileBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24133,7 +31159,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginPerTileExecutionQCOM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginPerTileExecutionQCOM( PerTileBeginInfoQCOM const & perTileBeginInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24141,12 +31172,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginPerTileExecutionQCOM && "Function requires " ); # endif - d.vkCmdBeginPerTileExecutionQCOM( m_commandBuffer, reinterpret_cast( &perTileBeginInfo ) ); + d.vkCmdBeginPerTileExecutionQCOM( static_cast( m_commandBuffer ), reinterpret_cast( &perTileBeginInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndPerTileExecutionQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndPerTileExecutionQCOM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endPerTileExecutionQCOM( PerTileEndInfoQCOM const * pPerTileEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24155,7 +31191,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndPerTileExecutionQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndPerTileExecutionQCOM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endPerTileExecutionQCOM( PerTileEndInfoQCOM const & perTileEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24163,7 +31204,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndPerTileExecutionQCOM && "Function requires " ); # endif - d.vkCmdEndPerTileExecutionQCOM( m_commandBuffer, reinterpret_cast( &perTileEndInfo ) ); + d.vkCmdEndPerTileExecutionQCOM( static_cast( m_commandBuffer ), reinterpret_cast( &perTileEndInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -24171,7 +31212,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetLatencySleepModeLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::setLatencySleepModeLegacyNV( Bool32 lowLatencyMode, Bool32 lowLatencyBoost, uint32_t minimumIntervalUs, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24181,7 +31227,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkLatencySleepLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkLatencySleepLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::latencySleepLegacyNV( Semaphore signalSemaphore, uint64_t value, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24189,7 +31240,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkSetLatencyMarkerLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::setLatencyMarkerLegacyNV( uint64_t frameID, uint32_t marker, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24197,7 +31253,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetLatencyTimingsLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::getLatencyTimingsLegacyNV( void * pTimings, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24206,7 +31267,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetLatencyTimingsLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsLegacyNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsLegacyNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE TimingsType Device::getLatencyTimingsLegacyNV( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24215,7 +31281,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TimingsType timings; - d.vkGetLatencyTimingsLegacyNV( m_device, &timings ); + d.vkGetLatencyTimingsLegacyNV( static_cast( m_device ), &timings ); return timings; } @@ -24223,7 +31289,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkQueueNotifyOutOfBandLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Queue::notifyOutOfBandLegacyNV( uint32_t queueType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24231,7 +31302,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetSleepStatusLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSleepStatusLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSleepStatusLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::getSleepStatusLegacyNV( Bool32 * pLowLatencyMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24240,7 +31316,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSleepStatusLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSleepStatusLegacyNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSleepStatusLegacyNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 Device::getSleepStatusLegacyNV( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24249,7 +31330,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Bool32 lowLatencyMode; - d.vkGetSleepStatusLegacyNV( m_device, reinterpret_cast( &lowLatencyMode ) ); + d.vkGetSleepStatusLegacyNV( static_cast( m_device ), reinterpret_cast( &lowLatencyMode ) ); return lowLatencyMode; } @@ -24257,7 +31338,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkShutdownLatencyDeviceLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkShutdownLatencyDeviceLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkShutdownLatencyDeviceLegacyNV ) ) +#endif VULKAN_HPP_INLINE void Device::shutdownLatencyLegacyNV( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24268,7 +31354,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_metal_objects === // wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkExportMetalObjectsEXT ) ) +# endif VULKAN_HPP_INLINE void Device::exportMetalObjectsEXT( ExportMetalObjectsInfoEXT * pMetalObjectsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24277,7 +31368,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkExportMetalObjectsEXT ) ) +# endif VULKAN_HPP_INLINE void Device::exportMetalObjectsEXT( ExportMetalObjectsInfoEXT & metalObjectsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24285,7 +31381,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkExportMetalObjectsEXT && "Function requires " ); # endif - d.vkExportMetalObjectsEXT( m_device, reinterpret_cast( &metalObjectsInfo ) ); + d.vkExportMetalObjectsEXT( static_cast( m_device ), reinterpret_cast( &metalObjectsInfo ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #endif /*VK_USE_PLATFORM_METAL_EXT*/ @@ -24293,7 +31389,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_synchronization2 === // wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setEvent2KHR( Event event, DependencyInfo const * pDependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24303,7 +31404,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetEvent2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setEvent2KHR( Event event, DependencyInfo const & dependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24311,12 +31417,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetEvent2KHR && "Function requires or " ); # endif - d.vkCmdSetEvent2KHR( m_commandBuffer, static_cast( event ), reinterpret_cast( &dependencyInfo ) ); + d.vkCmdSetEvent2KHR( + static_cast( m_commandBuffer ), static_cast( event ), reinterpret_cast( &dependencyInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resetEvent2KHR( Event event, PipelineStageFlags2 stageMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24324,7 +31436,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents2KHR( uint32_t eventCount, Event const * pEvents, DependencyInfo const * pDependencyInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24337,7 +31454,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::waitEvents2KHR( ArrayProxy const & events, ArrayProxy const & dependencyInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS @@ -24355,7 +31477,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdWaitEvents2KHR( m_commandBuffer, + d.vkCmdWaitEvents2KHR( static_cast( m_commandBuffer ), events.size(), reinterpret_cast( events.data() ), reinterpret_cast( dependencyInfos.data() ) ); @@ -24363,7 +31485,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2KHR( DependencyInfo const * pDependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24372,7 +31499,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2KHR( DependencyInfo const & dependencyInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24380,12 +31512,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPipelineBarrier2KHR && "Function requires or " ); # endif - d.vkCmdPipelineBarrier2KHR( m_commandBuffer, reinterpret_cast( &dependencyInfo ) ); + d.vkCmdPipelineBarrier2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &dependencyInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteTimestamp2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeTimestamp2KHR( PipelineStageFlags2 stage, QueryPool queryPool, uint32_t query, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24395,7 +31532,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::submit2KHR( uint32_t submitCount, SubmitInfo2 const * pSubmits, Fence fence, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24406,7 +31548,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Queue::submit2KHR( ArrayProxy const & submits, Fence fence, Dispatch const & d ) const { @@ -24415,8 +31562,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueSubmit2KHR && "Function requires or " ); # endif - Result result = static_cast( - d.vkQueueSubmit2KHR( m_queue, submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); + Result result = static_cast( d.vkQueueSubmit2KHR( + static_cast( m_queue ), submits.size(), reinterpret_cast( submits.data() ), static_cast( fence ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Queue::submit2KHR" ); return detail::createResultValueType( result ); @@ -24427,7 +31574,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSizeEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutSizeEXT( DescriptorSetLayout layout, DeviceSize * pLayoutSizeInBytes, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24439,7 +31591,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize Device::getDescriptorSetLayoutSizeEXT( DescriptorSetLayout layout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24449,7 +31606,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceSize layoutSizeInBytes; - d.vkGetDescriptorSetLayoutSizeEXT( m_device, static_cast( layout ), reinterpret_cast( &layoutSizeInBytes ) ); + d.vkGetDescriptorSetLayoutSizeEXT( + static_cast( m_device ), static_cast( layout ), reinterpret_cast( &layoutSizeInBytes ) ); return layoutSizeInBytes; } @@ -24457,7 +31615,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutBindingOffsetEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutBindingOffsetEXT( DescriptorSetLayout layout, uint32_t binding, DeviceSize * pOffset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24469,7 +31632,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutBindingOffsetEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize Device::getDescriptorSetLayoutBindingOffsetEXT( DescriptorSetLayout layout, uint32_t binding, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24480,14 +31648,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DeviceSize offset; - d.vkGetDescriptorSetLayoutBindingOffsetEXT( m_device, static_cast( layout ), binding, reinterpret_cast( &offset ) ); + d.vkGetDescriptorSetLayoutBindingOffsetEXT( + static_cast( m_device ), static_cast( layout ), binding, reinterpret_cast( &offset ) ); return offset; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorEXT( DescriptorGetInfoEXT const * pDescriptorInfo, size_t dataSize, void * pDescriptor, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24497,7 +31671,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +# endif VULKAN_HPP_INLINE void Device::getDescriptorEXT( DescriptorGetInfoEXT const & descriptorInfo, size_t dataSize, void * pDescriptor, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24506,11 +31685,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkGetDescriptorEXT && "Function requires " ); # endif - d.vkGetDescriptorEXT( m_device, reinterpret_cast( &descriptorInfo ), dataSize, pDescriptor ); + d.vkGetDescriptorEXT( static_cast( m_device ), reinterpret_cast( &descriptorInfo ), dataSize, pDescriptor ); } // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorType Device::getDescriptorEXT( DescriptorGetInfoEXT const & descriptorInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24520,8 +31704,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorType descriptor; - d.vkGetDescriptorEXT( - m_device, reinterpret_cast( &descriptorInfo ), sizeof( DescriptorType ), reinterpret_cast( &descriptor ) ); + d.vkGetDescriptorEXT( static_cast( m_device ), + reinterpret_cast( &descriptorInfo ), + sizeof( DescriptorType ), + reinterpret_cast( &descriptor ) ); return descriptor; } @@ -24529,7 +31715,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindDescriptorBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBuffersEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBuffersEXT( uint32_t bufferCount, DescriptorBufferBindingInfoEXT const * pBindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24541,7 +31732,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBuffersEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBuffersEXT( ArrayProxy const & bindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24550,13 +31746,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindDescriptorBuffersEXT && "Function requires " ); # endif - d.vkCmdBindDescriptorBuffersEXT( m_commandBuffer, bindingInfos.size(), reinterpret_cast( bindingInfos.data() ) ); + d.vkCmdBindDescriptorBuffersEXT( + static_cast( m_commandBuffer ), bindingInfos.size(), reinterpret_cast( bindingInfos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsetsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -24578,7 +31780,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsetsEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -24599,7 +31806,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdSetDescriptorBufferOffsetsEXT( m_commandBuffer, + d.vkCmdSetDescriptorBufferOffsetsEXT( static_cast( m_commandBuffer ), static_cast( pipelineBindPoint ), static_cast( layout ), firstSet, @@ -24611,7 +31818,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplersEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBufferEmbeddedSamplersEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24622,7 +31834,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getBufferOpaqueCaptureDescriptorDataEXT( BufferCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24634,7 +31851,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getBufferOpaqueCaptureDescriptorDataEXT( BufferCaptureDescriptorDataInfoEXT const & info, Dispatch const & d ) const { @@ -24645,8 +31867,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetBufferOpaqueCaptureDescriptorDataEXT( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetBufferOpaqueCaptureDescriptorDataEXT( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getBufferOpaqueCaptureDescriptorDataEXT" ); return detail::createResultValueType( result, std::move( data ) ); @@ -24655,7 +31877,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageOpaqueCaptureDescriptorDataEXT( ImageCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24667,7 +31894,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageOpaqueCaptureDescriptorDataEXT( ImageCaptureDescriptorDataInfoEXT const & info, Dispatch const & d ) const { @@ -24678,8 +31910,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetImageOpaqueCaptureDescriptorDataEXT( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetImageOpaqueCaptureDescriptorDataEXT( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDescriptorDataEXT" ); return detail::createResultValueType( result, std::move( data ) ); @@ -24688,7 +31920,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageViewOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getImageViewOpaqueCaptureDescriptorDataEXT( ImageViewCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24700,7 +31937,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageViewOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getImageViewOpaqueCaptureDescriptorDataEXT( ImageViewCaptureDescriptorDataInfoEXT const & info, Dispatch const & d ) const { @@ -24711,8 +31953,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetImageViewOpaqueCaptureDescriptorDataEXT( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetImageViewOpaqueCaptureDescriptorDataEXT( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getImageViewOpaqueCaptureDescriptorDataEXT" ); return detail::createResultValueType( result, std::move( data ) ); @@ -24721,7 +31963,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetSamplerOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSamplerOpaqueCaptureDescriptorDataEXT( SamplerCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24733,7 +31980,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSamplerOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSamplerOpaqueCaptureDescriptorDataEXT( SamplerCaptureDescriptorDataInfoEXT const & info, Dispatch const & d ) const { @@ -24744,8 +31996,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetSamplerOpaqueCaptureDescriptorDataEXT( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetSamplerOpaqueCaptureDescriptorDataEXT( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSamplerOpaqueCaptureDescriptorDataEXT" ); return detail::createResultValueType( result, std::move( data ) ); @@ -24754,7 +32006,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAccelerationStructureOpaqueCaptureDescriptorDataEXT( AccelerationStructureCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24766,9 +32023,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getAccelerationStructureOpaqueCaptureDescriptorDataEXT( AccelerationStructureCaptureDescriptorDataInfoEXT const & info, Dispatch const & d ) const { @@ -24780,7 +32042,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataType data; Result result = static_cast( d.vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT( - m_device, reinterpret_cast( &info ), &data ) ); + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureOpaqueCaptureDescriptorDataEXT" ); return detail::createResultValueType( result, std::move( data ) ); @@ -24790,7 +32052,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_device_address_commands === // wrapper function for command vkCmdBindIndexBuffer3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer3KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer3KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer3KHR( BindIndexBuffer3InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24799,7 +32066,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindIndexBuffer3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer3KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer3KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer3KHR( BindIndexBuffer3InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24807,12 +32079,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindIndexBuffer3KHR && "Function requires " ); # endif - d.vkCmdBindIndexBuffer3KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdBindIndexBuffer3KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers3KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers3KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers3KHR( uint32_t firstBinding, uint32_t bindingCount, BindVertexBuffer3InfoKHR const * pBindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24823,7 +32100,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers3KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers3KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers3KHR( uint32_t firstBinding, ArrayProxy const & bindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24832,13 +32114,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindVertexBuffers3KHR && "Function requires " ); # endif - d.vkCmdBindVertexBuffers3KHR( - m_commandBuffer, firstBinding, bindingInfos.size(), reinterpret_cast( bindingInfos.data() ) ); + d.vkCmdBindVertexBuffers3KHR( static_cast( m_commandBuffer ), + firstBinding, + bindingInfos.size(), + reinterpret_cast( bindingInfos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirect2KHR( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24847,7 +32136,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirect2KHR( DrawIndirect2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24855,12 +32149,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawIndirect2KHR && "Function requires " ); # endif - d.vkCmdDrawIndirect2KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawIndirect2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndexedIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect2KHR( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24869,7 +32168,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndexedIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect2KHR( DrawIndirect2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24877,12 +32181,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawIndexedIndirect2KHR && "Function requires " ); # endif - d.vkCmdDrawIndexedIndirect2KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawIndexedIndirect2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatchIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect2KHR( DispatchIndirect2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24891,7 +32200,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect2KHR( DispatchIndirect2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24899,12 +32213,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDispatchIndirect2KHR && "Function requires " ); # endif - d.vkCmdDispatchIndirect2KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDispatchIndirect2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryKHR( CopyDeviceMemoryInfoKHR const * pCopyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24913,7 +32232,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryKHR( Optional copyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -24921,12 +32245,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryKHR && "Function requires " ); # endif - d.vkCmdCopyMemoryKHR( m_commandBuffer, reinterpret_cast( copyMemoryInfo.get() ) ); + d.vkCmdCopyMemoryKHR( static_cast( m_commandBuffer ), reinterpret_cast( copyMemoryInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageKHR( CopyDeviceMemoryImageInfoKHR const * pCopyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24936,7 +32265,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageKHR( Optional copyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24945,12 +32279,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryToImageKHR && "Function requires " ); # endif - d.vkCmdCopyMemoryToImageKHR( m_commandBuffer, reinterpret_cast( copyMemoryInfo.get() ) ); + d.vkCmdCopyMemoryToImageKHR( static_cast( m_commandBuffer ), + reinterpret_cast( copyMemoryInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToMemoryKHR( CopyDeviceMemoryImageInfoKHR const * pCopyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24960,7 +32300,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToMemoryKHR( Optional copyMemoryInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -24969,12 +32314,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImageToMemoryKHR && "Function requires " ); # endif - d.vkCmdCopyImageToMemoryKHR( m_commandBuffer, reinterpret_cast( copyMemoryInfo.get() ) ); + d.vkCmdCopyImageToMemoryKHR( static_cast( m_commandBuffer ), + reinterpret_cast( copyMemoryInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdUpdateMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdUpdateMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::updateMemoryKHR( DeviceAddressRangeKHR const * pDstRange, AddressCommandFlagsKHR dstFlags, DeviceSize dataSize, void const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -24989,7 +32340,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdUpdateMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdUpdateMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::updateMemoryKHR( DeviceAddressRangeKHR const & dstRange, AddressCommandFlagsKHR dstFlags, ArrayProxy const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -24999,7 +32355,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdUpdateMemoryKHR && "Function requires " ); # endif - d.vkCmdUpdateMemoryKHR( m_commandBuffer, + d.vkCmdUpdateMemoryKHR( static_cast( m_commandBuffer ), reinterpret_cast( &dstRange ), static_cast( dstFlags ), data.size() * sizeof( DataType ), @@ -25008,7 +32364,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdFillMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdFillMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::fillMemoryKHR( DeviceAddressRangeKHR const * pDstRange, AddressCommandFlagsKHR dstFlags, uint32_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25021,7 +32382,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdFillMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdFillMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::fillMemoryKHR( DeviceAddressRangeKHR const & dstRange, AddressCommandFlagsKHR dstFlags, uint32_t data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25030,14 +32396,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdFillMemoryKHR && "Function requires " ); # endif - d.vkCmdFillMemoryKHR( - m_commandBuffer, reinterpret_cast( &dstRange ), static_cast( dstFlags ), data ); + d.vkCmdFillMemoryKHR( static_cast( m_commandBuffer ), + reinterpret_cast( &dstRange ), + static_cast( dstFlags ), + data ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyQueryPoolResultsToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResultsToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResultsToMemoryKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResultsToMemoryKHR( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -25059,7 +32432,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyQueryPoolResultsToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResultsToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResultsToMemoryKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResultsToMemoryKHR( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -25073,7 +32451,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyQueryPoolResultsToMemoryKHR && "Function requires " ); # endif - d.vkCmdCopyQueryPoolResultsToMemoryKHR( m_commandBuffer, + d.vkCmdCopyQueryPoolResultsToMemoryKHR( static_cast( m_commandBuffer ), static_cast( queryPool ), firstQuery, queryCount, @@ -25084,7 +32462,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirectCount2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount2KHR( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25093,7 +32476,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirectCount2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount2KHR( DrawIndirectCount2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25101,13 +32489,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawIndirectCount2KHR && "Function requires " ); # endif - d.vkCmdDrawIndirectCount2KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawIndirectCount2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndexedIndirectCount2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount2KHR( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25117,7 +32510,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndexedIndirectCount2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount2KHR( DrawIndirectCount2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25125,13 +32523,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawIndexedIndirectCount2KHR && "Function requires " ); # endif - d.vkCmdDrawIndexedIndirectCount2KHR( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawIndexedIndirectCount2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginConditionalRendering2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRendering2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRendering2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRendering2EXT( ConditionalRenderingBeginInfo2EXT const * pConditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25143,7 +32546,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginConditionalRendering2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRendering2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRendering2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginConditionalRendering2EXT( ConditionalRenderingBeginInfo2EXT const & conditionalRenderingBegin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25152,13 +32560,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginConditionalRendering2EXT && "Function requires " ); # endif - d.vkCmdBeginConditionalRendering2EXT( m_commandBuffer, reinterpret_cast( &conditionalRenderingBegin ) ); + d.vkCmdBeginConditionalRendering2EXT( static_cast( m_commandBuffer ), + reinterpret_cast( &conditionalRenderingBegin ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindTransformFeedbackBuffers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffers2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, BindTransformFeedbackBuffer2InfoEXT const * pBindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25172,7 +32586,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTransformFeedbackBuffers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffers2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffers2EXT( uint32_t firstBinding, ArrayProxy const & bindingInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25182,14 +32601,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdBindTransformFeedbackBuffers2EXT( - m_commandBuffer, firstBinding, bindingInfos.size(), reinterpret_cast( bindingInfos.data() ) ); + d.vkCmdBindTransformFeedbackBuffers2EXT( static_cast( m_commandBuffer ), + firstBinding, + bindingInfos.size(), + reinterpret_cast( bindingInfos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedback2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedback2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedback2EXT( uint32_t firstCounterRange, uint32_t counterRangeCount, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -25204,7 +32630,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedback2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedback2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedback2EXT( uint32_t firstCounterRange, ArrayProxy const & counterInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25213,14 +32644,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginTransformFeedback2EXT && "Function requires " ); # endif - d.vkCmdBeginTransformFeedback2EXT( - m_commandBuffer, firstCounterRange, counterInfos.size(), reinterpret_cast( counterInfos.data() ) ); + d.vkCmdBeginTransformFeedback2EXT( static_cast( m_commandBuffer ), + firstCounterRange, + counterInfos.size(), + reinterpret_cast( counterInfos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedback2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedback2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedback2EXT( uint32_t firstCounterRange, uint32_t counterRangeCount, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -25235,7 +32673,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedback2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedback2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedback2EXT( uint32_t firstCounterRange, ArrayProxy const & counterInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25244,14 +32687,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndTransformFeedback2EXT && "Function requires " ); # endif - d.vkCmdEndTransformFeedback2EXT( - m_commandBuffer, firstCounterRange, counterInfos.size(), reinterpret_cast( counterInfos.data() ) ); + d.vkCmdEndTransformFeedback2EXT( static_cast( m_commandBuffer ), + firstCounterRange, + counterInfos.size(), + reinterpret_cast( counterInfos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirectByteCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCount2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCount2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCount2EXT( uint32_t instanceCount, uint32_t firstInstance, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfo, @@ -25271,7 +32721,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirectByteCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCount2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCount2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCount2EXT( uint32_t instanceCount, uint32_t firstInstance, BindTransformFeedbackBuffer2InfoEXT const & counterInfo, @@ -25284,7 +32739,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawIndirectByteCount2EXT && "Function requires " ); # endif - d.vkCmdDrawIndirectByteCount2EXT( m_commandBuffer, + d.vkCmdDrawIndirectByteCount2EXT( static_cast( m_commandBuffer ), instanceCount, firstInstance, reinterpret_cast( &counterInfo ), @@ -25295,7 +32750,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirect2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirect2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirect2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirect2EXT( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25305,7 +32765,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMeshTasksIndirect2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirect2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirect2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirect2EXT( DrawIndirect2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25313,13 +32778,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawMeshTasksIndirect2EXT && "Function requires " ); # endif - d.vkCmdDrawMeshTasksIndirect2EXT( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawMeshTasksIndirect2EXT( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawMeshTasksIndirectCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCount2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCount2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCount2EXT( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25329,7 +32799,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMeshTasksIndirectCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCount2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCount2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCount2EXT( DrawIndirectCount2InfoKHR const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25337,12 +32812,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawMeshTasksIndirectCount2EXT && "Function requires " ); # endif - d.vkCmdDrawMeshTasksIndirectCount2EXT( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdDrawMeshTasksIndirectCount2EXT( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteMarkerToMemoryAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMarkerToMemoryAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteMarkerToMemoryAMD ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeMarkerToMemoryAMD( MemoryMarkerInfoAMD const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25351,7 +32831,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteMarkerToMemoryAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMarkerToMemoryAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWriteMarkerToMemoryAMD ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::writeMarkerToMemoryAMD( MemoryMarkerInfoAMD const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25359,13 +32844,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdWriteMarkerToMemoryAMD && "Function requires " ); # endif - d.vkCmdWriteMarkerToMemoryAMD( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdWriteMarkerToMemoryAMD( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createAccelerationStructure2KHR( AccelerationStructureCreateInfo2KHR const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureKHR * pAccelerationStructure, @@ -25381,7 +32871,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createAccelerationStructure2KHR( AccelerationStructureCreateInfo2KHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -25391,7 +32886,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructure2KHR( m_device, + Result result = static_cast( d.vkCreateAccelerationStructure2KHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -25403,7 +32898,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createAccelerationStructure2KHRUnique( AccelerationStructureCreateInfo2KHR const & createInfo, Optional allocator, Dispatch const & d ) const @@ -25414,7 +32914,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureKHR accelerationStructure; - Result result = static_cast( d.vkCreateAccelerationStructure2KHR( m_device, + Result result = static_cast( d.vkCreateAccelerationStructure2KHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &accelerationStructure ) ) ); @@ -25430,7 +32930,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateEnumNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, FragmentShadingRateCombinerOpKHR const combinerOps[2], Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25443,7 +32948,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateEnumNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, std::array const & combinerOps, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25452,7 +32962,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetFragmentShadingRateEnumNV && "Function requires " ); # endif - d.vkCmdSetFragmentShadingRateEnumNV( m_commandBuffer, + d.vkCmdSetFragmentShadingRateEnumNV( static_cast( m_commandBuffer ), static_cast( shadingRate ), reinterpret_cast( combinerOps.data() ) ); } @@ -25461,7 +32971,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_mesh_shader === // wrapper function for command vkCmdDrawMeshTasksEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksEXT( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25471,7 +32986,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectEXT( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25482,7 +33002,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCountEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCountEXT( Buffer buffer, DeviceSize offset, Buffer countBuffer, DeviceSize countBufferOffset, uint32_t maxDrawCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -25500,7 +33025,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_copy_commands2 === // wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( CopyBufferInfo2 const * pCopyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25509,7 +33039,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( CopyBufferInfo2 const & copyBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25517,12 +33052,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBuffer2KHR && "Function requires or " ); # endif - d.vkCmdCopyBuffer2KHR( m_commandBuffer, reinterpret_cast( ©BufferInfo ) ); + d.vkCmdCopyBuffer2KHR( static_cast( m_commandBuffer ), reinterpret_cast( ©BufferInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( CopyImageInfo2 const * pCopyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25531,7 +33071,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( CopyImageInfo2 const & copyImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25539,12 +33084,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImage2KHR && "Function requires or " ); # endif - d.vkCmdCopyImage2KHR( m_commandBuffer, reinterpret_cast( ©ImageInfo ) ); + d.vkCmdCopyImage2KHR( static_cast( m_commandBuffer ), reinterpret_cast( ©ImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( CopyBufferToImageInfo2 const * pCopyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25555,7 +33105,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( CopyBufferToImageInfo2 const & copyBufferToImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25564,12 +33119,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyBufferToImage2KHR && "Function requires or " ); # endif - d.vkCmdCopyBufferToImage2KHR( m_commandBuffer, reinterpret_cast( ©BufferToImageInfo ) ); + d.vkCmdCopyBufferToImage2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( ©BufferToImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( CopyImageToBufferInfo2 const * pCopyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25580,7 +33141,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( CopyImageToBufferInfo2 const & copyImageToBufferInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25589,12 +33155,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyImageToBuffer2KHR && "Function requires or " ); # endif - d.vkCmdCopyImageToBuffer2KHR( m_commandBuffer, reinterpret_cast( ©ImageToBufferInfo ) ); + d.vkCmdCopyImageToBuffer2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( ©ImageToBufferInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( BlitImageInfo2 const * pBlitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25603,7 +33175,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( BlitImageInfo2 const & blitImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25611,12 +33188,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBlitImage2KHR && "Function requires or " ); # endif - d.vkCmdBlitImage2KHR( m_commandBuffer, reinterpret_cast( &blitImageInfo ) ); + d.vkCmdBlitImage2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &blitImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( ResolveImageInfo2 const * pResolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25625,7 +33207,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( ResolveImageInfo2 const & resolveImageInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25633,14 +33220,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdResolveImage2KHR && "Function requires or " ); # endif - d.vkCmdResolveImage2KHR( m_commandBuffer, reinterpret_cast( &resolveImageInfo ) ); + d.vkCmdResolveImage2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &resolveImageInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_device_fault === // wrapper function for command vkGetDeviceFaultInfoEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultInfoEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultInfoEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFaultInfoEXT( DeviceFaultCountsEXT * pFaultCounts, DeviceFaultInfoEXT * pFaultInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25654,7 +33246,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::acquireWinrtDisplayNV( DisplayKHR display, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -25662,7 +33259,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # else // wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAcquireWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::acquireWinrtDisplayNV( DisplayKHR display, Dispatch const & d ) const { @@ -25671,7 +33273,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAcquireWinrtDisplayNV && "Function requires " ); # endif - Result result = static_cast( d.vkAcquireWinrtDisplayNV( m_physicalDevice, static_cast( display ) ) ); + Result result = static_cast( d.vkAcquireWinrtDisplayNV( static_cast( m_physicalDevice ), static_cast( display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::acquireWinrtDisplayNV" ); return detail::createResultValueType( result ); @@ -25679,7 +33281,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getWinrtDisplayNV( uint32_t deviceRelativeId, DisplayKHR * pDisplay, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25690,7 +33297,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getWinrtDisplayNV( uint32_t deviceRelativeId, Dispatch const & d ) const { @@ -25700,7 +33312,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetWinrtDisplayNV( m_physicalDevice, deviceRelativeId, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetWinrtDisplayNV( static_cast( m_physicalDevice ), deviceRelativeId, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getWinrtDisplayNV" ); return detail::createResultValueType( result, std::move( display ) ); @@ -25708,7 +33321,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getWinrtDisplayNVUnique( uint32_t deviceRelativeId, Dispatch const & d ) const { @@ -25718,7 +33336,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DisplayKHR display; - Result result = static_cast( d.vkGetWinrtDisplayNV( m_physicalDevice, deviceRelativeId, reinterpret_cast( &display ) ) ); + Result result = static_cast( + d.vkGetWinrtDisplayNV( static_cast( m_physicalDevice ), deviceRelativeId, reinterpret_cast( &display ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getWinrtDisplayNVUnique" ); return detail::createResultValueType( result, UniqueHandle( display, detail::ObjectRelease( *this, d ) ) ); @@ -25731,7 +33350,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_directfb_surface === // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -25745,7 +33369,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -25755,7 +33384,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -25766,7 +33395,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createDirectFBSurfaceEXTUnique( DirectFBSurfaceCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -25776,7 +33410,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( m_instance, + Result result = static_cast( d.vkCreateDirectFBSurfaceEXT( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -25790,7 +33424,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDirectFBPresentationSupportEXT ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB * dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25802,7 +33441,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDirectFBPresentationSupportEXT ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25812,7 +33456,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkBool32 result = d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( m_physicalDevice, queueFamilyIndex, &dfb ); + VkBool32 result = d.vkGetPhysicalDeviceDirectFBPresentationSupportEXT( static_cast( m_physicalDevice ), queueFamilyIndex, &dfb ); return static_cast( result ); } @@ -25822,7 +33466,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_vertex_input_dynamic_state === // wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetVertexInputEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setVertexInputEXT( uint32_t vertexBindingDescriptionCount, VertexInputBindingDescription2EXT const * pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, @@ -25839,7 +33488,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetVertexInputEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setVertexInputEXT( ArrayProxy const & vertexBindingDescriptions, ArrayProxy const & vertexAttributeDescriptions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -25849,7 +33503,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetVertexInputEXT && "Function requires or " ); # endif - d.vkCmdSetVertexInputEXT( m_commandBuffer, + d.vkCmdSetVertexInputEXT( static_cast( m_commandBuffer ), vertexBindingDescriptions.size(), reinterpret_cast( vertexBindingDescriptions.data() ), vertexAttributeDescriptions.size(), @@ -25862,7 +33516,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryZirconHandleFUCHSIA( MemoryGetZirconHandleInfoFUCHSIA const * pGetZirconHandleInfo, zx_handle_t * pZirconHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25874,7 +33533,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryZirconHandleFUCHSIA( MemoryGetZirconHandleInfoFUCHSIA const & getZirconHandleInfo, Dispatch const & d ) const { @@ -25884,8 +33548,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif zx_handle_t zirconHandle; - Result result = static_cast( - d.vkGetMemoryZirconHandleFUCHSIA( m_device, reinterpret_cast( &getZirconHandleInfo ), &zirconHandle ) ); + Result result = static_cast( d.vkGetMemoryZirconHandleFUCHSIA( + static_cast( m_device ), reinterpret_cast( &getZirconHandleInfo ), &zirconHandle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryZirconHandleFUCHSIA" ); return detail::createResultValueType( result, std::move( zirconHandle ) ); @@ -25894,7 +33558,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandlePropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, MemoryZirconHandlePropertiesFUCHSIA * @@ -25912,7 +33581,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandlePropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, Dispatch const & d ) const { @@ -25924,7 +33598,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE MemoryZirconHandlePropertiesFUCHSIA memoryZirconHandleProperties; Result result = static_cast( - d.vkGetMemoryZirconHandlePropertiesFUCHSIA( m_device, + d.vkGetMemoryZirconHandlePropertiesFUCHSIA( static_cast( m_device ), static_cast( handleType ), zirconHandle, reinterpret_cast( &memoryZirconHandleProperties ) ) ); @@ -25940,7 +33614,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::importSemaphoreZirconHandleFUCHSIA( ImportSemaphoreZirconHandleInfoFUCHSIA const * pImportSemaphoreZirconHandleInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25952,7 +33631,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::importSemaphoreZirconHandleFUCHSIA( ImportSemaphoreZirconHandleInfoFUCHSIA const & importSemaphoreZirconHandleInfo, Dispatch const & d ) const { @@ -25962,7 +33646,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Result result = static_cast( d.vkImportSemaphoreZirconHandleFUCHSIA( - m_device, reinterpret_cast( &importSemaphoreZirconHandleInfo ) ) ); + static_cast( m_device ), reinterpret_cast( &importSemaphoreZirconHandleInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::importSemaphoreZirconHandleFUCHSIA" ); return detail::createResultValueType( result ); @@ -25971,7 +33655,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSemaphoreZirconHandleFUCHSIA( SemaphoreGetZirconHandleInfoFUCHSIA const * pGetZirconHandleInfo, zx_handle_t * pZirconHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -25983,7 +33672,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSemaphoreZirconHandleFUCHSIA( SemaphoreGetZirconHandleInfoFUCHSIA const & getZirconHandleInfo, Dispatch const & d ) const { @@ -25993,8 +33687,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif zx_handle_t zirconHandle; - Result result = static_cast( - d.vkGetSemaphoreZirconHandleFUCHSIA( m_device, reinterpret_cast( &getZirconHandleInfo ), &zirconHandle ) ); + Result result = static_cast( d.vkGetSemaphoreZirconHandleFUCHSIA( + static_cast( m_device ), reinterpret_cast( &getZirconHandleInfo ), &zirconHandle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSemaphoreZirconHandleFUCHSIA" ); return detail::createResultValueType( result, std::move( zirconHandle ) ); @@ -26007,7 +33701,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const * pCreateInfo, AllocationCallbacks const * pAllocator, BufferCollectionFUCHSIA * pCollection, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -26022,7 +33721,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -26032,7 +33736,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BufferCollectionFUCHSIA collection; - Result result = static_cast( d.vkCreateBufferCollectionFUCHSIA( m_device, + Result result = static_cast( d.vkCreateBufferCollectionFUCHSIA( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &collection ) ) ); @@ -26044,7 +33748,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createBufferCollectionFUCHSIAUnique( BufferCollectionCreateInfoFUCHSIA const & createInfo, Optional allocator, Dispatch const & d ) const @@ -26055,7 +33764,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BufferCollectionFUCHSIA collection; - Result result = static_cast( d.vkCreateBufferCollectionFUCHSIA( m_device, + Result result = static_cast( d.vkCreateBufferCollectionFUCHSIA( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &collection ) ) ); @@ -26069,7 +33778,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionImageConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setBufferCollectionImageConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, ImageConstraintsInfoFUCHSIA const * pImageConstraintsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26083,7 +33797,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionImageConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setBufferCollectionImageConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, ImageConstraintsInfoFUCHSIA const & imageConstraintsInfo, Dispatch const & d ) const { @@ -26093,8 +33812,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - Result result = static_cast( d.vkSetBufferCollectionImageConstraintsFUCHSIA( - m_device, static_cast( collection ), reinterpret_cast( &imageConstraintsInfo ) ) ); + Result result = + static_cast( d.vkSetBufferCollectionImageConstraintsFUCHSIA( static_cast( m_device ), + static_cast( collection ), + reinterpret_cast( &imageConstraintsInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setBufferCollectionImageConstraintsFUCHSIA" ); return detail::createResultValueType( result ); @@ -26103,7 +33824,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionBufferConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setBufferCollectionBufferConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, BufferConstraintsInfoFUCHSIA const * pBufferConstraintsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26117,7 +33843,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionBufferConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setBufferCollectionBufferConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, BufferConstraintsInfoFUCHSIA const & bufferConstraintsInfo, Dispatch const & d ) const { @@ -26127,8 +33858,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - Result result = static_cast( d.vkSetBufferCollectionBufferConstraintsFUCHSIA( - m_device, static_cast( collection ), reinterpret_cast( &bufferConstraintsInfo ) ) ); + Result result = static_cast( + d.vkSetBufferCollectionBufferConstraintsFUCHSIA( static_cast( m_device ), + static_cast( collection ), + reinterpret_cast( &bufferConstraintsInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setBufferCollectionBufferConstraintsFUCHSIA" ); return detail::createResultValueType( result ); @@ -26137,7 +33870,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_INLINE void Device::destroyBufferCollectionFUCHSIA( BufferCollectionFUCHSIA collection, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26149,7 +33887,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_INLINE void Device::destroyBufferCollectionFUCHSIA( BufferCollectionFUCHSIA collection, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26158,14 +33901,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBufferCollectionFUCHSIA && "Function requires " ); # endif - d.vkDestroyBufferCollectionFUCHSIA( - m_device, static_cast( collection ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBufferCollectionFUCHSIA( static_cast( m_device ), + static_cast( collection ), + reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( BufferCollectionFUCHSIA collection, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26177,7 +33926,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( BufferCollectionFUCHSIA collection, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26186,14 +33940,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyBufferCollectionFUCHSIA && "Function requires " ); # endif - d.vkDestroyBufferCollectionFUCHSIA( - m_device, static_cast( collection ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyBufferCollectionFUCHSIA( static_cast( m_device ), + static_cast( collection ), + reinterpret_cast( allocator.get() ) ); } # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferCollectionPropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getBufferCollectionPropertiesFUCHSIA( BufferCollectionFUCHSIA collection, BufferCollectionPropertiesFUCHSIA * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26206,7 +33966,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetBufferCollectionPropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getBufferCollectionPropertiesFUCHSIA( BufferCollectionFUCHSIA collection, Dispatch const & d ) const { @@ -26217,8 +33982,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BufferCollectionPropertiesFUCHSIA properties; - Result result = static_cast( d.vkGetBufferCollectionPropertiesFUCHSIA( - m_device, static_cast( collection ), reinterpret_cast( &properties ) ) ); + Result result = static_cast( d.vkGetBufferCollectionPropertiesFUCHSIA( static_cast( m_device ), + static_cast( collection ), + reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getBufferCollectionPropertiesFUCHSIA" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -26230,7 +33996,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getSubpassShadingMaxWorkgroupSizeHUAWEI( RenderPass renderpass, Extent2D * pMaxWorkgroupSize, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26242,7 +34013,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getSubpassShadingMaxWorkgroupSizeHUAWEI( RenderPass renderpass, Dispatch const & d ) const { @@ -26254,7 +34030,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Extent2D maxWorkgroupSize; Result result = static_cast( d.vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( - m_device, static_cast( renderpass ), reinterpret_cast( &maxWorkgroupSize ) ) ); + static_cast( m_device ), static_cast( renderpass ), reinterpret_cast( &maxWorkgroupSize ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getSubpassShadingMaxWorkgroupSizeHUAWEI" ); return detail::createResultValueType( result, std::move( maxWorkgroupSize ) ); @@ -26262,7 +34038,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSubpassShadingHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSubpassShadingHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSubpassShadingHUAWEI ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::subpassShadingHUAWEI( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26273,7 +34054,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindInvocationMaskHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindInvocationMaskHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindInvocationMaskHUAWEI ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindInvocationMaskHUAWEI( ImageView imageView, ImageLayout imageLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26284,7 +34070,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_external_memory_rdma === // wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetMemoryRemoteAddressNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryRemoteAddressNV( MemoryGetRemoteAddressInfoNV const * pMemoryGetRemoteAddressInfo, RemoteAddressNV * pAddress, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26296,7 +34087,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryRemoteAddressNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryRemoteAddressNV( MemoryGetRemoteAddressInfoNV const & memoryGetRemoteAddressInfo, Dispatch const & d ) const { @@ -26306,8 +34102,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif RemoteAddressNV address; - Result result = static_cast( d.vkGetMemoryRemoteAddressNV( - m_device, reinterpret_cast( &memoryGetRemoteAddressInfo ), reinterpret_cast( &address ) ) ); + Result result = static_cast( d.vkGetMemoryRemoteAddressNV( static_cast( m_device ), + reinterpret_cast( &memoryGetRemoteAddressInfo ), + reinterpret_cast( &address ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryRemoteAddressNV" ); return detail::createResultValueType( result, std::move( address ) ); @@ -26317,7 +34114,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_pipeline_properties === // wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelinePropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelinePropertiesEXT( PipelineInfoKHR const * pPipelineInfo, BaseOutStructure * pPipelineProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26329,7 +34131,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPipelinePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getPipelinePropertiesEXT( PipelineInfoKHR const & pipelineInfo, Dispatch const & d ) const { @@ -26339,8 +34146,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif BaseOutStructure pipelineProperties; - Result result = static_cast( d.vkGetPipelinePropertiesEXT( - m_device, reinterpret_cast( &pipelineInfo ), reinterpret_cast( &pipelineProperties ) ) ); + Result result = static_cast( d.vkGetPipelinePropertiesEXT( static_cast( m_device ), + reinterpret_cast( &pipelineInfo ), + reinterpret_cast( &pipelineProperties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelinePropertiesEXT" ); return detail::createResultValueType( result, std::move( pipelineProperties ) ); @@ -26351,7 +34159,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPatchControlPointsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPatchControlPointsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPatchControlPointsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPatchControlPointsEXT( uint32_t patchControlPoints, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26360,7 +34173,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRasterizerDiscardEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizerDiscardEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRasterizerDiscardEnableEXT( Bool32 rasterizerDiscardEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26368,7 +34186,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthBiasEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBiasEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthBiasEnableEXT( Bool32 depthBiasEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26376,7 +34199,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetLogicOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLogicOpEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLogicOpEXT( LogicOp logicOp, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26385,7 +34213,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPrimitiveRestartEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveRestartEnableEXT( Bool32 primitiveRestartEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26396,7 +34229,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QNX_screen_surface === // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -26410,7 +34248,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -26420,7 +34263,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateScreenSurfaceQNX( m_instance, + Result result = static_cast( d.vkCreateScreenSurfaceQNX( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -26431,7 +34274,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createScreenSurfaceQNXUnique( ScreenSurfaceCreateInfoQNX const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -26441,7 +34289,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateScreenSurfaceQNX( m_instance, + Result result = static_cast( d.vkCreateScreenSurfaceQNX( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -26455,7 +34303,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceScreenPresentationSupportQNX ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, struct _screen_window * window, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26467,7 +34320,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceScreenPresentationSupportQNX ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, struct _screen_window & window, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26477,7 +34335,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkBool32 result = d.vkGetPhysicalDeviceScreenPresentationSupportQNX( m_physicalDevice, queueFamilyIndex, &window ); + VkBool32 result = d.vkGetPhysicalDeviceScreenPresentationSupportQNX( static_cast( m_physicalDevice ), queueFamilyIndex, &window ); return static_cast( result ); } @@ -26487,7 +34345,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_color_write_enable === // wrapper function for command vkCmdSetColorWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setColorWriteEnableEXT( uint32_t attachmentCount, Bool32 const * pColorWriteEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26497,7 +34360,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteEnableEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setColorWriteEnableEXT( ArrayProxy const & colorWriteEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26506,14 +34374,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetColorWriteEnableEXT && "Function requires " ); # endif - d.vkCmdSetColorWriteEnableEXT( m_commandBuffer, colorWriteEnables.size(), reinterpret_cast( colorWriteEnables.data() ) ); + d.vkCmdSetColorWriteEnableEXT( + static_cast( m_commandBuffer ), colorWriteEnables.size(), reinterpret_cast( colorWriteEnables.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_ray_tracing_maintenance1 === // wrapper function for command vkCmdTraceRaysIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirect2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirect2KHR( DeviceAddress indirectDeviceAddress, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26523,7 +34397,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_multi_draw === // wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMultiEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMultiEXT( uint32_t drawCount, MultiDrawInfoEXT const * pVertexInfo, uint32_t instanceCount, uint32_t firstInstance, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -26539,7 +34418,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMultiEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawMultiEXT( StridedArrayProxy const & vertexInfo, uint32_t instanceCount, uint32_t firstInstance, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26548,7 +34432,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawMultiEXT && "Function requires " ); # endif - d.vkCmdDrawMultiEXT( m_commandBuffer, + d.vkCmdDrawMultiEXT( static_cast( m_commandBuffer ), vertexInfo.size(), reinterpret_cast( vertexInfo.data() ), instanceCount, @@ -26558,7 +34442,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMultiIndexedEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawMultiIndexedEXT( uint32_t drawCount, MultiDrawIndexedInfoEXT const * pIndexInfo, uint32_t instanceCount, @@ -26579,7 +34468,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMultiIndexedEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::drawMultiIndexedEXT( StridedArrayProxy const & indexInfo, uint32_t instanceCount, uint32_t firstInstance, @@ -26591,7 +34485,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDrawMultiIndexedEXT && "Function requires " ); # endif - d.vkCmdDrawMultiIndexedEXT( m_commandBuffer, + d.vkCmdDrawMultiIndexedEXT( static_cast( m_commandBuffer ), indexInfo.size(), reinterpret_cast( indexInfo.data() ), instanceCount, @@ -26604,7 +34498,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_opacity_micromap === // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createMicromapEXT( MicromapCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, MicromapEXT * pMicromap, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26617,7 +34516,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createMicromapEXT( MicromapCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -26627,7 +34531,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MicromapEXT micromap; - Result result = static_cast( d.vkCreateMicromapEXT( m_device, + Result result = static_cast( d.vkCreateMicromapEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( µmap ) ) ); @@ -26638,7 +34542,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createMicromapEXTUnique( MicromapCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -26648,7 +34557,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MicromapEXT micromap; - Result result = static_cast( d.vkCreateMicromapEXT( m_device, + Result result = static_cast( d.vkCreateMicromapEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( µmap ) ) ); @@ -26661,7 +34570,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyMicromapEXT( MicromapEXT micromap, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26672,7 +34586,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyMicromapEXT( MicromapEXT micromap, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26681,12 +34600,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyMicromapEXT && "Function requires " ); # endif - d.vkDestroyMicromapEXT( m_device, static_cast( micromap ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyMicromapEXT( + static_cast( m_device ), static_cast( micromap ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( MicromapEXT micromap, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26696,7 +34621,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( MicromapEXT micromap, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26704,12 +34634,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyMicromapEXT && "Function requires " ); # endif - d.vkDestroyMicromapEXT( m_device, static_cast( micromap ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyMicromapEXT( + static_cast( m_device ), static_cast( micromap ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildMicromapsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildMicromapsEXT( uint32_t infoCount, MicromapBuildInfoEXT const * pInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26719,7 +34655,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildMicromapsEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildMicromapsEXT( ArrayProxy const & infos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26727,12 +34668,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBuildMicromapsEXT && "Function requires " ); # endif - d.vkCmdBuildMicromapsEXT( m_commandBuffer, infos.size(), reinterpret_cast( infos.data() ) ); + d.vkCmdBuildMicromapsEXT( static_cast( m_commandBuffer ), infos.size(), reinterpret_cast( infos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBuildMicromapsEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildMicromapsEXT( DeferredOperationKHR deferredOperation, uint32_t infoCount, MicromapBuildInfoEXT const * pInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26745,7 +34691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBuildMicromapsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildMicromapsEXT( DeferredOperationKHR deferredOperation, ArrayProxy const & infos, Dispatch const & d ) const { @@ -26754,8 +34705,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBuildMicromapsEXT && "Function requires " ); # endif - Result result = static_cast( d.vkBuildMicromapsEXT( - m_device, static_cast( deferredOperation ), infos.size(), reinterpret_cast( infos.data() ) ) ); + Result result = static_cast( d.vkBuildMicromapsEXT( static_cast( m_device ), + static_cast( deferredOperation ), + infos.size(), + reinterpret_cast( infos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::buildMicromapsEXT", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -26765,7 +34718,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapEXT( DeferredOperationKHR deferredOperation, CopyMicromapInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26776,7 +34734,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapEXT( DeferredOperationKHR deferredOperation, CopyMicromapInfoEXT const & info, Dispatch const & d ) const { @@ -26785,8 +34748,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyMicromapEXT && "Function requires " ); # endif - Result result = static_cast( - d.vkCopyMicromapEXT( m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = static_cast( d.vkCopyMicromapEXT( + static_cast( m_device ), static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMicromapEXT", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -26795,7 +34758,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMicromapToMemoryEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapToMemoryEXT( DeferredOperationKHR deferredOperation, CopyMicromapToMemoryInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26807,7 +34775,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMicromapToMemoryEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapToMemoryEXT( DeferredOperationKHR deferredOperation, CopyMicromapToMemoryInfoEXT const & info, Dispatch const & d ) const { @@ -26816,8 +34789,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyMicromapToMemoryEXT && "Function requires " ); # endif - Result result = static_cast( d.vkCopyMicromapToMemoryEXT( - m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = static_cast( d.vkCopyMicromapToMemoryEXT( static_cast( m_device ), + static_cast( deferredOperation ), + reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMicromapToMemoryEXT", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -26827,7 +34801,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToMicromapEXT( DeferredOperationKHR deferredOperation, CopyMemoryToMicromapInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -26839,7 +34818,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToMicromapEXT( DeferredOperationKHR deferredOperation, CopyMemoryToMicromapInfoEXT const & info, Dispatch const & d ) const { @@ -26848,8 +34832,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCopyMemoryToMicromapEXT && "Function requires " ); # endif - Result result = static_cast( d.vkCopyMemoryToMicromapEXT( - m_device, static_cast( deferredOperation ), reinterpret_cast( &info ) ) ); + Result result = static_cast( d.vkCopyMemoryToMicromapEXT( static_cast( m_device ), + static_cast( deferredOperation ), + reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::copyMemoryToMicromapEXT", { Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); @@ -26860,7 +34845,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::writeMicromapsPropertiesEXT( uint32_t micromapCount, MicromapEXT const * pMicromaps, QueryType queryType, size_t dataSize, void * pData, size_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -26878,11 +34868,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataTypeAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::writeMicromapsPropertiesEXT( ArrayProxy const & micromaps, QueryType queryType, size_t dataSize, size_t stride, Dispatch const & d ) const { @@ -26893,7 +34888,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); std::vector data( dataSize / sizeof( DataType ) ); - Result result = static_cast( d.vkWriteMicromapsPropertiesEXT( m_device, + Result result = static_cast( d.vkWriteMicromapsPropertiesEXT( static_cast( m_device ), micromaps.size(), reinterpret_cast( micromaps.data() ), static_cast( queryType ), @@ -26907,7 +34902,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::writeMicromapsPropertyEXT( ArrayProxy const & micromaps, QueryType queryType, size_t stride, Dispatch const & d ) const { @@ -26917,7 +34917,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( d.vkWriteMicromapsPropertiesEXT( m_device, + Result result = static_cast( d.vkWriteMicromapsPropertiesEXT( static_cast( m_device ), micromaps.size(), reinterpret_cast( micromaps.data() ), static_cast( queryType ), @@ -26931,7 +34931,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMicromapEXT( CopyMicromapInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26940,7 +34945,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMicromapEXT( CopyMicromapInfoEXT const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26948,12 +34958,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMicromapEXT && "Function requires " ); # endif - d.vkCmdCopyMicromapEXT( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyMicromapEXT( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapToMemoryEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMicromapToMemoryEXT( CopyMicromapToMemoryInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26962,7 +34977,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapToMemoryEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMicromapToMemoryEXT( CopyMicromapToMemoryInfoEXT const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26970,12 +34990,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMicromapToMemoryEXT && "Function requires " ); # endif - d.vkCmdCopyMicromapToMemoryEXT( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyMicromapToMemoryEXT( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToMicromapEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToMicromapEXT( CopyMemoryToMicromapInfoEXT const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26984,7 +35009,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToMicromapEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToMicromapEXT( CopyMemoryToMicromapInfoEXT const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -26992,13 +35022,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryToMicromapEXT && "Function requires " ); # endif - d.vkCmdCopyMemoryToMicromapEXT( m_commandBuffer, reinterpret_cast( &info ) ); + d.vkCmdCopyMemoryToMicromapEXT( static_cast( m_commandBuffer ), reinterpret_cast( &info ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdWriteMicromapsPropertiesEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::writeMicromapsPropertiesEXT( uint32_t micromapCount, MicromapEXT const * pMicromaps, QueryType queryType, QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -27015,7 +35050,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdWriteMicromapsPropertiesEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::writeMicromapsPropertiesEXT( ArrayProxy const & micromaps, QueryType queryType, QueryPool queryPool, uint32_t firstQuery, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -27025,7 +35065,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdWriteMicromapsPropertiesEXT && "Function requires " ); # endif - d.vkCmdWriteMicromapsPropertiesEXT( m_commandBuffer, + d.vkCmdWriteMicromapsPropertiesEXT( static_cast( m_commandBuffer ), micromaps.size(), reinterpret_cast( micromaps.data() ), static_cast( queryType ), @@ -27036,7 +35076,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMicromapCompatibilityEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getMicromapCompatibilityEXT( MicromapVersionInfoEXT const * pVersionInfo, AccelerationStructureCompatibilityKHR * pCompatibility, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27049,7 +35094,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMicromapCompatibilityEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureCompatibilityKHR Device::getMicromapCompatibilityEXT( MicromapVersionInfoEXT const & versionInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27059,7 +35109,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureCompatibilityKHR compatibility; - d.vkGetDeviceMicromapCompatibilityEXT( m_device, + d.vkGetDeviceMicromapCompatibilityEXT( static_cast( m_device ), reinterpret_cast( &versionInfo ), reinterpret_cast( &compatibility ) ); @@ -27068,7 +35118,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetMicromapBuildSizesEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, MicromapBuildInfoEXT const * pBuildInfo, MicromapBuildSizesInfoEXT * pSizeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -27082,7 +35137,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMicromapBuildSizesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MicromapBuildSizesInfoEXT Device::getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, MicromapBuildInfoEXT const & buildInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27092,7 +35152,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MicromapBuildSizesInfoEXT sizeInfo; - d.vkGetMicromapBuildSizesEXT( m_device, + d.vkGetMicromapBuildSizesEXT( static_cast( m_device ), static_cast( buildType ), reinterpret_cast( &buildInfo ), reinterpret_cast( &sizeInfo ) ); @@ -27104,7 +35164,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_HUAWEI_cluster_culling_shader === // wrapper function for command vkCmdDrawClusterHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawClusterHUAWEI ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawClusterHUAWEI( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27114,7 +35179,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawClusterIndirectHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterIndirectHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDrawClusterIndirectHUAWEI ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::drawClusterIndirectHUAWEI( Buffer buffer, DeviceSize offset, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27124,7 +35194,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_pageable_device_local_memory === // wrapper function for command vkSetDeviceMemoryPriorityEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDeviceMemoryPriorityEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetDeviceMemoryPriorityEXT ) ) +#endif VULKAN_HPP_INLINE void Device::setMemoryPriorityEXT( DeviceMemory memory, float priority, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27135,7 +35210,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27148,7 +35228,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27159,19 +35244,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDeviceBufferMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceBufferMemoryRequirementsKHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27183,8 +35274,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDeviceBufferMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceBufferMemoryRequirementsKHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -27192,7 +35284,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27205,7 +35302,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27216,19 +35318,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDeviceImageMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceImageMemoryRequirementsKHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27240,8 +35348,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDeviceImageMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceImageMemoryRequirementsKHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -27249,7 +35358,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -27265,11 +35379,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d ) const { @@ -27282,9 +35401,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements; uint32_t sparseMemoryRequirementCount; d.vkGetDeviceImageSparseMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetDeviceImageSparseMemoryRequirementsKHR( m_device, + d.vkGetDeviceImageSparseMemoryRequirementsKHR( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -27299,11 +35418,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template SparseImageMemoryRequirements2Allocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector Device::getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, Dispatch const & d ) @@ -27318,9 +35442,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::vector sparseMemoryRequirements( sparseImageMemoryRequirements2Allocator ); uint32_t sparseMemoryRequirementCount; d.vkGetDeviceImageSparseMemoryRequirementsKHR( - m_device, reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); + static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, nullptr ); sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); - d.vkGetDeviceImageSparseMemoryRequirementsKHR( m_device, + d.vkGetDeviceImageSparseMemoryRequirementsKHR( static_cast( m_device ), reinterpret_cast( &info ), &sparseMemoryRequirementCount, reinterpret_cast( sparseMemoryRequirements.data() ) ); @@ -27338,7 +35462,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDispatchParametersARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDispatchParametersARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDispatchParametersARM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDispatchParametersARM( DispatchParametersARM const * pDispatchParameters, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27350,7 +35479,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDispatchParametersARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDispatchParametersARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDispatchParametersARM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDispatchParametersARM( DispatchParametersARM const & dispatchParameters, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27359,7 +35493,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetDispatchParametersARM && "Function requires " ); # endif - d.vkCmdSetDispatchParametersARM( m_commandBuffer, reinterpret_cast( &dispatchParameters ) ); + d.vkCmdSetDispatchParametersARM( static_cast( m_commandBuffer ), + reinterpret_cast( &dispatchParameters ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -27367,7 +35502,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutHostMappingInfoVALVE ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetLayoutHostMappingInfoVALVE( DescriptorSetBindingReferenceVALVE const * pBindingReference, DescriptorSetLayoutHostMappingInfoVALVE * pHostMapping, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -27381,7 +35521,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutHostMappingInfoVALVE ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutHostMappingInfoVALVE Device::getDescriptorSetLayoutHostMappingInfoVALVE( DescriptorSetBindingReferenceVALVE const & bindingReference, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27392,7 +35537,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DescriptorSetLayoutHostMappingInfoVALVE hostMapping; - d.vkGetDescriptorSetLayoutHostMappingInfoVALVE( m_device, + d.vkGetDescriptorSetLayoutHostMappingInfoVALVE( static_cast( m_device ), reinterpret_cast( &bindingReference ), reinterpret_cast( &hostMapping ) ); @@ -27402,7 +35547,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetHostMappingVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetHostMappingVALVE ) ) +#endif VULKAN_HPP_INLINE void Device::getDescriptorSetHostMappingVALVE( DescriptorSet descriptorSet, void ** ppData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27412,7 +35562,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetHostMappingVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetHostMappingVALVE ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE void * Device::getDescriptorSetHostMappingVALVE( DescriptorSet descriptorSet, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27423,7 +35578,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif void * pData; - d.vkGetDescriptorSetHostMappingVALVE( m_device, static_cast( descriptorSet ), &pData ); + d.vkGetDescriptorSetHostMappingVALVE( static_cast( m_device ), static_cast( descriptorSet ), &pData ); return pData; } @@ -27432,7 +35587,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_copy_memory_indirect === // wrapper function for command vkCmdCopyMemoryIndirectNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27442,7 +35602,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, @@ -27464,7 +35629,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, uint32_t stride, Image dstImage, @@ -27477,7 +35647,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryToImageIndirectNV && "Function requires " ); # endif - d.vkCmdCopyMemoryToImageIndirectNV( m_commandBuffer, + d.vkCmdCopyMemoryToImageIndirectNV( static_cast( m_commandBuffer ), static_cast( copyBufferAddress ), imageSubresources.size(), stride, @@ -27490,7 +35660,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_memory_decompression === // wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryNV( uint32_t decompressRegionCount, DecompressMemoryRegionNV const * pDecompressMemoryRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27502,7 +35677,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryNV( ArrayProxy const & decompressMemoryRegions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27511,14 +35691,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDecompressMemoryNV && "Function requires " ); # endif - d.vkCmdDecompressMemoryNV( - m_commandBuffer, decompressMemoryRegions.size(), reinterpret_cast( decompressMemoryRegions.data() ) ); + d.vkCmdDecompressMemoryNV( static_cast( m_commandBuffer ), + decompressMemoryRegions.size(), + reinterpret_cast( decompressMemoryRegions.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDecompressMemoryIndirectCountNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryIndirectCountNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryIndirectCountNV( DeviceAddress indirectCommandsAddress, DeviceAddress indirectCommandsCountAddress, uint32_t stride, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27533,7 +35719,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +#endif VULKAN_HPP_INLINE void Device::getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const * pCreateInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27546,7 +35737,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27557,19 +35753,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetPipelineIndirectMemoryRequirementsNV( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetPipelineIndirectMemoryRequirementsNV( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27581,8 +35783,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetPipelineIndirectMemoryRequirementsNV( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetPipelineIndirectMemoryRequirementsNV( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } @@ -27590,7 +35793,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdUpdatePipelineIndirectBufferNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdatePipelineIndirectBufferNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdUpdatePipelineIndirectBufferNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::updatePipelineIndirectBufferNV( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27601,7 +35809,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectDeviceAddressNV ) ) +#endif VULKAN_HPP_INLINE DeviceAddress Device::getPipelineIndirectAddressNV( PipelineIndirectDeviceAddressInfoNV const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27613,7 +35826,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectDeviceAddressNV ) ) +# endif VULKAN_HPP_INLINE DeviceAddress Device::getPipelineIndirectAddressNV( PipelineIndirectDeviceAddressInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27623,7 +35841,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - VkDeviceAddress result = d.vkGetPipelineIndirectDeviceAddressNV( m_device, reinterpret_cast( &info ) ); + VkDeviceAddress result = + d.vkGetPipelineIndirectDeviceAddressNV( static_cast( m_device ), reinterpret_cast( &info ) ); return static_cast( result ); } @@ -27634,7 +35853,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const * buffer, NativeBufferPropertiesOHOS * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27646,7 +35870,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const & buffer, Dispatch const & d ) const { @@ -27656,8 +35885,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif NativeBufferPropertiesOHOS properties; - Result result = - static_cast( d.vkGetNativeBufferPropertiesOHOS( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( + d.vkGetNativeBufferPropertiesOHOS( static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getNativeBufferPropertiesOHOS" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -27665,7 +35894,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const & buffer, Dispatch const & d ) const { @@ -27676,8 +35910,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; NativeBufferPropertiesOHOS & properties = structureChain.template get(); - Result result = - static_cast( d.vkGetNativeBufferPropertiesOHOS( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( + d.vkGetNativeBufferPropertiesOHOS( static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getNativeBufferPropertiesOHOS" ); return detail::createResultValueType( result, std::move( structureChain ) ); @@ -27685,7 +35919,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryNativeBufferOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryNativeBufferOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryNativeBufferOHOS( MemoryGetNativeBufferInfoOHOS const * pInfo, struct OH_NativeBuffer ** pBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27696,7 +35935,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryNativeBufferOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryNativeBufferOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryNativeBufferOHOS( MemoryGetNativeBufferInfoOHOS const & info, Dispatch const & d ) const { @@ -27706,8 +35950,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif struct OH_NativeBuffer * buffer; - Result result = - static_cast( d.vkGetMemoryNativeBufferOHOS( m_device, reinterpret_cast( &info ), &buffer ) ); + Result result = static_cast( + d.vkGetMemoryNativeBufferOHOS( static_cast( m_device ), reinterpret_cast( &info ), &buffer ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryNativeBufferOHOS" ); return detail::createResultValueType( result, std::move( buffer ) ); @@ -27718,7 +35962,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_extended_dynamic_state3 === // wrapper function for command vkCmdSetDepthClampEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthClampEnableEXT( Bool32 depthClampEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27726,7 +35975,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetPolygonModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPolygonModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPolygonModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPolygonModeEXT( PolygonMode polygonMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27735,7 +35989,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRasterizationSamplesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationSamplesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizationSamplesEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRasterizationSamplesEXT( SampleCountFlagBits rasterizationSamples, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27743,7 +36002,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleMaskEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setSampleMaskEXT( SampleCountFlagBits samples, SampleMask const * pSampleMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27754,7 +36018,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetSampleMaskEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setSampleMaskEXT( SampleCountFlagBits samples, ArrayProxy const & sampleMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS { @@ -27771,13 +36040,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdSetSampleMaskEXT( m_commandBuffer, static_cast( samples ), reinterpret_cast( sampleMask.data() ) ); + d.vkCmdSetSampleMaskEXT( static_cast( m_commandBuffer ), + static_cast( samples ), + reinterpret_cast( sampleMask.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetAlphaToCoverageEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToCoverageEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetAlphaToCoverageEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setAlphaToCoverageEnableEXT( Bool32 alphaToCoverageEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27785,7 +36061,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetAlphaToOneEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToOneEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetAlphaToOneEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setAlphaToOneEnableEXT( Bool32 alphaToOneEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27793,7 +36074,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetLogicOpEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLogicOpEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLogicOpEnableEXT( Bool32 logicOpEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27801,7 +36087,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetColorBlendEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendEnableEXT( uint32_t firstAttachment, uint32_t attachmentCount, Bool32 const * pColorBlendEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27812,7 +36103,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEnableEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendEnableEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendEnables, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27822,13 +36118,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetColorBlendEnableEXT( m_commandBuffer, firstAttachment, colorBlendEnables.size(), reinterpret_cast( colorBlendEnables.data() ) ); + d.vkCmdSetColorBlendEnableEXT( static_cast( m_commandBuffer ), + firstAttachment, + colorBlendEnables.size(), + reinterpret_cast( colorBlendEnables.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetColorBlendEquationEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEquationEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendEquationEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorBlendEquationEXT const * pColorBlendEquations, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27842,7 +36146,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendEquationEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEquationEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendEquationEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendEquations, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27852,13 +36161,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetColorBlendEquationEXT( - m_commandBuffer, firstAttachment, colorBlendEquations.size(), reinterpret_cast( colorBlendEquations.data() ) ); + d.vkCmdSetColorBlendEquationEXT( static_cast( m_commandBuffer ), + firstAttachment, + colorBlendEquations.size(), + reinterpret_cast( colorBlendEquations.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteMaskEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setColorWriteMaskEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorComponentFlags const * pColorWriteMasks, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27869,7 +36185,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteMaskEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setColorWriteMaskEXT( uint32_t firstAttachment, ArrayProxy const & colorWriteMasks, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27879,14 +36200,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetColorWriteMaskEXT( - m_commandBuffer, firstAttachment, colorWriteMasks.size(), reinterpret_cast( colorWriteMasks.data() ) ); + d.vkCmdSetColorWriteMaskEXT( static_cast( m_commandBuffer ), + firstAttachment, + colorWriteMasks.size(), + reinterpret_cast( colorWriteMasks.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetTessellationDomainOriginEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetTessellationDomainOriginEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetTessellationDomainOriginEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setTessellationDomainOriginEXT( TessellationDomainOrigin domainOrigin, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27895,7 +36223,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRasterizationStreamEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationStreamEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizationStreamEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRasterizationStreamEXT( uint32_t rasterizationStream, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27904,7 +36237,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetConservativeRasterizationModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetConservativeRasterizationModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetConservativeRasterizationModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setConservativeRasterizationModeEXT( ConservativeRasterizationModeEXT conservativeRasterizationMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27915,7 +36253,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetExtraPrimitiveOverestimationSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExtraPrimitiveOverestimationSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetExtraPrimitiveOverestimationSizeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setExtraPrimitiveOverestimationSizeEXT( float extraPrimitiveOverestimationSize, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27924,7 +36267,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetDepthClipEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClipEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthClipEnableEXT( Bool32 depthClipEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27933,7 +36281,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetSampleLocationsEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEnableEXT( Bool32 sampleLocationsEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27942,7 +36295,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetColorBlendAdvancedEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendAdvancedEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendAdvancedEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorBlendAdvancedEXT const * pColorBlendAdvanced, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27956,7 +36314,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendAdvancedEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendAdvancedEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setColorBlendAdvancedEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendAdvanced, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27966,14 +36329,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetColorBlendAdvancedEXT( - m_commandBuffer, firstAttachment, colorBlendAdvanced.size(), reinterpret_cast( colorBlendAdvanced.data() ) ); + d.vkCmdSetColorBlendAdvancedEXT( static_cast( m_commandBuffer ), + firstAttachment, + colorBlendAdvanced.size(), + reinterpret_cast( colorBlendAdvanced.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetProvokingVertexModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetProvokingVertexModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetProvokingVertexModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setProvokingVertexModeEXT( ProvokingVertexModeEXT provokingVertexMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -27982,7 +36352,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetLineRasterizationModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineRasterizationModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineRasterizationModeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineRasterizationModeEXT( LineRasterizationModeEXT lineRasterizationMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -27991,7 +36366,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetLineStippleEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEnableEXT( Bool32 stippledLineEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28000,7 +36380,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDepthClipNegativeOneToOneEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipNegativeOneToOneEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClipNegativeOneToOneEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthClipNegativeOneToOneEXT( Bool32 negativeOneToOne, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28009,7 +36394,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetViewportWScalingEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingEnableNV( Bool32 viewportWScalingEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28017,7 +36407,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportSwizzleNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setViewportSwizzleNV( uint32_t firstViewport, uint32_t viewportCount, ViewportSwizzleNV const * pViewportSwizzles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28028,7 +36423,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportSwizzleNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setViewportSwizzleNV( uint32_t firstViewport, ArrayProxy const & viewportSwizzles, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28038,14 +36438,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetViewportSwizzleNV( - m_commandBuffer, firstViewport, viewportSwizzles.size(), reinterpret_cast( viewportSwizzles.data() ) ); + d.vkCmdSetViewportSwizzleNV( static_cast( m_commandBuffer ), + firstViewport, + viewportSwizzles.size(), + reinterpret_cast( viewportSwizzles.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetCoverageToColorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageToColorEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageToColorEnableNV( Bool32 coverageToColorEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28054,7 +36461,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageToColorLocationNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorLocationNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageToColorLocationNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageToColorLocationNV( uint32_t coverageToColorLocation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28063,7 +36475,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageModulationModeNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationModeNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationModeNV( CoverageModulationModeNV coverageModulationMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28073,7 +36490,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageModulationTableEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationTableEnableNV( Bool32 coverageModulationTableEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28082,7 +36504,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageModulationTableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationTableNV( uint32_t coverageModulationTableCount, float const * pCoverageModulationTable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28093,7 +36520,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCoverageModulationTableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationTableNV( ArrayProxy const & coverageModulationTable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28103,13 +36535,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetCoverageModulationTableNV( m_commandBuffer, coverageModulationTable.size(), coverageModulationTable.data() ); + d.vkCmdSetCoverageModulationTableNV( static_cast( m_commandBuffer ), coverageModulationTable.size(), coverageModulationTable.data() ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetShadingRateImageEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetShadingRateImageEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetShadingRateImageEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setShadingRateImageEnableNV( Bool32 shadingRateImageEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28118,7 +36555,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRepresentativeFragmentTestEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRepresentativeFragmentTestEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetRepresentativeFragmentTestEnableNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setRepresentativeFragmentTestEnableNV( Bool32 representativeFragmentTestEnable, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28128,7 +36570,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageReductionModeNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageReductionModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageReductionModeNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setCoverageReductionModeNV( CoverageReductionModeNV coverageReductionMode, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28139,7 +36586,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_ARM_tensors === // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createTensorARM( TensorCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, TensorARM * pTensor, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28152,7 +36604,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createTensorARM( TensorCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28162,7 +36619,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TensorARM tensor; - Result result = static_cast( d.vkCreateTensorARM( m_device, + Result result = static_cast( d.vkCreateTensorARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &tensor ) ) ); @@ -28173,7 +36630,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createTensorARMUnique( TensorCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28183,7 +36645,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TensorARM tensor; - Result result = static_cast( d.vkCreateTensorARM( m_device, + Result result = static_cast( d.vkCreateTensorARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &tensor ) ) ); @@ -28195,7 +36657,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroyTensorARM( TensorARM tensor, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28205,7 +36672,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroyTensorARM( TensorARM tensor, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28214,12 +36686,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyTensorARM && "Function requires " ); # endif - d.vkDestroyTensorARM( m_device, static_cast( tensor ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyTensorARM( + static_cast( m_device ), static_cast( tensor ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( TensorARM tensor, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28229,7 +36707,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( TensorARM tensor, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28237,12 +36720,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyTensorARM && "Function requires " ); # endif - d.vkDestroyTensorARM( m_device, static_cast( tensor ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyTensorARM( + static_cast( m_device ), static_cast( tensor ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createTensorViewARM( TensorViewCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, TensorViewARM * pView, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28255,7 +36744,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createTensorViewARM( TensorViewCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28265,7 +36759,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TensorViewARM view; - Result result = static_cast( d.vkCreateTensorViewARM( m_device, + Result result = static_cast( d.vkCreateTensorViewARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -28276,7 +36770,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createTensorViewARMUnique( TensorViewCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28286,7 +36785,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TensorViewARM view; - Result result = static_cast( d.vkCreateTensorViewARM( m_device, + Result result = static_cast( d.vkCreateTensorViewARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &view ) ) ); @@ -28299,7 +36798,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroyTensorViewARM( TensorViewARM tensorView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28310,7 +36814,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroyTensorViewARM( TensorViewARM tensorView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28319,12 +36828,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyTensorViewARM && "Function requires " ); # endif - d.vkDestroyTensorViewARM( m_device, static_cast( tensorView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyTensorViewARM( + static_cast( m_device ), static_cast( tensorView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( TensorViewARM tensorView, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28334,7 +36849,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( TensorViewARM tensorView, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28343,13 +36863,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyTensorViewARM && "Function requires " ); # endif - d.vkDestroyTensorViewARM( m_device, static_cast( tensorView ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyTensorViewARM( + static_cast( m_device ), static_cast( tensorView ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +#endif VULKAN_HPP_INLINE void Device::getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28362,7 +36888,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28372,15 +36903,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetTensorMemoryRequirementsARM( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetTensorMemoryRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28391,15 +36928,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetTensorMemoryRequirementsARM( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetTensorMemoryRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindTensorMemoryARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindTensorMemoryARM( uint32_t bindInfoCount, BindTensorMemoryInfoARM const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28410,7 +36953,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindTensorMemoryARM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindTensorMemoryARM( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -28419,8 +36967,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindTensorMemoryARM && "Function requires " ); # endif - Result result = - static_cast( d.vkBindTensorMemoryARM( m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + Result result = static_cast( + d.vkBindTensorMemoryARM( static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindTensorMemoryARM" ); return detail::createResultValueType( result ); @@ -28429,7 +36977,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +#endif VULKAN_HPP_INLINE void Device::getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28442,7 +36995,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28452,19 +37010,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDeviceTensorMemoryRequirementsARM( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceTensorMemoryRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return memoryRequirements; } // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28475,15 +37039,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDeviceTensorMemoryRequirementsARM( - m_device, reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); + d.vkGetDeviceTensorMemoryRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( &memoryRequirements ) ); return structureChain; } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyTensorARM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyTensorARM( CopyTensorInfoARM const * pCopyTensorInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28492,7 +37062,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyTensorARM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyTensorARM( CopyTensorInfoARM const & copyTensorInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28500,13 +37075,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyTensorARM && "Function requires " ); # endif - d.vkCmdCopyTensorARM( m_commandBuffer, reinterpret_cast( ©TensorInfo ) ); + d.vkCmdCopyTensorARM( static_cast( m_commandBuffer ), reinterpret_cast( ©TensorInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalTensorPropertiesARM ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getExternalTensorPropertiesARM( PhysicalDeviceExternalTensorInfoARM const * pExternalTensorInfo, ExternalTensorPropertiesARM * pExternalTensorProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -28520,7 +37100,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalTensorPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalTensorPropertiesARM PhysicalDevice::getExternalTensorPropertiesARM( PhysicalDeviceExternalTensorInfoARM const & externalTensorInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28531,7 +37116,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalTensorPropertiesARM externalTensorProperties; - d.vkGetPhysicalDeviceExternalTensorPropertiesARM( m_physicalDevice, + d.vkGetPhysicalDeviceExternalTensorPropertiesARM( static_cast( m_physicalDevice ), reinterpret_cast( &externalTensorInfo ), reinterpret_cast( &externalTensorProperties ) ); @@ -28541,7 +37126,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDescriptorDataARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getTensorOpaqueCaptureDescriptorDataARM( TensorCaptureDescriptorDataInfoARM const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28553,7 +37143,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDescriptorDataARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getTensorOpaqueCaptureDescriptorDataARM( TensorCaptureDescriptorDataInfoARM const & info, Dispatch const & d ) const { @@ -28563,8 +37158,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetTensorOpaqueCaptureDescriptorDataARM( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetTensorOpaqueCaptureDescriptorDataARM( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDescriptorDataARM" ); return detail::createResultValueType( result, std::move( data ) ); @@ -28573,7 +37168,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetTensorViewOpaqueCaptureDescriptorDataARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getTensorViewOpaqueCaptureDescriptorDataARM( TensorViewCaptureDescriptorDataInfoARM const * pInfo, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28585,7 +37185,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetTensorViewOpaqueCaptureDescriptorDataARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getTensorViewOpaqueCaptureDescriptorDataARM( TensorViewCaptureDescriptorDataInfoARM const & info, Dispatch const & d ) const { @@ -28596,8 +37201,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif DataType data; - Result result = static_cast( - d.vkGetTensorViewOpaqueCaptureDescriptorDataARM( m_device, reinterpret_cast( &info ), &data ) ); + Result result = static_cast( d.vkGetTensorViewOpaqueCaptureDescriptorDataARM( + static_cast( m_device ), reinterpret_cast( &info ), &data ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getTensorViewOpaqueCaptureDescriptorDataARM" ); return detail::createResultValueType( result, std::move( data ) ); @@ -28608,7 +37213,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetShaderModuleIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetShaderModuleIdentifierEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getShaderModuleIdentifierEXT( ShaderModule shaderModule, ShaderModuleIdentifierEXT * pIdentifier, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28620,7 +37230,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderModuleIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetShaderModuleIdentifierEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ShaderModuleIdentifierEXT Device::getShaderModuleIdentifierEXT( ShaderModule shaderModule, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28630,7 +37245,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderModuleIdentifierEXT identifier; - d.vkGetShaderModuleIdentifierEXT( m_device, static_cast( shaderModule ), reinterpret_cast( &identifier ) ); + d.vkGetShaderModuleIdentifierEXT( + static_cast( m_device ), static_cast( shaderModule ), reinterpret_cast( &identifier ) ); return identifier; } @@ -28638,7 +37254,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetShaderModuleCreateInfoIdentifierEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getShaderModuleCreateInfoIdentifierEXT( ShaderModuleCreateInfo const * pCreateInfo, ShaderModuleIdentifierEXT * pIdentifier, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28651,7 +37272,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetShaderModuleCreateInfoIdentifierEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ShaderModuleIdentifierEXT Device::getShaderModuleCreateInfoIdentifierEXT( ShaderModuleCreateInfo const & createInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28662,8 +37288,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderModuleIdentifierEXT identifier; - d.vkGetShaderModuleCreateInfoIdentifierEXT( - m_device, reinterpret_cast( &createInfo ), reinterpret_cast( &identifier ) ); + d.vkGetShaderModuleCreateInfoIdentifierEXT( static_cast( m_device ), + reinterpret_cast( &createInfo ), + reinterpret_cast( &identifier ) ); return identifier; } @@ -28673,7 +37300,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const * pOpticalFlowImageFormatInfo, uint32_t * pFormatCount, OpticalFlowImageFormatPropertiesNV * pImageFormatProperties, @@ -28690,11 +37322,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template OpticalFlowImageFormatPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const & opticalFlowImageFormatInfo, Dispatch const & d ) const @@ -28710,13 +37347,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( - m_physicalDevice, reinterpret_cast( &opticalFlowImageFormatInfo ), &formatCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( static_cast( m_physicalDevice ), + reinterpret_cast( &opticalFlowImageFormatInfo ), + &formatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && formatCount ) { imageFormatProperties.resize( formatCount ); result = static_cast( - d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( m_physicalDevice, + d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( static_cast( m_physicalDevice ), reinterpret_cast( &opticalFlowImageFormatInfo ), &formatCount, reinterpret_cast( imageFormatProperties.data() ) ) ); @@ -28733,11 +37373,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template OpticalFlowImageFormatPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const & opticalFlowImageFormatInfo, @@ -28756,13 +37401,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( - m_physicalDevice, reinterpret_cast( &opticalFlowImageFormatInfo ), &formatCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( static_cast( m_physicalDevice ), + reinterpret_cast( &opticalFlowImageFormatInfo ), + &formatCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && formatCount ) { imageFormatProperties.resize( formatCount ); result = static_cast( - d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( m_physicalDevice, + d.vkGetPhysicalDeviceOpticalFlowImageFormatsNV( static_cast( m_physicalDevice ), reinterpret_cast( &opticalFlowImageFormatInfo ), &formatCount, reinterpret_cast( imageFormatProperties.data() ) ) ); @@ -28779,7 +37427,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateOpticalFlowSessionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, OpticalFlowSessionNV * pSession, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -28793,7 +37446,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateOpticalFlowSessionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28803,7 +37461,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif OpticalFlowSessionNV session; - Result result = static_cast( d.vkCreateOpticalFlowSessionNV( m_device, + Result result = static_cast( d.vkCreateOpticalFlowSessionNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &session ) ) ); @@ -28814,7 +37472,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateOpticalFlowSessionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createOpticalFlowSessionNVUnique( OpticalFlowSessionCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -28824,7 +37487,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif OpticalFlowSessionNV session; - Result result = static_cast( d.vkCreateOpticalFlowSessionNV( m_device, + Result result = static_cast( d.vkCreateOpticalFlowSessionNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &session ) ) ); @@ -28838,7 +37501,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroyOpticalFlowSessionNV( OpticalFlowSessionNV session, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28850,7 +37518,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyOpticalFlowSessionNV( OpticalFlowSessionNV session, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28860,13 +37533,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif d.vkDestroyOpticalFlowSessionNV( - m_device, static_cast( session ), reinterpret_cast( allocator.get() ) ); + static_cast( m_device ), static_cast( session ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( OpticalFlowSessionNV session, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -28877,7 +37555,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( OpticalFlowSessionNV session, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28887,14 +37570,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif d.vkDestroyOpticalFlowSessionNV( - m_device, static_cast( session ), reinterpret_cast( allocator.get() ) ); + static_cast( m_device ), static_cast( session ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindOpticalFlowSessionImageNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindOpticalFlowSessionImageNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindOpticalFlowSessionImageNV( OpticalFlowSessionNV session, OpticalFlowSessionBindingPointNV bindingPoint, ImageView view, ImageLayout layout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -28909,7 +37597,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkBindOpticalFlowSessionImageNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindOpticalFlowSessionImageNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindOpticalFlowSessionImageNV( OpticalFlowSessionNV session, OpticalFlowSessionBindingPointNV bindingPoint, ImageView view, ImageLayout layout, Dispatch const & d ) const { @@ -28918,7 +37611,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkBindOpticalFlowSessionImageNV && "Function requires " ); # endif - Result result = static_cast( d.vkBindOpticalFlowSessionImageNV( m_device, + Result result = static_cast( d.vkBindOpticalFlowSessionImageNV( static_cast( m_device ), static_cast( session ), static_cast( bindingPoint ), static_cast( view ), @@ -28930,7 +37623,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdOpticalFlowExecuteNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::opticalFlowExecuteNV( OpticalFlowSessionNV session, OpticalFlowExecuteInfoNV const * pExecuteInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28942,7 +37640,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdOpticalFlowExecuteNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::opticalFlowExecuteNV( OpticalFlowSessionNV session, OpticalFlowExecuteInfoNV const & executeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28951,15 +37654,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdOpticalFlowExecuteNV && "Function requires " ); # endif - d.vkCmdOpticalFlowExecuteNV( - m_commandBuffer, static_cast( session ), reinterpret_cast( &executeInfo ) ); + d.vkCmdOpticalFlowExecuteNV( static_cast( m_commandBuffer ), + static_cast( session ), + reinterpret_cast( &executeInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_maintenance5 === // wrapper function for command vkCmdBindIndexBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer2KHR( Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28973,7 +37682,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRenderingAreaGranularityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularityKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getRenderingAreaGranularityKHR( RenderingAreaInfo const * pRenderingAreaInfo, Extent2D * pGranularity, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28985,7 +37699,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderingAreaGranularityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularityKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D Device::getRenderingAreaGranularityKHR( RenderingAreaInfo const & renderingAreaInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -28996,7 +37715,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Extent2D granularity; d.vkGetRenderingAreaGranularityKHR( - m_device, reinterpret_cast( &renderingAreaInfo ), reinterpret_cast( &granularity ) ); + static_cast( m_device ), reinterpret_cast( &renderingAreaInfo ), reinterpret_cast( &granularity ) ); return granularity; } @@ -29004,7 +37723,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const * pInfo, SubresourceLayout2 * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29016,7 +37740,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Device::getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29028,18 +37757,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE SubresourceLayout2 layout; d.vkGetDeviceImageSubresourceLayoutKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &layout ) ); + static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &layout ) ); return layout; } // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29052,7 +37786,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SubresourceLayout2 & layout = structureChain.template get(); d.vkGetDeviceImageSubresourceLayoutKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( &layout ) ); + static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &layout ) ); return structureChain; } @@ -29060,7 +37794,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +#endif VULKAN_HPP_INLINE void Device::getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29074,7 +37813,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Device::getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29086,7 +37830,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SubresourceLayout2 layout; - d.vkGetImageSubresourceLayout2KHR( m_device, + d.vkGetImageSubresourceLayout2KHR( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -29096,7 +37840,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const & subresource, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29109,7 +37858,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; SubresourceLayout2 & layout = structureChain.template get(); - d.vkGetImageSubresourceLayout2KHR( m_device, + d.vkGetImageSubresourceLayout2KHR( static_cast( m_device ), static_cast( image ), reinterpret_cast( &subresource ), reinterpret_cast( &layout ) ); @@ -29121,7 +37870,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_anti_lag === // wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkAntiLagUpdateAMD ) ) +#endif VULKAN_HPP_INLINE void Device::antiLagUpdateAMD( AntiLagDataAMD const * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -29130,7 +37884,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkAntiLagUpdateAMD ) ) +# endif VULKAN_HPP_INLINE void Device::antiLagUpdateAMD( AntiLagDataAMD const & data, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -29138,14 +37897,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkAntiLagUpdateAMD && "Function requires " ); # endif - d.vkAntiLagUpdateAMD( m_device, reinterpret_cast( &data ) ); + d.vkAntiLagUpdateAMD( static_cast( m_device ), reinterpret_cast( &data ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_present_wait2 === // wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkWaitForPresent2KHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForPresent2KHR( SwapchainKHR swapchain, PresentWait2InfoKHR const * pPresentWait2Info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29156,7 +37920,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkWaitForPresent2KHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForPresent2KHR( SwapchainKHR swapchain, PresentWait2InfoKHR const & presentWait2Info, Dispatch const & d ) const { @@ -29165,8 +37934,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkWaitForPresent2KHR && "Function requires " ); # endif - Result result = static_cast( - d.vkWaitForPresent2KHR( m_device, static_cast( swapchain ), reinterpret_cast( &presentWait2Info ) ) ); + Result result = static_cast( d.vkWaitForPresent2KHR( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( &presentWait2Info ) ) ); # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) detail::resultCheck( result, @@ -29183,7 +37952,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_shader_object === // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createShadersEXT( uint32_t createInfoCount, ShaderCreateInfoEXT const * pCreateInfos, AllocationCallbacks const * pAllocator, ShaderEXT * pShaders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -29198,10 +37972,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ShaderEXTAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createShadersEXT( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const { @@ -29211,7 +37990,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector shaders( createInfos.size() ); - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -29222,10 +38001,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ShaderEXTAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createShadersEXT( ArrayProxy const & createInfos, Optional allocator, @@ -29238,7 +38022,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector shaders( createInfos.size(), {}, shaderEXTAllocator ); - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -29249,7 +38033,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createShaderEXT( ShaderCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -29259,7 +38048,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderEXT shader; - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -29271,10 +38060,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > ShaderEXTAllocator> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, ShaderEXTAllocator>> Device::createShadersEXTUnique( ArrayProxy const & createInfos, Optional allocator, Dispatch const & d ) const { @@ -29284,7 +38078,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector shaders( createInfos.size() ); - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -29301,10 +38095,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > ShaderEXTAllocator> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, ShaderEXTAllocator>> Device::createShadersEXTUnique( ArrayProxy const & createInfos, Optional allocator, @@ -29317,7 +38116,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector shaders( createInfos.size() ); - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), createInfos.size(), reinterpret_cast( createInfos.data() ), reinterpret_cast( allocator.get() ), @@ -29334,7 +38133,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createShaderEXTUnique( ShaderCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -29344,7 +38148,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderEXT shader; - Result result = static_cast( d.vkCreateShadersEXT( m_device, + Result result = static_cast( d.vkCreateShadersEXT( static_cast( m_device ), 1, reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), @@ -29358,7 +38162,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyShaderEXT( ShaderEXT shader, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -29368,7 +38177,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyShaderEXT( ShaderEXT shader, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29377,12 +38191,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderEXT && "Function requires " ); # endif - d.vkDestroyShaderEXT( m_device, static_cast( shader ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderEXT( + static_cast( m_device ), static_cast( shader ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ShaderEXT shader, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -29392,7 +38212,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ShaderEXT shader, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -29400,12 +38225,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderEXT && "Function requires " ); # endif - d.vkDestroyShaderEXT( m_device, static_cast( shader ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderEXT( + static_cast( m_device ), static_cast( shader ), reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getShaderBinaryDataEXT( ShaderEXT shader, size_t * pDataSize, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29415,10 +38246,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderBinaryDataEXT( ShaderEXT shader, Dispatch const & d ) const { @@ -29432,12 +38268,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetShaderBinaryDataEXT( m_device, static_cast( shader ), &dataSize, nullptr ) ); + result = static_cast( d.vkGetShaderBinaryDataEXT( static_cast( m_device ), static_cast( shader ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = - static_cast( d.vkGetShaderBinaryDataEXT( m_device, static_cast( shader ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetShaderBinaryDataEXT( + static_cast( m_device ), static_cast( shader ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getShaderBinaryDataEXT" ); @@ -29450,10 +38286,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getShaderBinaryDataEXT( ShaderEXT shader, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -29467,12 +38308,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetShaderBinaryDataEXT( m_device, static_cast( shader ), &dataSize, nullptr ) ); + result = static_cast( d.vkGetShaderBinaryDataEXT( static_cast( m_device ), static_cast( shader ), &dataSize, nullptr ) ); if ( ( result == Result::eSuccess ) && dataSize ) { data.resize( dataSize ); - result = - static_cast( d.vkGetShaderBinaryDataEXT( m_device, static_cast( shader ), &dataSize, reinterpret_cast( data.data() ) ) ); + result = static_cast( d.vkGetShaderBinaryDataEXT( + static_cast( m_device ), static_cast( shader ), &dataSize, reinterpret_cast( data.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getShaderBinaryDataEXT" ); @@ -29486,7 +38327,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindShadersEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindShadersEXT( uint32_t stageCount, ShaderStageFlagBits const * pStages, ShaderEXT const * pShaders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29499,7 +38345,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindShadersEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindShadersEXT( ArrayProxy const & stages, ArrayProxy const & shaders, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS @@ -29517,7 +38368,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } # endif /*VULKAN_HPP_NO_EXCEPTIONS*/ - d.vkCmdBindShadersEXT( m_commandBuffer, + d.vkCmdBindShadersEXT( static_cast( m_commandBuffer ), stages.size(), reinterpret_cast( stages.data() ), reinterpret_cast( shaders.data() ) ); @@ -29525,7 +38376,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampRangeEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, DepthClampRangeEXT const * pDepthClampRange, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29537,7 +38393,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampRangeEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, Optional depthClampRange, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29547,15 +38408,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdSetDepthClampRangeEXT( - m_commandBuffer, static_cast( depthClampMode ), reinterpret_cast( depthClampRange.get() ) ); + d.vkCmdSetDepthClampRangeEXT( static_cast( m_commandBuffer ), + static_cast( depthClampMode ), + reinterpret_cast( depthClampRange.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_pipeline_binary === // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineBinaryHandlesInfoKHR * pBinaries, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -29569,10 +38436,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineBinaryKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -29590,7 +38462,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE pipelineBinaries.resize( createInfo.pKeysAndDataInfo->binaryCount ); binaries.pipelineBinaryCount = createInfo.pKeysAndDataInfo->binaryCount; binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29598,7 +38470,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE else { VULKAN_HPP_ASSERT( !createInfo.pipeline ^ !createInfo.pPipelineCreateInfo ); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29606,7 +38478,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { pipelineBinaries.resize( binaries.pipelineBinaryCount ); binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29620,10 +38492,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineBinaryKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, @@ -29644,7 +38521,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE pipelineBinaries.resize( createInfo.pKeysAndDataInfo->binaryCount ); binaries.pipelineBinaryCount = createInfo.pKeysAndDataInfo->binaryCount; binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29652,7 +38529,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE else { VULKAN_HPP_ASSERT( !createInfo.pipeline ^ !createInfo.pPipelineCreateInfo ); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29660,7 +38537,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { pipelineBinaries.resize( binaries.pipelineBinaryCount ); binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29675,10 +38552,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineBinaryKHRAllocator> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineBinaryKHRAllocator>> Device::createPipelineBinariesKHRUnique( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, Dispatch const & d ) const @@ -29697,7 +38579,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE pipelineBinaries.resize( createInfo.pKeysAndDataInfo->binaryCount ); binaries.pipelineBinaryCount = createInfo.pKeysAndDataInfo->binaryCount; binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29705,7 +38587,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE else { VULKAN_HPP_ASSERT( !createInfo.pipeline ^ !createInfo.pPipelineCreateInfo ); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29713,7 +38595,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { pipelineBinaries.resize( binaries.pipelineBinaryCount ); binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29734,10 +38616,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineBinaryKHRAllocator> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineBinaryKHRAllocator>> Device::createPipelineBinariesKHRUnique( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, @@ -29758,7 +38645,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE pipelineBinaries.resize( createInfo.pKeysAndDataInfo->binaryCount ); binaries.pipelineBinaryCount = createInfo.pKeysAndDataInfo->binaryCount; binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29766,7 +38653,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE else { VULKAN_HPP_ASSERT( !createInfo.pipeline ^ !createInfo.pPipelineCreateInfo ); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29774,7 +38661,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { pipelineBinaries.resize( binaries.pipelineBinaryCount ); binaries.pPipelineBinaries = pipelineBinaries.data(); - result = static_cast( d.vkCreatePipelineBinariesKHR( m_device, + result = static_cast( d.vkCreatePipelineBinariesKHR( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &binaries ) ) ); @@ -29797,7 +38684,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroyPipelineBinaryKHR( PipelineBinaryKHR pipelineBinary, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29808,7 +38700,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroyPipelineBinaryKHR( PipelineBinaryKHR pipelineBinary, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29817,13 +38714,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineBinaryKHR && "Function requires " ); # endif - d.vkDestroyPipelineBinaryKHR( - m_device, static_cast( pipelineBinary ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineBinaryKHR( static_cast( m_device ), + static_cast( pipelineBinary ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( PipelineBinaryKHR pipelineBinary, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29834,7 +38737,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( PipelineBinaryKHR pipelineBinary, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29843,13 +38751,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyPipelineBinaryKHR && "Function requires " ); # endif - d.vkDestroyPipelineBinaryKHR( - m_device, static_cast( pipelineBinary ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyPipelineBinaryKHR( static_cast( m_device ), + static_cast( pipelineBinary ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineKeyKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineKeyKHR( PipelineCreateInfoKHR const * pPipelineCreateInfo, PipelineBinaryKeyKHR * pPipelineKey, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29861,7 +38775,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPipelineKeyKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getPipelineKeyKHR( Optional pipelineCreateInfo, Dispatch const & d ) const { @@ -29871,8 +38790,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif PipelineBinaryKeyKHR pipelineKey; - Result result = static_cast( d.vkGetPipelineKeyKHR( - m_device, reinterpret_cast( pipelineCreateInfo.get() ), reinterpret_cast( &pipelineKey ) ) ); + Result result = static_cast( d.vkGetPipelineKeyKHR( static_cast( m_device ), + reinterpret_cast( pipelineCreateInfo.get() ), + reinterpret_cast( &pipelineKey ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getPipelineKeyKHR" ); return detail::createResultValueType( result, std::move( pipelineKey ) ); @@ -29880,7 +38800,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const * pInfo, PipelineBinaryKeyKHR * pPipelineBinaryKey, size_t * pPipelineBinaryDataSize, @@ -29897,10 +38822,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>>::type Device::getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const & info, Dispatch const & d ) const { @@ -29913,7 +38843,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineBinaryKeyKHR & pipelineBinaryKey = data_.first; std::vector & pipelineBinaryData = data_.second; size_t pipelineBinaryDataSize; - Result result = static_cast( d.vkGetPipelineBinaryDataKHR( m_device, + Result result = static_cast( d.vkGetPipelineBinaryDataKHR( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &pipelineBinaryKey ), &pipelineBinaryDataSize, @@ -29921,7 +38851,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE if ( result == Result::eSuccess ) { pipelineBinaryData.resize( pipelineBinaryDataSize ); - result = static_cast( d.vkGetPipelineBinaryDataKHR( m_device, + result = static_cast( d.vkGetPipelineBinaryDataKHR( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &pipelineBinaryKey ), &pipelineBinaryDataSize, @@ -29934,10 +38864,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint8_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>>::type Device::getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const & info, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d ) const { @@ -29951,7 +38886,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineBinaryKeyKHR & pipelineBinaryKey = data_.first; std::vector & pipelineBinaryData = data_.second; size_t pipelineBinaryDataSize; - Result result = static_cast( d.vkGetPipelineBinaryDataKHR( m_device, + Result result = static_cast( d.vkGetPipelineBinaryDataKHR( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &pipelineBinaryKey ), &pipelineBinaryDataSize, @@ -29959,7 +38894,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE if ( result == Result::eSuccess ) { pipelineBinaryData.resize( pipelineBinaryDataSize ); - result = static_cast( d.vkGetPipelineBinaryDataKHR( m_device, + result = static_cast( d.vkGetPipelineBinaryDataKHR( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &pipelineBinaryKey ), &pipelineBinaryDataSize, @@ -29974,7 +38909,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkReleaseCapturedPipelineDataKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkReleaseCapturedPipelineDataKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseCapturedPipelineDataKHR( ReleaseCapturedPipelineDataInfoKHR const * pInfo, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -29987,7 +38927,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseCapturedPipelineDataKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseCapturedPipelineDataKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releaseCapturedPipelineDataKHR( ReleaseCapturedPipelineDataInfoKHR const & info, Optional allocator, Dispatch const & d ) const { @@ -29996,8 +38941,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkReleaseCapturedPipelineDataKHR && "Function requires " ); # endif - Result result = static_cast( d.vkReleaseCapturedPipelineDataKHR( - m_device, reinterpret_cast( &info ), reinterpret_cast( allocator.get() ) ) ); + Result result = static_cast( d.vkReleaseCapturedPipelineDataKHR( static_cast( m_device ), + reinterpret_cast( &info ), + reinterpret_cast( allocator.get() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseCapturedPipelineDataKHR" ); return detail::createResultValueType( result ); @@ -30008,7 +38954,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, uint32_t * pPropertiesCount, TilePropertiesQCOM * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30022,10 +38973,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TilePropertiesQCOMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, Dispatch const & d ) const { @@ -30039,12 +38995,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( m_device, static_cast( framebuffer ), &propertiesCount, nullptr ) ); + result = static_cast( + d.vkGetFramebufferTilePropertiesQCOM( static_cast( m_device ), static_cast( framebuffer ), &propertiesCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertiesCount ) { properties.resize( propertiesCount ); - result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( - m_device, static_cast( framebuffer ), &propertiesCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( static_cast( m_device ), + static_cast( framebuffer ), + &propertiesCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFramebufferTilePropertiesQCOM" ); @@ -30058,10 +39017,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TilePropertiesQCOMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, TilePropertiesQCOMAllocator const & tilePropertiesQCOMAllocator, Dispatch const & d ) const @@ -30076,12 +39040,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( m_device, static_cast( framebuffer ), &propertiesCount, nullptr ) ); + result = static_cast( + d.vkGetFramebufferTilePropertiesQCOM( static_cast( m_device ), static_cast( framebuffer ), &propertiesCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertiesCount ) { properties.resize( propertiesCount ); - result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( - m_device, static_cast( framebuffer ), &propertiesCount, reinterpret_cast( properties.data() ) ) ); + result = static_cast( d.vkGetFramebufferTilePropertiesQCOM( static_cast( m_device ), + static_cast( framebuffer ), + &propertiesCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFramebufferTilePropertiesQCOM" ); @@ -30096,7 +39063,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDynamicRenderingTilePropertiesQCOM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDynamicRenderingTilePropertiesQCOM( RenderingInfo const * pRenderingInfo, TilePropertiesQCOM * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30109,7 +39081,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDynamicRenderingTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getDynamicRenderingTilePropertiesQCOM( RenderingInfo const & renderingInfo, Dispatch const & d ) const { @@ -30119,8 +39096,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif TilePropertiesQCOM properties; - Result result = static_cast( d.vkGetDynamicRenderingTilePropertiesQCOM( - m_device, reinterpret_cast( &renderingInfo ), reinterpret_cast( &properties ) ) ); + Result result = static_cast( d.vkGetDynamicRenderingTilePropertiesQCOM( static_cast( m_device ), + reinterpret_cast( &renderingInfo ), + reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getDynamicRenderingTilePropertiesQCOM" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -30130,7 +39108,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_swapchain_maintenance1 === // wrapper function for command vkReleaseSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::releaseSwapchainImagesKHR( ReleaseSwapchainImagesInfoKHR const * pReleaseInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30141,7 +39124,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::releaseSwapchainImagesKHR( ReleaseSwapchainImagesInfoKHR const & releaseInfo, Dispatch const & d ) const { @@ -30151,7 +39139,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - Result result = static_cast( d.vkReleaseSwapchainImagesKHR( m_device, reinterpret_cast( &releaseInfo ) ) ); + Result result = static_cast( + d.vkReleaseSwapchainImagesKHR( static_cast( m_device ), reinterpret_cast( &releaseInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::releaseSwapchainImagesKHR" ); return detail::createResultValueType( result ); @@ -30162,7 +39151,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeVectorPropertiesNV( uint32_t * pPropertyCount, CooperativeVectorPropertiesNV * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30174,10 +39168,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeVectorPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeVectorPropertiesNV( Dispatch const & d ) const { @@ -30192,12 +39191,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeVectorPropertiesNV" ); @@ -30211,10 +39211,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeVectorPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeVectorPropertiesNV( CooperativeVectorPropertiesNVAllocator const & cooperativeVectorPropertiesNVAllocator, Dispatch const & d ) const @@ -30230,12 +39235,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeVectorPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeVectorPropertiesNV" ); @@ -30250,7 +39256,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkConvertCooperativeVectorMatrixNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::convertCooperativeVectorMatrixNV( ConvertCooperativeVectorMatrixInfoNV const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30262,7 +39273,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkConvertCooperativeVectorMatrixNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::convertCooperativeVectorMatrixNV( ConvertCooperativeVectorMatrixInfoNV const & info, Dispatch const & d ) const { @@ -30271,8 +39287,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkConvertCooperativeVectorMatrixNV && "Function requires " ); # endif - Result result = - static_cast( d.vkConvertCooperativeVectorMatrixNV( m_device, reinterpret_cast( &info ) ) ); + Result result = static_cast( + d.vkConvertCooperativeVectorMatrixNV( static_cast( m_device ), reinterpret_cast( &info ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::convertCooperativeVectorMatrixNV", { Result::eSuccess, Result::eIncomplete } ); return static_cast( result ); @@ -30281,7 +39297,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdConvertCooperativeVectorMatrixNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::convertCooperativeVectorMatrixNV( uint32_t infoCount, ConvertCooperativeVectorMatrixInfoNV const * pInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30293,7 +39314,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdConvertCooperativeVectorMatrixNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::convertCooperativeVectorMatrixNV( ArrayProxy const & infos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30302,14 +39328,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdConvertCooperativeVectorMatrixNV && "Function requires " ); # endif - d.vkCmdConvertCooperativeVectorMatrixNV( m_commandBuffer, infos.size(), reinterpret_cast( infos.data() ) ); + d.vkCmdConvertCooperativeVectorMatrixNV( + static_cast( m_commandBuffer ), infos.size(), reinterpret_cast( infos.data() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_NV_low_latency2 === // wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::setLatencySleepModeNV( SwapchainKHR swapchain, LatencySleepModeInfoNV const * pSleepModeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30320,7 +39352,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::setLatencySleepModeNV( SwapchainKHR swapchain, LatencySleepModeInfoNV const & sleepModeInfo, Dispatch const & d ) const { @@ -30329,8 +39366,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetLatencySleepModeNV && "Function requires " ); # endif - Result result = static_cast( - d.vkSetLatencySleepModeNV( m_device, static_cast( swapchain ), reinterpret_cast( &sleepModeInfo ) ) ); + Result result = static_cast( d.vkSetLatencySleepModeNV( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( &sleepModeInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::setLatencySleepModeNV" ); return detail::createResultValueType( result ); @@ -30338,7 +39375,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkLatencySleepNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::latencySleepNV( SwapchainKHR swapchain, LatencySleepInfoNV const * pSleepInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30349,7 +39391,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkLatencySleepNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::latencySleepNV( SwapchainKHR swapchain, LatencySleepInfoNV const & sleepInfo, Dispatch const & d ) const { @@ -30358,8 +39405,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkLatencySleepNV && "Function requires " ); # endif - Result result = static_cast( - d.vkLatencySleepNV( m_device, static_cast( swapchain ), reinterpret_cast( &sleepInfo ) ) ); + Result result = static_cast( d.vkLatencySleepNV( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( &sleepInfo ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::latencySleepNV" ); return detail::createResultValueType( result ); @@ -30367,7 +39414,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerNV ) ) +#endif VULKAN_HPP_INLINE void Device::setLatencyMarkerNV( SwapchainKHR swapchain, SetLatencyMarkerInfoNV const * pLatencyMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30378,7 +39430,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerNV ) ) +# endif VULKAN_HPP_INLINE void Device::setLatencyMarkerNV( SwapchainKHR swapchain, SetLatencyMarkerInfoNV const & latencyMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30387,12 +39444,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkSetLatencyMarkerNV && "Function requires " ); # endif - d.vkSetLatencyMarkerNV( m_device, static_cast( swapchain ), reinterpret_cast( &latencyMarkerInfo ) ); + d.vkSetLatencyMarkerNV( + static_cast( m_device ), static_cast( swapchain ), reinterpret_cast( &latencyMarkerInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsNV ) ) +#endif VULKAN_HPP_INLINE void Device::getLatencyTimingsNV( SwapchainKHR swapchain, GetLatencyMarkerInfoNV * pLatencyMarkerInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30402,7 +39465,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandNV ) ) +#endif VULKAN_HPP_INLINE void Queue::notifyOutOfBandNV( OutOfBandQueueTypeInfoNV const * pQueueTypeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -30411,7 +39479,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandNV ) ) +# endif VULKAN_HPP_INLINE void Queue::notifyOutOfBandNV( OutOfBandQueueTypeInfoNV const & queueTypeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -30419,7 +39492,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkQueueNotifyOutOfBandNV && "Function requires " ); # endif - d.vkQueueNotifyOutOfBandNV( m_queue, reinterpret_cast( &queueTypeInfo ) ); + d.vkQueueNotifyOutOfBandNV( static_cast( m_queue ), reinterpret_cast( &queueTypeInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -30427,7 +39500,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeMatrixPropertiesKHR( uint32_t * pPropertyCount, CooperativeMatrixPropertiesKHR * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30439,11 +39517,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesKHR( Dispatch const & d ) const { @@ -30458,12 +39541,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesKHR" ); @@ -30477,11 +39561,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesKHRAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixPropertiesKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixPropertiesKHR( CooperativeMatrixPropertiesKHRAllocator const & cooperativeMatrixPropertiesKHRAllocator, Dispatch const & d ) const @@ -30497,12 +39586,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), &propertyCount, reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesKHR" ); @@ -30519,7 +39609,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, uint32_t createInfoCount, @@ -30541,10 +39636,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -30558,7 +39658,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -30578,10 +39678,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PipelineAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -30596,7 +39701,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size(), {}, pipelineAllocator ); - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -30616,7 +39721,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue Device::createDataGraphPipelineARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, DataGraphPipelineCreateInfoARM const & createInfo, @@ -30629,7 +39739,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), 1, @@ -30645,10 +39755,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createDataGraphPipelinesARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -30662,7 +39777,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -30688,10 +39803,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template >::value, int>::type, typename std::enable_if::type> +# else + template > PipelineAllocator> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue, PipelineAllocator>> Device::createDataGraphPipelinesARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -30706,7 +39826,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif std::vector pipelines( createInfos.size() ); - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), createInfos.size(), @@ -30732,7 +39852,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::createDataGraphPipelineARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -30746,7 +39871,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Pipeline pipeline; - Result result = static_cast( d.vkCreateDataGraphPipelinesARM( m_device, + Result result = static_cast( d.vkCreateDataGraphPipelinesARM( static_cast( m_device ), static_cast( deferredOperation ), static_cast( pipelineCache ), 1, @@ -30764,7 +39889,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, DataGraphPipelineSessionARM * pSession, @@ -30780,7 +39910,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -30791,7 +39926,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataGraphPipelineSessionARM session; Result result = - static_cast( d.vkCreateDataGraphPipelineSessionARM( m_device, + static_cast( d.vkCreateDataGraphPipelineSessionARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &session ) ) ); @@ -30803,7 +39938,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createDataGraphPipelineSessionARMUnique( DataGraphPipelineSessionCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const @@ -30815,7 +39955,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE DataGraphPipelineSessionARM session; Result result = - static_cast( d.vkCreateDataGraphPipelineSessionARM( m_device, + static_cast( d.vkCreateDataGraphPipelineSessionARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &session ) ) ); @@ -30829,7 +39969,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDataGraphPipelineSessionBindPointRequirementsARM( DataGraphPipelineSessionBindPointRequirementsInfoARM const * pInfo, uint32_t * pBindPointRequirementCount, @@ -30847,12 +39992,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphPipelineSessionBindPointRequirementARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getDataGraphPipelineSessionBindPointRequirementsARM( DataGraphPipelineSessionBindPointRequirementsInfoARM const & info, Dispatch const & d ) const @@ -30868,13 +40018,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( - m_device, reinterpret_cast( &info ), &bindPointRequirementCount, nullptr ) ); + result = static_cast( + d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + &bindPointRequirementCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && bindPointRequirementCount ) { bindPointRequirements.resize( bindPointRequirementCount ); result = static_cast( d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( - m_device, + static_cast( m_device ), reinterpret_cast( &info ), &bindPointRequirementCount, reinterpret_cast( bindPointRequirements.data() ) ) ); @@ -30891,12 +40044,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphPipelineSessionBindPointRequirementARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getDataGraphPipelineSessionBindPointRequirementsARM( @@ -30916,13 +40074,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( - m_device, reinterpret_cast( &info ), &bindPointRequirementCount, nullptr ) ); + result = static_cast( + d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( static_cast( m_device ), + reinterpret_cast( &info ), + &bindPointRequirementCount, + nullptr ) ); if ( ( result == Result::eSuccess ) && bindPointRequirementCount ) { bindPointRequirements.resize( bindPointRequirementCount ); result = static_cast( d.vkGetDataGraphPipelineSessionBindPointRequirementsARM( - m_device, + static_cast( m_device ), reinterpret_cast( &info ), &bindPointRequirementCount, reinterpret_cast( bindPointRequirements.data() ) ) ); @@ -30940,7 +40101,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +#endif VULKAN_HPP_INLINE void Device::getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30953,7 +40119,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30964,7 +40135,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetDataGraphPipelineSessionMemoryRequirementsARM( m_device, + d.vkGetDataGraphPipelineSessionMemoryRequirementsARM( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -30973,11 +40144,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -30989,7 +40165,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetDataGraphPipelineSessionMemoryRequirementsARM( m_device, + d.vkGetDataGraphPipelineSessionMemoryRequirementsARM( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -30999,7 +40175,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkBindDataGraphPipelineSessionMemoryARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::bindDataGraphPipelineSessionMemoryARM( uint32_t bindInfoCount, BindDataGraphPipelineSessionMemoryInfoARM const * pBindInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31011,7 +40192,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkBindDataGraphPipelineSessionMemoryARM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS VULKAN_HPP_INLINE typename ResultValueType::type Device::bindDataGraphPipelineSessionMemoryARM( ArrayProxy const & bindInfos, Dispatch const & d ) const { @@ -31021,7 +40207,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif Result result = static_cast( d.vkBindDataGraphPipelineSessionMemoryARM( - m_device, bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); + static_cast( m_device ), bindInfos.size(), reinterpret_cast( bindInfos.data() ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::bindDataGraphPipelineSessionMemoryARM" ); return detail::createResultValueType( result ); @@ -31030,7 +40216,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroyDataGraphPipelineSessionARM( DataGraphPipelineSessionARM session, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31042,7 +40233,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroyDataGraphPipelineSessionARM( DataGraphPipelineSessionARM session, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31051,14 +40247,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDataGraphPipelineSessionARM && "Function requires " ); # endif - d.vkDestroyDataGraphPipelineSessionARM( - m_device, static_cast( session ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDataGraphPipelineSessionARM( static_cast( m_device ), + static_cast( session ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( DataGraphPipelineSessionARM session, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31070,7 +40272,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( DataGraphPipelineSessionARM session, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31079,13 +40286,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyDataGraphPipelineSessionARM && "Function requires " ); # endif - d.vkDestroyDataGraphPipelineSessionARM( - m_device, static_cast( session ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyDataGraphPipelineSessionARM( static_cast( m_device ), + static_cast( session ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchDataGraphARM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::dispatchDataGraphARM( DataGraphPipelineSessionARM session, DataGraphPipelineDispatchInfoARM const * pInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31097,7 +40310,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchDataGraphARM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::dispatchDataGraphARM( DataGraphPipelineSessionARM session, Optional info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31106,14 +40324,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDispatchDataGraphARM && "Function requires " ); # endif - d.vkCmdDispatchDataGraphARM( - m_commandBuffer, static_cast( session ), reinterpret_cast( info.get() ) ); + d.vkCmdDispatchDataGraphARM( static_cast( m_commandBuffer ), + static_cast( session ), + reinterpret_cast( info.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const * pPipelineInfo, uint32_t * pPropertiesCount, DataGraphPipelinePropertyARM * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -31128,10 +40352,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphPipelinePropertyARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const & pipelineInfo, Dispatch const & d ) const { @@ -31147,12 +40376,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( - m_device, reinterpret_cast( &pipelineInfo ), &propertiesCount, nullptr ) ); + static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &propertiesCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertiesCount ) { properties.resize( propertiesCount ); result = - static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( m_device, + static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &propertiesCount, reinterpret_cast( properties.data() ) ) ); @@ -31169,10 +40398,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphPipelinePropertyARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const & pipelineInfo, DataGraphPipelinePropertyARMAllocator const & dataGraphPipelinePropertyARMAllocator, Dispatch const & d ) @@ -31190,12 +40424,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( - m_device, reinterpret_cast( &pipelineInfo ), &propertiesCount, nullptr ) ); + static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &propertiesCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertiesCount ) { properties.resize( propertiesCount ); result = - static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( m_device, + static_cast( d.vkGetDataGraphPipelineAvailablePropertiesARM( static_cast( m_device ), reinterpret_cast( &pipelineInfo ), &propertiesCount, reinterpret_cast( properties.data() ) ) ); @@ -31213,7 +40447,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelinePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelinePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelinePropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getDataGraphPipelinePropertiesARM( DataGraphPipelineInfoARM const * pPipelineInfo, uint32_t propertiesCount, DataGraphPipelinePropertyQueryResultARM * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -31227,7 +40466,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex, uint32_t * pQueueFamilyDataGraphPropertyCount, @@ -31245,11 +40489,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename QueueFamilyDataGraphPropertiesARMAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyDataGraphPropertiesARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex, Dispatch const & d ) const @@ -31265,13 +40514,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( m_physicalDevice, queueFamilyIndex, &queueFamilyDataGraphPropertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( + static_cast( m_physicalDevice ), queueFamilyIndex, &queueFamilyDataGraphPropertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && queueFamilyDataGraphPropertyCount ) { queueFamilyDataGraphProperties.resize( queueFamilyDataGraphPropertyCount ); result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &queueFamilyDataGraphPropertyCount, reinterpret_cast( queueFamilyDataGraphProperties.data() ) ) ); @@ -31288,11 +40537,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename QueueFamilyDataGraphPropertiesARMAllocator, typename Dispatch, typename std::enable_if::value, int>::type, typename std::enable_if::type> +# else + template QueueFamilyDataGraphPropertiesARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getQueueFamilyDataGraphPropertiesARM( @@ -31310,13 +40564,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( m_physicalDevice, queueFamilyIndex, &queueFamilyDataGraphPropertyCount, nullptr ) ); + result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( + static_cast( m_physicalDevice ), queueFamilyIndex, &queueFamilyDataGraphPropertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && queueFamilyDataGraphPropertyCount ) { queueFamilyDataGraphProperties.resize( queueFamilyDataGraphPropertyCount ); result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &queueFamilyDataGraphPropertyCount, reinterpret_cast( queueFamilyDataGraphProperties.data() ) ) ); @@ -31334,7 +40588,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM ) ) +#endif VULKAN_HPP_INLINE void PhysicalDevice::getQueueFamilyDataGraphProcessingEnginePropertiesARM( PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM const * pQueueFamilyDataGraphProcessingEngineInfo, QueueFamilyDataGraphProcessingEnginePropertiesARM * pQueueFamilyDataGraphProcessingEngineProperties, @@ -31350,7 +40609,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE QueueFamilyDataGraphProcessingEnginePropertiesARM PhysicalDevice::getQueueFamilyDataGraphProcessingEnginePropertiesARM( PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM const & queueFamilyDataGraphProcessingEngineInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31362,7 +40626,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE QueueFamilyDataGraphProcessingEnginePropertiesARM queueFamilyDataGraphProcessingEngineProperties; d.vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( - m_physicalDevice, + static_cast( m_physicalDevice ), reinterpret_cast( &queueFamilyDataGraphProcessingEngineInfo ), reinterpret_cast( &queueFamilyDataGraphProcessingEngineProperties ) ); @@ -31374,7 +40638,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getQueueFamilyDataGraphEngineOperationPropertiesARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const * pQueueFamilyDataGraphProperties, BaseOutStructure * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -31390,7 +40659,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type PhysicalDevice::getQueueFamilyDataGraphEngineOperationPropertiesARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const & queueFamilyDataGraphProperties, Dispatch const & d ) const { @@ -31403,7 +40677,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE BaseOutStructure properties; Result result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, reinterpret_cast( &queueFamilyDataGraphProperties ), reinterpret_cast( &properties ) ) ); @@ -31417,7 +40691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetAttachmentFeedbackLoopEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetAttachmentFeedbackLoopEnableEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setAttachmentFeedbackLoopEnableEXT( ImageAspectFlags aspectMask, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -31429,7 +40708,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getScreenBufferPropertiesQNX( struct _screen_buffer const * buffer, ScreenBufferPropertiesQNX * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31441,7 +40725,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getScreenBufferPropertiesQNX( struct _screen_buffer const & buffer, Dispatch const & d ) const { @@ -31451,8 +40740,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ScreenBufferPropertiesQNX properties; - Result result = - static_cast( d.vkGetScreenBufferPropertiesQNX( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( + d.vkGetScreenBufferPropertiesQNX( static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getScreenBufferPropertiesQNX" ); return detail::createResultValueType( result, std::move( properties ) ); @@ -31460,7 +40749,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getScreenBufferPropertiesQNX( struct _screen_buffer const & buffer, Dispatch const & d ) const { @@ -31471,8 +40765,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; ScreenBufferPropertiesQNX & properties = structureChain.template get(); - Result result = - static_cast( d.vkGetScreenBufferPropertiesQNX( m_device, &buffer, reinterpret_cast( &properties ) ) ); + Result result = static_cast( + d.vkGetScreenBufferPropertiesQNX( static_cast( m_device ), &buffer, reinterpret_cast( &properties ) ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getScreenBufferPropertiesQNX" ); return detail::createResultValueType( result, std::move( structureChain ) ); @@ -31483,7 +40777,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_line_rasterization === // wrapper function for command vkCmdSetLineStippleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setLineStippleKHR( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31495,7 +40794,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCalibrateableTimeDomainsKHR( uint32_t * pTimeDomainCount, TimeDomainKHR * pTimeDomains, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31507,10 +40811,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TimeDomainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsKHR( Dispatch const & d ) const { @@ -31525,12 +40834,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( m_physicalDevice, &timeDomainCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( static_cast( m_physicalDevice ), &timeDomainCount, nullptr ) ); if ( ( result == Result::eSuccess ) && timeDomainCount ) { timeDomains.resize( timeDomainCount ); - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( + static_cast( m_physicalDevice ), &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsKHR" ); @@ -31544,10 +40854,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template TimeDomainKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCalibrateableTimeDomainsKHR( TimeDomainKHRAllocator const & timeDomainKHRAllocator, Dispatch const & d ) const { @@ -31562,12 +40877,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( m_physicalDevice, &timeDomainCount, nullptr ) ); + result = + static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( static_cast( m_physicalDevice ), &timeDomainCount, nullptr ) ); if ( ( result == Result::eSuccess ) && timeDomainCount ) { timeDomains.resize( timeDomainCount ); - result = static_cast( - d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( m_physicalDevice, &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); + result = static_cast( d.vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( + static_cast( m_physicalDevice ), &timeDomainCount, reinterpret_cast( timeDomains.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsKHR" ); @@ -31581,7 +40897,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetCalibratedTimestampsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getCalibratedTimestampsKHR( uint32_t timestampCount, CalibratedTimestampInfoKHR const * pTimestampInfos, uint64_t * pTimestamps, uint64_t * pMaxDeviation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -31596,10 +40917,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCalibratedTimestampsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint64_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsKHR( ArrayProxy const & timestampInfos, Dispatch const & d ) const { @@ -31613,18 +40939,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); std::vector & timestamps = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( d.vkGetCalibratedTimestampsKHR( - m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsKHR( static_cast( m_device ), + timestampInfos.size(), + reinterpret_cast( timestampInfos.data() ), + timestamps.data(), + &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsKHR" ); return detail::createResultValueType( result, std::move( data_ ) ); } // wrapper function for command vkGetCalibratedTimestampsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template Uint64_tAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, uint64_t>>::type Device::getCalibratedTimestampsKHR( ArrayProxy const & timestampInfos, Uint64_tAllocator const & uint64_tAllocator, Dispatch const & d ) const @@ -31639,15 +40973,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::piecewise_construct, std::forward_as_tuple( timestampInfos.size(), uint64_tAllocator ), std::forward_as_tuple( 0 ) ); std::vector & timestamps = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( d.vkGetCalibratedTimestampsKHR( - m_device, timestampInfos.size(), reinterpret_cast( timestampInfos.data() ), timestamps.data(), &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsKHR( static_cast( m_device ), + timestampInfos.size(), + reinterpret_cast( timestampInfos.data() ), + timestamps.data(), + &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampsKHR" ); return detail::createResultValueType( result, std::move( data_ ) ); } // wrapper function for command vkGetCalibratedTimestampsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::getCalibratedTimestampKHR( CalibratedTimestampInfoKHR const & timestampInfo, Dispatch const & d ) const { @@ -31660,8 +41002,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::pair data_; uint64_t & timestamp = data_.first; uint64_t & maxDeviation = data_.second; - Result result = static_cast( - d.vkGetCalibratedTimestampsKHR( m_device, 1, reinterpret_cast( ×tampInfo ), ×tamp, &maxDeviation ) ); + Result result = static_cast( d.vkGetCalibratedTimestampsKHR( + static_cast( m_device ), 1, reinterpret_cast( ×tampInfo ), ×tamp, &maxDeviation ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getCalibratedTimestampKHR" ); return detail::createResultValueType( result, std::move( data_ ) ); @@ -31671,7 +41013,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance6 === // wrapper function for command vkCmdBindDescriptorSets2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2KHR( BindDescriptorSetsInfo const * pBindDescriptorSetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31682,7 +41029,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2KHR( BindDescriptorSetsInfo const & bindDescriptorSetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31691,12 +41043,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindDescriptorSets2KHR && "Function requires or " ); # endif - d.vkCmdBindDescriptorSets2KHR( m_commandBuffer, reinterpret_cast( &bindDescriptorSetsInfo ) ); + d.vkCmdBindDescriptorSets2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( &bindDescriptorSetsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants2KHR( PushConstantsInfo const * pPushConstantsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -31705,7 +41063,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushConstants2KHR( PushConstantsInfo const & pushConstantsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -31713,12 +41076,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushConstants2KHR && "Function requires or " ); # endif - d.vkCmdPushConstants2KHR( m_commandBuffer, reinterpret_cast( &pushConstantsInfo ) ); + d.vkCmdPushConstants2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &pushConstantsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2KHR( PushDescriptorSetInfo const * pPushDescriptorSetInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31729,7 +41097,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2KHR( PushDescriptorSetInfo const & pushDescriptorSetInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31738,13 +41111,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPushDescriptorSet2KHR && "Function requires or " ); # endif - d.vkCmdPushDescriptorSet2KHR( m_commandBuffer, reinterpret_cast( &pushDescriptorSetInfo ) ); + d.vkCmdPushDescriptorSet2KHR( static_cast( m_commandBuffer ), + reinterpret_cast( &pushDescriptorSetInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate2KHR( PushDescriptorSetWithTemplateInfo const * pPushDescriptorSetWithTemplateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31756,7 +41135,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate2KHR( PushDescriptorSetWithTemplateInfo const & pushDescriptorSetWithTemplateInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31766,14 +41150,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires or " ); # endif - d.vkCmdPushDescriptorSetWithTemplate2KHR( m_commandBuffer, + d.vkCmdPushDescriptorSetWithTemplate2KHR( static_cast( m_commandBuffer ), reinterpret_cast( &pushDescriptorSetWithTemplateInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsets2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setDescriptorBufferOffsets2EXT( SetDescriptorBufferOffsetsInfoEXT const * pSetDescriptorBufferOffsetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31785,7 +41174,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsets2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setDescriptorBufferOffsets2EXT( SetDescriptorBufferOffsetsInfoEXT const & setDescriptorBufferOffsetsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31794,13 +41188,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetDescriptorBufferOffsets2EXT && "Function requires " ); # endif - d.vkCmdSetDescriptorBufferOffsets2EXT( m_commandBuffer, reinterpret_cast( &setDescriptorBufferOffsetsInfo ) ); + d.vkCmdSetDescriptorBufferOffsets2EXT( static_cast( m_commandBuffer ), + reinterpret_cast( &setDescriptorBufferOffsetsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplers2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBufferEmbeddedSamplers2EXT( BindDescriptorBufferEmbeddedSamplersInfoEXT const * pBindDescriptorBufferEmbeddedSamplersInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31813,7 +41213,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplers2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBufferEmbeddedSamplers2EXT( BindDescriptorBufferEmbeddedSamplersInfoEXT const & bindDescriptorBufferEmbeddedSamplersInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31824,14 +41229,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif d.vkCmdBindDescriptorBufferEmbeddedSamplers2EXT( - m_commandBuffer, reinterpret_cast( &bindDescriptorBufferEmbeddedSamplersInfo ) ); + static_cast( m_commandBuffer ), + reinterpret_cast( &bindDescriptorBufferEmbeddedSamplersInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_QCOM_tile_memory_heap === // wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBindTileMemoryQCOM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::bindTileMemoryQCOM( TileMemoryBindInfoQCOM const * pTileMemoryBindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -31840,7 +41251,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBindTileMemoryQCOM ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::bindTileMemoryQCOM( Optional tileMemoryBindInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31849,14 +41265,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBindTileMemoryQCOM && "Function requires " ); # endif - d.vkCmdBindTileMemoryQCOM( m_commandBuffer, reinterpret_cast( tileMemoryBindInfo.get() ) ); + d.vkCmdBindTileMemoryQCOM( static_cast( m_commandBuffer ), + reinterpret_cast( tileMemoryBindInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_copy_memory_indirect === // wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryIndirectKHR( CopyMemoryIndirectInfoKHR const * pCopyMemoryIndirectInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31867,7 +41289,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryIndirectKHR( CopyMemoryIndirectInfoKHR const & copyMemoryIndirectInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31876,13 +41303,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryIndirectKHR && "Function requires " ); # endif - d.vkCmdCopyMemoryIndirectKHR( m_commandBuffer, reinterpret_cast( ©MemoryIndirectInfo ) ); + d.vkCmdCopyMemoryIndirectKHR( static_cast( m_commandBuffer ), + reinterpret_cast( ©MemoryIndirectInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectKHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageIndirectKHR( CopyMemoryToImageIndirectInfoKHR const * pCopyMemoryToImageIndirectInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31894,7 +41327,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectKHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToImageIndirectKHR( CopyMemoryToImageIndirectInfoKHR const & copyMemoryToImageIndirectInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31903,14 +41341,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdCopyMemoryToImageIndirectKHR && "Function requires " ); # endif - d.vkCmdCopyMemoryToImageIndirectKHR( m_commandBuffer, reinterpret_cast( ©MemoryToImageIndirectInfo ) ); + d.vkCmdCopyMemoryToImageIndirectKHR( static_cast( m_commandBuffer ), + reinterpret_cast( ©MemoryToImageIndirectInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_memory_decompression === // wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryEXT( DecompressMemoryInfoEXT const * pDecompressMemoryInfoEXT, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31921,7 +41365,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryEXT( DecompressMemoryInfoEXT const & decompressMemoryInfoEXT, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -31930,13 +41379,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdDecompressMemoryEXT && "Function requires " ); # endif - d.vkCmdDecompressMemoryEXT( m_commandBuffer, reinterpret_cast( &decompressMemoryInfoEXT ) ); + d.vkCmdDecompressMemoryEXT( static_cast( m_commandBuffer ), + reinterpret_cast( &decompressMemoryInfoEXT ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDecompressMemoryIndirectCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryIndirectCountEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryIndirectCountEXT( MemoryDecompressionMethodFlagsEXT decompressionMethod, DeviceAddress indirectCommandsAddress, DeviceAddress indirectCommandsCountAddress, @@ -31957,7 +41412,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, ExternalComputeQueueNV * pExternalQueue, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -31972,7 +41432,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -31982,7 +41447,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalComputeQueueNV externalQueue; - Result result = static_cast( d.vkCreateExternalComputeQueueNV( m_device, + Result result = static_cast( d.vkCreateExternalComputeQueueNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &externalQueue ) ) ); @@ -31994,7 +41459,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createExternalComputeQueueNVUnique( ExternalComputeQueueCreateInfoNV const & createInfo, Optional allocator, Dispatch const & d ) const @@ -32005,7 +41475,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ExternalComputeQueueNV externalQueue; - Result result = static_cast( d.vkCreateExternalComputeQueueNV( m_device, + Result result = static_cast( d.vkCreateExternalComputeQueueNV( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &externalQueue ) ) ); @@ -32019,7 +41489,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroyExternalComputeQueueNV( ExternalComputeQueueNV externalQueue, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32032,7 +41507,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroyExternalComputeQueueNV( ExternalComputeQueueNV externalQueue, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32041,14 +41521,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyExternalComputeQueueNV && "Function requires " ); # endif - d.vkDestroyExternalComputeQueueNV( - m_device, static_cast( externalQueue ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyExternalComputeQueueNV( static_cast( m_device ), + static_cast( externalQueue ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ExternalComputeQueueNV externalQueue, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32061,7 +41547,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ExternalComputeQueueNV externalQueue, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32070,14 +41561,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyExternalComputeQueueNV && "Function requires " ); # endif - d.vkDestroyExternalComputeQueueNV( - m_device, static_cast( externalQueue ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyExternalComputeQueueNV( static_cast( m_device ), + static_cast( externalQueue ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetExternalComputeQueueDataNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetExternalComputeQueueDataNV ) ) +#endif VULKAN_HPP_INLINE void ExternalComputeQueueNV::getData( ExternalComputeQueueDataParamsNV * params, void * pData, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32089,7 +41586,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExternalComputeQueueDataNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetExternalComputeQueueDataNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair ExternalComputeQueueNV::getData( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32101,7 +41603,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::pair data_; ExternalComputeQueueDataParamsNV & arams = data_.first; DataType & data = data_.second; - d.vkGetExternalComputeQueueDataNV( m_externalComputeQueueNV, reinterpret_cast( &arams ), &data ); + d.vkGetExternalComputeQueueDataNV( + static_cast( m_externalComputeQueueNV ), reinterpret_cast( &arams ), &data ); return data_; } @@ -32111,7 +41614,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetClusterAccelerationStructureBuildSizesNV ) ) +#endif VULKAN_HPP_INLINE void Device::getClusterAccelerationStructureBuildSizesNV( ClusterAccelerationStructureInputInfoNV const * pInfo, AccelerationStructureBuildSizesInfoKHR * pSizeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32124,7 +41632,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetClusterAccelerationStructureBuildSizesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR Device::getClusterAccelerationStructureBuildSizesNV( ClusterAccelerationStructureInputInfoNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32135,7 +41648,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureBuildSizesInfoKHR sizeInfo; - d.vkGetClusterAccelerationStructureBuildSizesNV( m_device, + d.vkGetClusterAccelerationStructureBuildSizesNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &sizeInfo ) ); @@ -32145,7 +41658,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildClusterAccelerationStructureIndirectNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildClusterAccelerationStructureIndirectNV( ClusterAccelerationStructureCommandsInfoNV const * pCommandInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32157,7 +41675,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildClusterAccelerationStructureIndirectNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildClusterAccelerationStructureIndirectNV( ClusterAccelerationStructureCommandsInfoNV const & commandInfos, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32167,7 +41690,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdBuildClusterAccelerationStructureIndirectNV( m_commandBuffer, + d.vkCmdBuildClusterAccelerationStructureIndirectNV( static_cast( m_commandBuffer ), reinterpret_cast( &commandInfos ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -32176,7 +41699,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPartitionedAccelerationStructuresBuildSizesNV ) ) +#endif VULKAN_HPP_INLINE void Device::getPartitionedAccelerationStructuresBuildSizesNV( PartitionedAccelerationStructureInstancesInputNV const * pInfo, AccelerationStructureBuildSizesInfoKHR * pSizeInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -32190,7 +41718,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPartitionedAccelerationStructuresBuildSizesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR Device::getPartitionedAccelerationStructuresBuildSizesNV( PartitionedAccelerationStructureInstancesInputNV const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32201,7 +41734,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif AccelerationStructureBuildSizesInfoKHR sizeInfo; - d.vkGetPartitionedAccelerationStructuresBuildSizesNV( m_device, + d.vkGetPartitionedAccelerationStructuresBuildSizesNV( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &sizeInfo ) ); @@ -32211,7 +41744,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBuildPartitionedAccelerationStructuresNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::buildPartitionedAccelerationStructuresNV( BuildPartitionedAccelerationStructureInfoNV const * pBuildInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32223,7 +41761,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBuildPartitionedAccelerationStructuresNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::buildPartitionedAccelerationStructuresNV( BuildPartitionedAccelerationStructureInfoNV const & buildInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32233,7 +41776,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkCmdBuildPartitionedAccelerationStructuresNV( m_commandBuffer, reinterpret_cast( &buildInfo ) ); + d.vkCmdBuildPartitionedAccelerationStructuresNV( static_cast( m_commandBuffer ), + reinterpret_cast( &buildInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -32241,7 +41785,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +#endif VULKAN_HPP_INLINE void Device::getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32254,7 +41803,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 Device::getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32265,7 +41819,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif MemoryRequirements2 memoryRequirements; - d.vkGetGeneratedCommandsMemoryRequirementsEXT( m_device, + d.vkGetGeneratedCommandsMemoryRequirementsEXT( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -32274,11 +41828,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain Device::getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const & info, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32290,7 +41849,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE StructureChain structureChain; MemoryRequirements2 & memoryRequirements = structureChain.template get(); - d.vkGetGeneratedCommandsMemoryRequirementsEXT( m_device, + d.vkGetGeneratedCommandsMemoryRequirementsEXT( static_cast( m_device ), reinterpret_cast( &info ), reinterpret_cast( &memoryRequirements ) ); @@ -32300,7 +41859,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsEXT( GeneratedCommandsInfoEXT const * pGeneratedCommandsInfo, CommandBuffer stateCommandBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32313,7 +41877,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsEXT( GeneratedCommandsInfoEXT const & generatedCommandsInfo, CommandBuffer stateCommandBuffer, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32322,14 +41891,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdPreprocessGeneratedCommandsEXT && "Function requires " ); # endif - d.vkCmdPreprocessGeneratedCommandsEXT( - m_commandBuffer, reinterpret_cast( &generatedCommandsInfo ), static_cast( stateCommandBuffer ) ); + d.vkCmdPreprocessGeneratedCommandsEXT( static_cast( m_commandBuffer ), + reinterpret_cast( &generatedCommandsInfo ), + static_cast( stateCommandBuffer ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsEXT( Bool32 isPreprocessed, GeneratedCommandsInfoEXT const * pGeneratedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32342,7 +41917,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsEXT( Bool32 isPreprocessed, GeneratedCommandsInfoEXT const & generatedCommandsInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32351,14 +41931,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdExecuteGeneratedCommandsEXT && "Function requires " ); # endif - d.vkCmdExecuteGeneratedCommandsEXT( - m_commandBuffer, static_cast( isPreprocessed ), reinterpret_cast( &generatedCommandsInfo ) ); + d.vkCmdExecuteGeneratedCommandsEXT( static_cast( m_commandBuffer ), + static_cast( isPreprocessed ), + reinterpret_cast( &generatedCommandsInfo ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectCommandsLayoutEXT * pIndirectCommandsLayout, @@ -32374,7 +41960,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -32384,7 +41975,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectCommandsLayoutEXT indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutEXT( m_device, + Result result = static_cast( d.vkCreateIndirectCommandsLayoutEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectCommandsLayout ) ) ); @@ -32396,7 +41987,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createIndirectCommandsLayoutEXTUnique( IndirectCommandsLayoutCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const @@ -32407,7 +42003,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectCommandsLayoutEXT indirectCommandsLayout; - Result result = static_cast( d.vkCreateIndirectCommandsLayoutEXT( m_device, + Result result = static_cast( d.vkCreateIndirectCommandsLayoutEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectCommandsLayout ) ) ); @@ -32421,7 +42017,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32434,7 +42035,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyIndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32443,14 +42049,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectCommandsLayoutEXT && "Function requires " ); # endif - d.vkDestroyIndirectCommandsLayoutEXT( - m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectCommandsLayoutEXT( static_cast( m_device ), + static_cast( indirectCommandsLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutEXT indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32463,7 +42075,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( IndirectCommandsLayoutEXT indirectCommandsLayout, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32472,14 +42089,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectCommandsLayoutEXT && "Function requires " ); # endif - d.vkDestroyIndirectCommandsLayoutEXT( - m_device, static_cast( indirectCommandsLayout ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectCommandsLayoutEXT( static_cast( m_device ), + static_cast( indirectCommandsLayout ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectExecutionSetEXT * pIndirectExecutionSet, @@ -32495,7 +42118,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -32505,7 +42133,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectExecutionSetEXT indirectExecutionSet; - Result result = static_cast( d.vkCreateIndirectExecutionSetEXT( m_device, + Result result = static_cast( d.vkCreateIndirectExecutionSetEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectExecutionSet ) ) ); @@ -32517,7 +42145,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createIndirectExecutionSetEXTUnique( IndirectExecutionSetCreateInfoEXT const & createInfo, Optional allocator, Dispatch const & d ) const @@ -32528,7 +42161,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif IndirectExecutionSetEXT indirectExecutionSet; - Result result = static_cast( d.vkCreateIndirectExecutionSetEXT( m_device, + Result result = static_cast( d.vkCreateIndirectExecutionSetEXT( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &indirectExecutionSet ) ) ); @@ -32542,7 +42175,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroyIndirectExecutionSetEXT( IndirectExecutionSetEXT indirectExecutionSet, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32555,7 +42193,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroyIndirectExecutionSetEXT( IndirectExecutionSetEXT indirectExecutionSet, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32564,14 +42207,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectExecutionSetEXT && "Function requires " ); # endif - d.vkDestroyIndirectExecutionSetEXT( - m_device, static_cast( indirectExecutionSet ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectExecutionSetEXT( static_cast( m_device ), + static_cast( indirectExecutionSet ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( IndirectExecutionSetEXT indirectExecutionSet, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32584,7 +42233,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( IndirectExecutionSetEXT indirectExecutionSet, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32593,14 +42247,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyIndirectExecutionSetEXT && "Function requires " ); # endif - d.vkDestroyIndirectExecutionSetEXT( - m_device, static_cast( indirectExecutionSet ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyIndirectExecutionSetEXT( static_cast( m_device ), + static_cast( indirectExecutionSet ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetPipelineEXT ) ) +#endif VULKAN_HPP_INLINE void Device::updateIndirectExecutionSetPipelineEXT( IndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, WriteIndirectExecutionSetPipelineEXT const * pExecutionSetWrites, @@ -32616,7 +42276,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetPipelineEXT ) ) +# endif VULKAN_HPP_INLINE void Device::updateIndirectExecutionSetPipelineEXT( IndirectExecutionSetEXT indirectExecutionSet, ArrayProxy const & executionSetWrites, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -32627,7 +42292,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkUpdateIndirectExecutionSetPipelineEXT( m_device, + d.vkUpdateIndirectExecutionSetPipelineEXT( static_cast( m_device ), static_cast( indirectExecutionSet ), executionSetWrites.size(), reinterpret_cast( executionSetWrites.data() ) ); @@ -32636,7 +42301,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetShaderEXT ) ) +#endif VULKAN_HPP_INLINE void Device::updateIndirectExecutionSetShaderEXT( IndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, WriteIndirectExecutionSetShaderEXT const * pExecutionSetWrites, @@ -32652,7 +42322,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetShaderEXT ) ) +# endif VULKAN_HPP_INLINE void Device::updateIndirectExecutionSetShaderEXT( IndirectExecutionSetEXT indirectExecutionSet, ArrayProxy const & executionSetWrites, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -32663,7 +42338,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE "Function requires " ); # endif - d.vkUpdateIndirectExecutionSetShaderEXT( m_device, + d.vkUpdateIndirectExecutionSetShaderEXT( static_cast( m_device ), static_cast( indirectExecutionSet ), executionSetWrites.size(), reinterpret_cast( executionSetWrites.data() ) ); @@ -32673,7 +42348,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_device_fault === // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFaultReportsKHR( uint64_t timeout, uint32_t * pFaultCounts, DeviceFaultInfoKHR * pFaultInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32684,10 +42364,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DeviceFaultInfoKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::getFaultReportsKHR( uint64_t timeout, Dispatch const & d ) const { @@ -32701,12 +42386,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDeviceFaultReportsKHR( m_device, timeout, &faultCounts, nullptr ) ); + result = static_cast( d.vkGetDeviceFaultReportsKHR( static_cast( m_device ), timeout, &faultCounts, nullptr ) ); if ( ( result == Result::eSuccess ) && faultCounts ) { faultInfo.resize( faultCounts ); - result = - static_cast( d.vkGetDeviceFaultReportsKHR( m_device, timeout, &faultCounts, reinterpret_cast( faultInfo.data() ) ) ); + result = static_cast( d.vkGetDeviceFaultReportsKHR( + static_cast( m_device ), timeout, &faultCounts, reinterpret_cast( faultInfo.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFaultReportsKHR", { Result::eSuccess, Result::eIncomplete, Result::eTimeout } ); @@ -32719,10 +42404,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DeviceFaultInfoKHRAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue> Device::getFaultReportsKHR( uint64_t timeout, DeviceFaultInfoKHRAllocator const & deviceFaultInfoKHRAllocator, Dispatch const & d ) const { @@ -32736,12 +42426,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetDeviceFaultReportsKHR( m_device, timeout, &faultCounts, nullptr ) ); + result = static_cast( d.vkGetDeviceFaultReportsKHR( static_cast( m_device ), timeout, &faultCounts, nullptr ) ); if ( ( result == Result::eSuccess ) && faultCounts ) { faultInfo.resize( faultCounts ); - result = - static_cast( d.vkGetDeviceFaultReportsKHR( m_device, timeout, &faultCounts, reinterpret_cast( faultInfo.data() ) ) ); + result = static_cast( d.vkGetDeviceFaultReportsKHR( + static_cast( m_device ), timeout, &faultCounts, reinterpret_cast( faultInfo.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getFaultReportsKHR", { Result::eSuccess, Result::eIncomplete, Result::eTimeout } ); @@ -32755,7 +42445,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceFaultDebugInfoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultDebugInfoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultDebugInfoKHR ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFaultDebugInfoKHR( DeviceFaultDebugInfoKHR * pDebugInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32768,7 +42463,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_OHOS_surface === // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createSurfaceOHOS( SurfaceCreateInfoOHOS const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32781,7 +42481,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createSurfaceOHOS( SurfaceCreateInfoOHOS const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -32791,7 +42496,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateSurfaceOHOS( m_instance, + Result result = static_cast( d.vkCreateSurfaceOHOS( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -32802,7 +42507,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createSurfaceOHOSUnique( SurfaceCreateInfoOHOS const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -32812,7 +42522,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateSurfaceOHOS( m_instance, + Result result = static_cast( d.vkCreateSurfaceOHOS( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -32829,7 +42539,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV( uint32_t * pPropertyCount, CooperativeMatrixFlexibleDimensionsPropertiesNV * pProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32843,12 +42558,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixFlexibleDimensionsPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV( Dispatch const & d ) const @@ -32864,12 +42584,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV" ); @@ -32883,12 +42606,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template CooperativeMatrixFlexibleDimensionsPropertiesNVAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV( @@ -32906,12 +42634,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( m_physicalDevice, &propertyCount, nullptr ) ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( static_cast( m_physicalDevice ), &propertyCount, nullptr ) ); if ( ( result == Result::eSuccess ) && propertyCount ) { properties.resize( propertyCount ); result = static_cast( d.vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( - m_physicalDevice, &propertyCount, reinterpret_cast( properties.data() ) ) ); + static_cast( m_physicalDevice ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV" ); @@ -32928,7 +42659,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_external_memory_metal === // wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandleEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryMetalHandleEXT( MemoryGetMetalHandleInfoEXT const * pGetMetalHandleInfo, void ** pHandle, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -32939,7 +42675,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandleEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryMetalHandleEXT( MemoryGetMetalHandleInfoEXT const & getMetalHandleInfo, Dispatch const & d ) const { @@ -32949,8 +42690,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif void * handle; - Result result = - static_cast( d.vkGetMemoryMetalHandleEXT( m_device, reinterpret_cast( &getMetalHandleInfo ), &handle ) ); + Result result = static_cast( d.vkGetMemoryMetalHandleEXT( + static_cast( m_device ), reinterpret_cast( &getMetalHandleInfo ), &handle ) ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::Device::getMemoryMetalHandleEXT" ); return detail::createResultValueType( result, std::move( handle ) ); @@ -32959,7 +42700,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandlePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHandle, MemoryMetalHandlePropertiesEXT * pMemoryMetalHandleProperties, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT @@ -32974,7 +42720,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandlePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, HandleType const & handle, Dispatch const & d ) const { @@ -32985,7 +42736,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE MemoryMetalHandlePropertiesEXT memoryMetalHandleProperties; Result result = - static_cast( d.vkGetMemoryMetalHandlePropertiesEXT( m_device, + static_cast( d.vkGetMemoryMetalHandlePropertiesEXT( static_cast( m_device ), static_cast( handleType ), reinterpret_cast( &handle ), reinterpret_cast( &memoryMetalHandleProperties ) ) ); @@ -33000,7 +42751,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex, uint32_t * pCounterCount, @@ -33020,6 +42776,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PerformanceCounterARMAllocator, + IsAllocator PerformanceCounterDescriptionARMAllocator, + typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type @@ -33047,14 +42810,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); if ( ( result == Result::eSuccess ) && counterCount ) { counters.resize( counterCount ); counterDescriptions.resize( counterCount ); result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), @@ -33073,6 +42836,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template PerformanceCounterARMAllocator, + IsAllocator PerformanceCounterDescriptionARMAllocator, + typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType, std::vector>>::type @@ -33105,14 +42875,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( - d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( m_physicalDevice, queueFamilyIndex, &counterCount, nullptr, nullptr ) ); + result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); if ( ( result == Result::eSuccess ) && counterCount ) { counters.resize( counterCount ); counterDescriptions.resize( counterCount ); result = static_cast( d.vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, &counterCount, reinterpret_cast( counters.data() ), @@ -33134,7 +42904,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::enumerateShaderInstrumentationMetricsARM( uint32_t * pDescriptionCount, ShaderInstrumentationMetricDescriptionARM * pDescriptions, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33148,12 +42923,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ShaderInstrumentationMetricDescriptionARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateShaderInstrumentationMetricsARM( Dispatch const & d ) const @@ -33169,12 +42949,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( m_physicalDevice, &descriptionCount, nullptr ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( static_cast( m_physicalDevice ), &descriptionCount, nullptr ) ); if ( ( result == Result::eSuccess ) && descriptionCount ) { descriptions.resize( descriptionCount ); result = static_cast( d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( - m_physicalDevice, &descriptionCount, reinterpret_cast( descriptions.data() ) ) ); + static_cast( m_physicalDevice ), + &descriptionCount, + reinterpret_cast( descriptions.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateShaderInstrumentationMetricsARM" ); @@ -33188,12 +42971,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template ShaderInstrumentationMetricDescriptionARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::enumerateShaderInstrumentationMetricsARM( @@ -33211,12 +42999,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Result result; do { - result = static_cast( d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( m_physicalDevice, &descriptionCount, nullptr ) ); + result = static_cast( + d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( static_cast( m_physicalDevice ), &descriptionCount, nullptr ) ); if ( ( result == Result::eSuccess ) && descriptionCount ) { descriptions.resize( descriptionCount ); result = static_cast( d.vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM( - m_physicalDevice, &descriptionCount, reinterpret_cast( descriptions.data() ) ) ); + static_cast( m_physicalDevice ), + &descriptionCount, + reinterpret_cast( descriptions.data() ) ) ); } } while ( result == Result::eIncomplete ); detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::enumerateShaderInstrumentationMetricsARM" ); @@ -33231,7 +43022,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::createShaderInstrumentationARM( ShaderInstrumentationCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, ShaderInstrumentationARM * pInstrumentation, @@ -33247,7 +43043,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Device::createShaderInstrumentationARM( ShaderInstrumentationCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -33257,7 +43058,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderInstrumentationARM instrumentation; - Result result = static_cast( d.vkCreateShaderInstrumentationARM( m_device, + Result result = static_cast( d.vkCreateShaderInstrumentationARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &instrumentation ) ) ); @@ -33269,7 +43070,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Device::createShaderInstrumentationARMUnique( ShaderInstrumentationCreateInfoARM const & createInfo, Optional allocator, Dispatch const & d ) const @@ -33280,7 +43086,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif ShaderInstrumentationARM instrumentation; - Result result = static_cast( d.vkCreateShaderInstrumentationARM( m_device, + Result result = static_cast( d.vkCreateShaderInstrumentationARM( static_cast( m_device ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &instrumentation ) ) ); @@ -33294,7 +43100,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroyShaderInstrumentationARM( ShaderInstrumentationARM instrumentation, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33307,7 +43118,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroyShaderInstrumentationARM( ShaderInstrumentationARM instrumentation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33316,14 +43132,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderInstrumentationARM && "Function requires " ); # endif - d.vkDestroyShaderInstrumentationARM( - m_device, static_cast( instrumentation ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderInstrumentationARM( static_cast( m_device ), + static_cast( instrumentation ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +#endif VULKAN_HPP_INLINE void Device::destroy( ShaderInstrumentationARM instrumentation, AllocationCallbacks const * pAllocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33336,7 +43158,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +# endif VULKAN_HPP_INLINE void Device::destroy( ShaderInstrumentationARM instrumentation, Optional allocator, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33345,14 +43172,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkDestroyShaderInstrumentationARM && "Function requires " ); # endif - d.vkDestroyShaderInstrumentationARM( - m_device, static_cast( instrumentation ), reinterpret_cast( allocator.get() ) ); + d.vkDestroyShaderInstrumentationARM( static_cast( m_device ), + static_cast( instrumentation ), + reinterpret_cast( allocator.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginShaderInstrumentationARM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginShaderInstrumentationARM( ShaderInstrumentationARM instrumentation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33361,7 +43194,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdEndShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndShaderInstrumentationARM ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endShaderInstrumentationARM( Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33370,7 +43208,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetShaderInstrumentationValuesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInstrumentationValuesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetShaderInstrumentationValuesARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getShaderInstrumentationValuesARM( ShaderInstrumentationARM instrumentation, uint32_t * pMetricBlockCount, void * pMetricValues, @@ -33387,7 +43230,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkClearShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkClearShaderInstrumentationMetricsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkClearShaderInstrumentationMetricsARM ) ) +#endif VULKAN_HPP_INLINE void Device::clearShaderInstrumentationMetricsARM( ShaderInstrumentationARM instrumentation, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33397,7 +43245,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_fragment_density_map_offset === // wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering2EXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRendering2EXT( RenderingEndInfoKHR const * pRenderingEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33406,7 +43259,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndRendering2EXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endRendering2EXT( Optional renderingEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33414,14 +43272,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndRendering2EXT && "Function requires or " ); # endif - d.vkCmdEndRendering2EXT( m_commandBuffer, reinterpret_cast( renderingEndInfo.get() ) ); + d.vkCmdEndRendering2EXT( static_cast( m_commandBuffer ), reinterpret_cast( renderingEndInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_custom_resolve === // wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdBeginCustomResolveEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::beginCustomResolveEXT( BeginCustomResolveInfoEXT const * pBeginCustomResolveInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33432,7 +43295,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdBeginCustomResolveEXT ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::beginCustomResolveEXT( Optional beginCustomResolveInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33441,14 +43309,20 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdBeginCustomResolveEXT && "Function requires " ); # endif - d.vkCmdBeginCustomResolveEXT( m_commandBuffer, reinterpret_cast( beginCustomResolveInfo.get() ) ); + d.vkCmdBeginCustomResolveEXT( static_cast( m_commandBuffer ), + reinterpret_cast( beginCustomResolveInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_maintenance10 === // wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering2KHR ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::endRendering2KHR( RenderingEndInfoKHR const * pRenderingEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33457,7 +43331,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdEndRendering2KHR ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::endRendering2KHR( Optional renderingEndInfo, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); @@ -33465,7 +43344,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdEndRendering2KHR && "Function requires or " ); # endif - d.vkCmdEndRendering2KHR( m_commandBuffer, reinterpret_cast( renderingEndInfo.get() ) ); + d.vkCmdEndRendering2KHR( static_cast( m_commandBuffer ), reinterpret_cast( renderingEndInfo.get() ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -33473,7 +43352,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +#endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getQueueFamilyDataGraphOpticalFlowImageFormatsARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const * pQueueFamilyDataGraphProperties, @@ -33495,12 +43379,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphOpticalFlowImageFormatPropertiesARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getQueueFamilyDataGraphOpticalFlowImageFormatsARM( uint32_t queueFamilyIndex, @@ -33520,7 +43409,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, reinterpret_cast( &queueFamilyDataGraphProperties ), reinterpret_cast( &opticalFlowImageFormatInfo ), @@ -33530,7 +43419,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { imageFormatProperties.resize( formatCount ); result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, reinterpret_cast( &queueFamilyDataGraphProperties ), reinterpret_cast( &opticalFlowImageFormatInfo ), @@ -33549,12 +43438,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type, typename std::enable_if::type> +# else + template DataGraphOpticalFlowImageFormatPropertiesARMAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type PhysicalDevice::getQueueFamilyDataGraphOpticalFlowImageFormatsARM( @@ -33577,7 +43471,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE do { result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, reinterpret_cast( &queueFamilyDataGraphProperties ), reinterpret_cast( &opticalFlowImageFormatInfo ), @@ -33587,7 +43481,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { imageFormatProperties.resize( formatCount ); result = static_cast( d.vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( - m_physicalDevice, + static_cast( m_physicalDevice ), queueFamilyIndex, reinterpret_cast( &queueFamilyDataGraphProperties ), reinterpret_cast( &opticalFlowImageFormatInfo ), @@ -33609,7 +43503,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetComputeOccupancyPriorityNV ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setComputeOccupancyPriorityNV( ComputeOccupancyPriorityParametersNV const * pParameters, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33621,7 +43520,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCmdSetComputeOccupancyPriorityNV ) ) +# endif VULKAN_HPP_INLINE void CommandBuffer::setComputeOccupancyPriorityNV( ComputeOccupancyPriorityParametersNV const & parameters, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33630,7 +43534,136 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE VULKAN_HPP_ASSERT( d.vkCmdSetComputeOccupancyPriorityNV && "Function requires " ); # endif - d.vkCmdSetComputeOccupancyPriorityNV( m_commandBuffer, reinterpret_cast( ¶meters ) ); + d.vkCmdSetComputeOccupancyPriorityNV( static_cast( m_commandBuffer ), + reinterpret_cast( ¶meters ) ); + } +#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ + + //=== VK_EXT_cooperative_matrix_maintenance1 === + + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 + template ::type> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +#endif + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getCooperativeMatrixProperties2EXT( + PhysicalDeviceCooperativeMatrixInfo2EXT const * pCooperativeMatrixInfo, + uint32_t * pPropertyCount, + CooperativeMatrixProperties2EXT * pProperties, + Dispatch const & d ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); + return static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( pCooperativeMatrixInfo ), + pPropertyCount, + reinterpret_cast( pProperties ) ) ); + } + +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 + template < + typename CooperativeMatrixProperties2EXTAllocator, + typename Dispatch, + typename std::enable_if::value, int>::type, + typename std::enable_if::type> +# else + template CooperativeMatrixProperties2EXTAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +# endif + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type + PhysicalDevice::getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo, Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); +# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 ) + VULKAN_HPP_ASSERT( d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT && + "Function requires " ); +# endif + + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); + } + } while ( result == Result::eIncomplete ); + detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixProperties2EXT" ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + if ( propertyCount < properties.size() ) + { + properties.resize( propertyCount ); + } + return detail::createResultValueType( result, std::move( properties ) ); + } + + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 + template < + typename CooperativeMatrixProperties2EXTAllocator, + typename Dispatch, + typename std::enable_if::value, int>::type, + typename std::enable_if::type> +# else + template CooperativeMatrixProperties2EXTAllocator, typename Dispatch> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +# endif + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type + PhysicalDevice::getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo, + CooperativeMatrixProperties2EXTAllocator const & cooperativeMatrixProperties2EXTAllocator, + Dispatch const & d ) const + { + VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); +# if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 ) + VULKAN_HPP_ASSERT( d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT && + "Function requires " ); +# endif + + std::vector properties( cooperativeMatrixProperties2EXTAllocator ); + uint32_t propertyCount; + Result result; + do + { + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( + d.vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); + } + } while ( result == Result::eIncomplete ); + detail::resultCheck( result, VULKAN_HPP_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixProperties2EXT" ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + if ( propertyCount < properties.size() ) + { + properties.resize( propertyCount ); + } + return detail::createResultValueType( result, std::move( properties ) ); } #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -33638,7 +43671,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_SEC_ubm_surface === // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Instance::createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33651,7 +43689,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType::type Instance::createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -33661,7 +43704,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateUbmSurfaceSEC( m_instance, + Result result = static_cast( d.vkCreateUbmSurfaceSEC( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -33672,7 +43715,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type Instance::createUbmSurfaceSECUnique( UbmSurfaceCreateInfoSEC const & createInfo, Optional allocator, Dispatch const & d ) const { @@ -33682,7 +43730,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif SurfaceKHR surface; - Result result = static_cast( d.vkCreateUbmSurfaceSEC( m_instance, + Result result = static_cast( d.vkCreateUbmSurfaceSEC( static_cast( m_instance ), reinterpret_cast( &createInfo ), reinterpret_cast( allocator.get() ), reinterpret_cast( &surface ) ) ); @@ -33696,7 +43744,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ) ) +# endif VULKAN_HPP_INLINE Bool32 PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, struct ubm_device * device, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33707,7 +43760,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ) ) +# endif VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair PhysicalDevice::getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { @@ -33718,7 +43776,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif struct ubm_device device; - VkBool32 result = d.vkGetPhysicalDeviceUbmPresentationSupportSEC( m_physicalDevice, queueFamilyIndex, &device ); + VkBool32 result = d.vkGetPhysicalDeviceUbmPresentationSupportSEC( static_cast( m_physicalDevice ), queueFamilyIndex, &device ); return { result, device }; } @@ -33729,7 +43787,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPrimitiveRestartIndexEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartIndexEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartIndexEXT ) ) +#endif VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveRestartIndexEXT( uint32_t primitiveRestartIndex, Dispatch const & d ) const VULKAN_HPP_NOEXCEPT { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_handles.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_handles.hpp index 0c5bbf3..eabdbb1 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_handles.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_handles.hpp @@ -1961,9 +1961,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE struct PhysicalDeviceShaderCoreBuiltinsFeaturesARM; struct PhysicalDeviceShaderCoreBuiltinsPropertiesARM; - //=== VK_EXT_pipeline_library_group_handles === - struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; - //=== VK_EXT_dynamic_rendering_unused_attachments === struct PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT; @@ -2439,10 +2436,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE struct ComputeOccupancyPriorityParametersNV; struct PhysicalDeviceComputeOccupancyPriorityFeaturesNV; + //=== VK_KHR_pipeline_library_group_handles === + struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; + using PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; + //=== VK_KHR_maintenance11 === struct PhysicalDeviceMaintenance11FeaturesKHR; struct QueueFamilyOptimalImageTransferGranularityPropertiesKHR; + //=== VK_EXT_cooperative_matrix_maintenance1 === + struct CooperativeMatrixProperties2EXT; + struct PhysicalDeviceCooperativeMatrixInfo2EXT; + struct PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + //=== VK_EXT_shader_subgroup_partitioned === struct PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT; @@ -2478,9 +2484,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_primitive_restart_index === struct PhysicalDevicePrimitiveRestartIndexFeaturesEXT; + //=== VK_EXT_image_tiling_control === + struct PhysicalDeviceImageTilingControlFeaturesEXT; + struct ImageTilingControlCreateInfoEXT; + //=== VK_NV_cooperative_matrix_decode_vector === struct PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV; + //=== VK_NV_private_data_base_handle === + struct PhysicalDevicePrivateDataBaseHandleFeaturesNV; + + //=== VK_VALVE_buffer_device_address_allocation_alignment === + struct PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + struct PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + struct BufferDeviceAddressAlignmentAllocateInfoVALVE; + //=================================== //=== HANDLE forward declarations === //=================================== @@ -3192,6 +3210,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = false; }; +#if 20 <= VULKAN_HPP_CPP_VERSION + template + concept VulkanHandleType = isVulkanHandleType::value; +#endif + // wrapper class for handle VkSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSurfaceKHR.html class SurfaceKHR { @@ -5539,39 +5562,74 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBeginCommandBuffer ) ) +#endif VULKAN_HPP_NODISCARD Result begin( CommandBufferBeginInfo const * pBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBeginCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type begin( CommandBufferBeginInfo const & beginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkEndCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD Result end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkEndCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type end( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD Result reset( CommandBufferResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetCommandBuffer ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type reset( CommandBufferResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer ) ) +#endif void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, uint32_t regionCount, @@ -5579,7 +5637,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer ) ) +# endif void copyBuffer( Buffer srcBuffer, Buffer dstBuffer, ArrayProxy const & regions, @@ -5587,7 +5650,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage ) ) +#endif void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5597,7 +5665,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage ) ) +# endif void copyImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5607,7 +5680,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage ) ) +#endif void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, @@ -5616,7 +5694,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage ) ) +# endif void copyBufferToImage( Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, @@ -5625,7 +5708,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer ) ) +#endif void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, @@ -5634,7 +5722,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer ) ) +# endif void copyImageToBuffer( Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, @@ -5643,7 +5736,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdUpdateBuffer ) ) +#endif void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize dataSize, @@ -5651,9 +5749,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdUpdateBuffer ) ) +# endif void updateBuffer( Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy const & data, @@ -5661,12 +5764,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdFillBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdFillBuffer ) ) +#endif void fillBuffer( Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier ) ) +#endif void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, @@ -5679,7 +5792,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier ) ) +# endif void pipelineBarrier( PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, DependencyFlags dependencyFlags, @@ -5690,32 +5808,57 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQuery.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginQuery ) ) +#endif void beginQuery( QueryPool queryPool, uint32_t query, QueryControlFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdEndQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQuery.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndQuery ) ) +#endif void endQuery( QueryPool queryPool, uint32_t query, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResetQueryPool ) ) +#endif void resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdWriteTimestamp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp ) ) +#endif void writeTimestamp( PipelineStageFlagBits pipelineStage, QueryPool queryPool, uint32_t query, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdCopyQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResults.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResults ) ) +#endif void copyQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -5726,25 +5869,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteCommands ) ) +#endif void executeCommands( uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteCommands ) ) +# endif void executeCommands( ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindPipeline ) ) +#endif void bindPipeline( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets ) ) +#endif void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -5755,7 +5918,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets ) ) +# endif void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -5765,7 +5933,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdClearColorImage ) ) +#endif void clearColorImage( Image image, ImageLayout imageLayout, ClearColorValue const * pColor, @@ -5774,7 +5947,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdClearColorImage ) ) +# endif void clearColorImage( Image image, ImageLayout imageLayout, ClearColorValue const & color, @@ -5783,26 +5961,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatch, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatch.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatch ) ) +#endif void dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDispatchIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect ) ) +#endif void dispatchIndirect( Buffer buffer, DeviceSize offset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent ) ) +#endif void setEvent( Event event, PipelineStageFlags stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent ) ) +#endif void resetEvent( Event event, PipelineStageFlags stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents ) ) +#endif void waitEvents( uint32_t eventCount, Event const * pEvents, PipelineStageFlags srcStageMask, @@ -5816,7 +6019,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents ) ) +# endif void waitEvents( ArrayProxy const & events, PipelineStageFlags srcStageMask, PipelineStageFlags dstStageMask, @@ -5827,7 +6035,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants ) ) +#endif void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, @@ -5836,9 +6049,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants ) ) +# endif void pushConstants( PipelineLayout layout, ShaderStageFlags stageFlags, uint32_t offset, @@ -5847,85 +6065,155 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewport ) ) +#endif void setViewport( uint32_t firstViewport, uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewport ) ) +# endif void setViewport( uint32_t firstViewport, ArrayProxy const & viewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissor ) ) +#endif void setScissor( uint32_t firstScissor, uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissor ) ) +# endif void setScissor( uint32_t firstScissor, ArrayProxy const & scissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetLineWidth, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineWidth.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineWidth ) ) +#endif void setLineWidth( float lineWidth, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthBias, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias ) ) +#endif void setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetBlendConstants ) ) +#endif void setBlendConstants( float const blendConstants[4], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetBlendConstants ) ) +# endif void setBlendConstants( std::array const & blendConstants, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthBounds, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBounds.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBounds ) ) +#endif void setDepthBounds( float minDepthBounds, float maxDepthBounds, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilCompareMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilCompareMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilCompareMask ) ) +#endif void setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilWriteMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilWriteMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilWriteMask ) ) +#endif void setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilReference, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilReference.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilReference ) ) +#endif void setStencilReference( StencilFaceFlags faceMask, uint32_t reference, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBindIndexBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer ) ) +#endif void bindIndexBuffer( Buffer buffer, DeviceSize offset, IndexType indexType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers ) ) +#endif void bindVertexBuffers( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -5933,7 +6221,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers ) ) +# endif void bindVertexBuffers( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -5941,7 +6234,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDraw, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDraw.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDraw ) ) +#endif void draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, @@ -5949,7 +6247,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDrawIndexed, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexed.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexed ) ) +#endif void drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, @@ -5958,12 +6261,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDrawIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect ) ) +#endif void drawIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDrawIndexedIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect ) ) +#endif void drawIndexedIndirect( Buffer buffer, DeviceSize offset, uint32_t drawCount, @@ -5971,7 +6284,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage ) ) +#endif void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5982,7 +6300,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage ) ) +# endif void blitImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -5993,7 +6316,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearDepthStencilImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdClearDepthStencilImage ) ) +#endif void clearDepthStencilImage( Image image, ImageLayout imageLayout, ClearDepthStencilValue const * pDepthStencil, @@ -6002,7 +6330,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearDepthStencilImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdClearDepthStencilImage ) ) +# endif void clearDepthStencilImage( Image image, ImageLayout imageLayout, ClearDepthStencilValue const & depthStencil, @@ -6011,7 +6344,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdClearAttachments ) ) +#endif void clearAttachments( uint32_t attachmentCount, ClearAttachment const * pAttachments, uint32_t rectCount, @@ -6019,14 +6357,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdClearAttachments ) ) +# endif void clearAttachments( ArrayProxy const & attachments, ArrayProxy const & rects, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage ) ) +#endif void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -6036,7 +6384,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage ) ) +# endif void resolveImage( Image srcImage, ImageLayout srcImageLayout, Image dstImage, @@ -6046,34 +6399,64 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass ) ) +#endif void beginRenderPass( RenderPassBeginInfo const * pRenderPassBegin, SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass ) ) +# endif void beginRenderPass( RenderPassBeginInfo const & renderPassBegin, SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass ) ) +#endif void nextSubpass( SubpassContents contents, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdEndRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass ) ) +#endif void endRenderPass( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_VERSION_1_1 === // wrapper function for command vkCmdSetDeviceMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMask.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDeviceMask ) ) +#endif void setDeviceMask( uint32_t deviceMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDispatchBase, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBase.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchBase ) ) +#endif void dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, @@ -6085,7 +6468,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_2 === // wrapper function for command vkCmdDrawIndirectCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount ) ) +#endif void drawIndirectCount( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -6096,8 +6484,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCount, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount ) ) +#endif void drawIndexedIndirectCount( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -6107,195 +6500,380 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2 ) ) +#endif void beginRenderPass2( RenderPassBeginInfo const * pRenderPassBegin, SubpassBeginInfo const * pSubpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2 ) ) +# endif void beginRenderPass2( RenderPassBeginInfo const & renderPassBegin, SubpassBeginInfo const & subpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2 ) ) +#endif void nextSubpass2( SubpassBeginInfo const * pSubpassBeginInfo, SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2 ) ) +# endif void nextSubpass2( SubpassBeginInfo const & subpassBeginInfo, SubpassEndInfo const & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2 ) ) +#endif void endRenderPass2( SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2 ) ) +# endif void endRenderPass2( SubpassEndInfo const & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_VERSION_1_3 === // wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2 ) ) +#endif void pipelineBarrier2( DependencyInfo const * pDependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2 ) ) +# endif void pipelineBarrier2( DependencyInfo const & dependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteTimestamp2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp2 ) ) +#endif void writeTimestamp2( PipelineStageFlags2 stage, QueryPool queryPool, uint32_t query, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2 ) ) +#endif void copyBuffer2( CopyBufferInfo2 const * pCopyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2 ) ) +# endif void copyBuffer2( CopyBufferInfo2 const & copyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage2 ) ) +#endif void copyImage2( CopyImageInfo2 const * pCopyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage2 ) ) +# endif void copyImage2( CopyImageInfo2 const & copyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2 ) ) +#endif void copyBufferToImage2( CopyBufferToImageInfo2 const * pCopyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2 ) ) +# endif void copyBufferToImage2( CopyBufferToImageInfo2 const & copyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2 ) ) +#endif void copyImageToBuffer2( CopyImageToBufferInfo2 const * pCopyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2 ) ) +# endif void copyImageToBuffer2( CopyImageToBufferInfo2 const & copyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent2 ) ) +#endif void setEvent2( Event event, DependencyInfo const * pDependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetEvent2 ) ) +# endif void setEvent2( Event event, DependencyInfo const & dependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent2 ) ) +#endif void resetEvent2( Event event, PipelineStageFlags2 stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2 ) ) +#endif void waitEvents2( uint32_t eventCount, Event const * pEvents, DependencyInfo const * pDependencyInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2 ) ) +# endif void waitEvents2( ArrayProxy const & events, ArrayProxy const & dependencyInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage2 ) ) +#endif void blitImage2( BlitImageInfo2 const * pBlitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage2 ) ) +# endif void blitImage2( BlitImageInfo2 const & blitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage2 ) ) +#endif void resolveImage2( ResolveImageInfo2 const * pResolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage2 ) ) +# endif void resolveImage2( ResolveImageInfo2 const & resolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRendering ) ) +#endif void beginRendering( RenderingInfo const * pRenderingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRendering ) ) +# endif void beginRendering( RenderingInfo const & renderingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering ) ) +#endif void endRendering( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCullMode, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullMode.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCullMode ) ) +#endif void setCullMode( CullModeFlags cullMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetFrontFace, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFace.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetFrontFace ) ) +#endif void setFrontFace( FrontFace frontFace, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetPrimitiveTopology, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopology.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveTopology ) ) +#endif void setPrimitiveTopology( PrimitiveTopology primitiveTopology, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCount ) ) +#endif void setViewportWithCount( uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCount ) ) +# endif void setViewportWithCount( ArrayProxy const & viewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCount ) ) +#endif void setScissorWithCount( uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCount ) ) +# endif void setScissorWithCount( ArrayProxy const & scissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2 ) ) +#endif void bindVertexBuffers2( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -6305,7 +6883,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2 ) ) +# endif void bindVertexBuffers2( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -6315,29 +6898,59 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthTestEnable ) ) +#endif void setDepthTestEnable( Bool32 depthTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthWriteEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthWriteEnable ) ) +#endif void setDepthWriteEnable( Bool32 depthWriteEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthCompareOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthCompareOp ) ) +#endif void setDepthCompareOp( CompareOp depthCompareOp, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthBoundsTestEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBoundsTestEnable ) ) +#endif void setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilTestEnable ) ) +#endif void setStencilTestEnable( Bool32 stencilTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOp.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilOp ) ) +#endif void setStencilOp( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, @@ -6347,24 +6960,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRasterizerDiscardEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizerDiscardEnable ) ) +#endif void setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthBiasEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBiasEnable ) ) +#endif void setDepthBiasEnable( Bool32 depthBiasEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetPrimitiveRestartEnable, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnable.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartEnable ) ) +#endif void setPrimitiveRestartEnable( Bool32 primitiveRestartEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_VERSION_1_4 === // wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet ) ) +#endif void pushDescriptorSet( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -6373,7 +7006,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet ) ) +# endif void pushDescriptorSet( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -6383,8 +7021,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPushDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate ) ) +#endif void pushDescriptorSetWithTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, @@ -6393,9 +7036,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate ) ) +# endif void pushDescriptorSetWithTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, @@ -6404,88 +7052,158 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2 ) ) +#endif void bindDescriptorSets2( BindDescriptorSetsInfo const * pBindDescriptorSetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2 ) ) +# endif void bindDescriptorSets2( BindDescriptorSetsInfo const & bindDescriptorSetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants2 ) ) +#endif void pushConstants2( PushConstantsInfo const * pPushConstantsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants2 ) ) +# endif void pushConstants2( PushConstantsInfo const & pushConstantsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2 ) ) +#endif void pushDescriptorSet2( PushDescriptorSetInfo const * pPushDescriptorSetInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2 ) ) +# endif void pushDescriptorSet2( PushDescriptorSetInfo const & pushDescriptorSetInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2 ) ) +#endif void pushDescriptorSetWithTemplate2( PushDescriptorSetWithTemplateInfo const * pPushDescriptorSetWithTemplateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2 ) ) +# endif void pushDescriptorSetWithTemplate2( PushDescriptorSetWithTemplateInfo const & pushDescriptorSetWithTemplateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetLineStipple, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStipple.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStipple ) ) +#endif void setLineStipple( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdBindIndexBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer2 ) ) +#endif void bindIndexBuffer2( Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetRenderingAttachmentLocations, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocations ) ) +#endif void setRenderingAttachmentLocations( RenderingAttachmentLocationInfo const * pLocationInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingAttachmentLocations, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocations ) ) +# endif void setRenderingAttachmentLocations( RenderingAttachmentLocationInfo const & locationInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndices ) ) +#endif void setRenderingInputAttachmentIndices( RenderingInputAttachmentIndexInfo const * pInputAttachmentIndexInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndices ) ) +# endif void setRenderingInputAttachmentIndices( RenderingInputAttachmentIndexInfo const & inputAttachmentIndexInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6493,27 +7211,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_debug_marker === // wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerBeginEXT ) ) +#endif void debugMarkerBeginEXT( DebugMarkerMarkerInfoEXT const * pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerBeginEXT ) ) +# endif void debugMarkerBeginEXT( DebugMarkerMarkerInfoEXT const & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDebugMarkerEndEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerEndEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerEndEXT ) ) +#endif void debugMarkerEndEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerInsertEXT ) ) +#endif void debugMarkerInsertEXT( DebugMarkerMarkerInfoEXT const * pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDebugMarkerInsertEXT ) ) +# endif void debugMarkerInsertEXT( DebugMarkerMarkerInfoEXT const & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6521,34 +7264,64 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_video_queue === // wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginVideoCodingKHR ) ) +#endif void beginVideoCodingKHR( VideoBeginCodingInfoKHR const * pBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginVideoCodingKHR ) ) +# endif void beginVideoCodingKHR( VideoBeginCodingInfoKHR const & beginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndVideoCodingKHR ) ) +#endif void endVideoCodingKHR( VideoEndCodingInfoKHR const * pEndCodingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndVideoCodingKHR ) ) +# endif void endVideoCodingKHR( VideoEndCodingInfoKHR const & endCodingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdControlVideoCodingKHR ) ) +#endif void controlVideoCodingKHR( VideoCodingControlInfoKHR const * pCodingControlInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdControlVideoCodingKHR ) ) +# endif void controlVideoCodingKHR( VideoCodingControlInfoKHR const & codingControlInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6556,11 +7329,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_video_decode_queue === // wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDecodeVideoKHR ) ) +#endif void decodeVideoKHR( VideoDecodeInfoKHR const * pDecodeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDecodeVideoKHR ) ) +# endif void decodeVideoKHR( VideoDecodeInfoKHR const & decodeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6568,8 +7351,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffersEXT ) ) +#endif void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -6579,8 +7367,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffersEXT ) ) +# endif void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -6590,8 +7383,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedbackEXT ) ) +#endif void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, Buffer const * pCounterBuffers, @@ -6600,8 +7398,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedbackEXT ) ) +# endif void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -6610,7 +7413,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdEndTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedbackEXT ) ) +#endif void endTransformFeedbackEXT( uint32_t firstCounterBuffer, uint32_t counterBufferCount, Buffer const * pCounterBuffers, @@ -6619,7 +7427,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndTransformFeedbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedbackEXT ) ) +# endif void endTransformFeedbackEXT( uint32_t firstCounterBuffer, ArrayProxy const & counterBuffers, ArrayProxy const & counterBufferOffsets VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -6627,7 +7440,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQueryIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginQueryIndexedEXT ) ) +#endif void beginQueryIndexedEXT( QueryPool queryPool, uint32_t query, QueryControlFlags flags, @@ -6635,7 +7453,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdEndQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQueryIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndQueryIndexedEXT ) ) +#endif void endQueryIndexedEXT( QueryPool queryPool, uint32_t query, uint32_t index, @@ -6643,8 +7466,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndirectByteCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCountEXT ) ) +#endif void drawIndirectByteCountEXT( uint32_t instanceCount, uint32_t firstInstance, Buffer counterBuffer, @@ -6656,18 +7484,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NVX_binary_import === // wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCuLaunchKernelNVX ) ) +#endif void cuLaunchKernelNVX( CuLaunchInfoNVX const * pLaunchInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCuLaunchKernelNVX ) ) +# endif void cuLaunchKernelNVX( CuLaunchInfoNVX const & launchInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_AMD_draw_indirect_count === // wrapper function for command vkCmdDrawIndirectCountAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCountAMD ) ) +#endif void drawIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -6678,8 +7521,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCountAMD, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCountAMD ) ) +#endif void drawIndexedIndirectCountAMD( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -6691,26 +7539,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_dynamic_rendering === // wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderingKHR ) ) +#endif void beginRenderingKHR( RenderingInfo const * pRenderingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderingKHR ) ) +# endif void beginRenderingKHR( RenderingInfo const & renderingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderingKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderingKHR ) ) +#endif void endRenderingKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_KHR_device_group === // wrapper function for command vkCmdSetDeviceMaskKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMaskKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDeviceMaskKHR ) ) +#endif void setDeviceMaskKHR( uint32_t deviceMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDispatchBaseKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBaseKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchBaseKHR ) ) +#endif void dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, @@ -6722,7 +7595,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_push_descriptor === // wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetKHR ) ) +#endif void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -6731,7 +7609,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetKHR ) ) +# endif void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -6741,8 +7624,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplateKHR ) ) +#endif void pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, @@ -6751,9 +7639,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplateKHR ) ) +# endif void pushDescriptorSetWithTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, PipelineLayout layout, uint32_t set, @@ -6765,36 +7658,61 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRenderingEXT ) ) +#endif void beginConditionalRenderingEXT( ConditionalRenderingBeginInfoEXT const * pConditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRenderingEXT ) ) +# endif void beginConditionalRenderingEXT( ConditionalRenderingBeginInfoEXT const & conditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndConditionalRenderingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndConditionalRenderingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndConditionalRenderingEXT ) ) +#endif void endConditionalRenderingEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_NV_clip_space_w_scaling === // wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingNV ) ) +#endif void setViewportWScalingNV( uint32_t firstViewport, uint32_t viewportCount, ViewportWScalingNV const * pViewportWScalings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingNV ) ) +# endif void setViewportWScalingNV( uint32_t firstViewport, ArrayProxy const & viewportWScalings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -6803,14 +7721,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_discard_rectangles === // wrapper function for command vkCmdSetDiscardRectangleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEXT ) ) +#endif void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, uint32_t discardRectangleCount, Rect2D const * pDiscardRectangles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDiscardRectangleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEXT ) ) +# endif void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy const & discardRectangles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -6818,51 +7746,91 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetDiscardRectangleEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleEnableEXT ) ) +#endif void setDiscardRectangleEnableEXT( Bool32 discardRectangleEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDiscardRectangleModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDiscardRectangleModeEXT ) ) +#endif void setDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_KHR_create_renderpass2 === // wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2KHR ) ) +#endif void beginRenderPass2KHR( RenderPassBeginInfo const * pRenderPassBegin, SubpassBeginInfo const * pSubpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginRenderPass2KHR ) ) +# endif void beginRenderPass2KHR( RenderPassBeginInfo const & renderPassBegin, SubpassBeginInfo const & subpassBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2KHR ) ) +#endif void nextSubpass2KHR( SubpassBeginInfo const * pSubpassBeginInfo, SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdNextSubpass2KHR ) ) +# endif void nextSubpass2KHR( SubpassBeginInfo const & subpassBeginInfo, SubpassEndInfo const & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2KHR ) ) +#endif void endRenderPass2KHR( SubpassEndInfo const * pSubpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndRenderPass2KHR ) ) +# endif void endRenderPass2KHR( SubpassEndInfo const & subpassEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6870,31 +7838,56 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginDebugUtilsLabelEXT ) ) +#endif void beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginDebugUtilsLabelEXT ) ) +# endif void beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndDebugUtilsLabelEXT ) ) +#endif void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdInsertDebugUtilsLabelEXT ) ) +#endif void insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdInsertDebugUtilsLabelEXT ) ) +# endif void insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -6903,50 +7896,90 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD Result beginGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkCmdBeginGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type beginGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD Result endGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkCmdEndGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type endGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCmdBeginGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSampleAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSampleAMD ) ) +#endif VULKAN_HPP_NODISCARD Result beginGpaSampleAMD( GpaSessionAMD gpaSession, GpaSampleBeginInfoAMD const * pGpaSampleBeginInfo, uint32_t * pSampleID, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginGpaSampleAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginGpaSampleAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type beginGpaSampleAMD( GpaSessionAMD gpaSession, GpaSampleBeginInfoAMD const & gpaSampleBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndGpaSampleAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndGpaSampleAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndGpaSampleAMD ) ) +#endif void endGpaSampleAMD( GpaSessionAMD gpaSession, uint32_t sampleID, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdCopyGpaSessionResultsAMD, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyGpaSessionResultsAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyGpaSessionResultsAMD ) ) +#endif void copyGpaSessionResultsAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #if defined( VK_ENABLE_BETA_EXTENSIONS ) @@ -6954,22 +7987,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdInitializeGraphScratchMemoryAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInitializeGraphScratchMemoryAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdInitializeGraphScratchMemoryAMDX ) ) +# endif void initializeGraphScratchMemoryAMDX( Pipeline executionGraph, DeviceAddress scratch, DeviceSize scratchSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphAMDX ) ) +# endif void dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const * pCountInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphAMDX ) ) +# endif void dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const & countInfo, @@ -6978,8 +8026,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDispatchGraphIndirectAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectAMDX ) ) +# endif void dispatchGraphIndirectAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const * pCountInfo, @@ -6987,8 +8040,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchGraphIndirectAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectAMDX ) ) +# endif void dispatchGraphIndirectAMDX( DeviceAddress scratch, DeviceSize scratchSize, DispatchGraphCountInfoAMDX const & countInfo, @@ -6997,8 +8055,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDispatchGraphIndirectCountAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectCountAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchGraphIndirectCountAMDX ) ) +# endif void dispatchGraphIndirectCountAMDX( DeviceAddress scratch, DeviceSize scratchSize, DeviceAddress countInfo, @@ -7008,41 +8071,81 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_descriptor_heap === // wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindSamplerHeapEXT ) ) +#endif void bindSamplerHeapEXT( BindHeapInfoEXT const * pBindInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindSamplerHeapEXT ) ) +# endif void bindSamplerHeapEXT( BindHeapInfoEXT const & bindInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindResourceHeapEXT ) ) +#endif void bindResourceHeapEXT( BindHeapInfoEXT const * pBindInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindResourceHeapEXT ) ) +# endif void bindResourceHeapEXT( BindHeapInfoEXT const & bindInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDataEXT ) ) +#endif void pushDataEXT( PushDataInfoEXT const * pPushDataInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDataEXT ) ) +# endif void pushDataEXT( PushDataInfoEXT const & pushDataInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_sample_locations === // wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEXT ) ) +#endif void setSampleLocationsEXT( SampleLocationsInfoEXT const * pSampleLocationsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEXT ) ) +# endif void setSampleLocationsEXT( SampleLocationsInfoEXT const & sampleLocationsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7051,8 +8154,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresKHR ) ) +#endif void buildAccelerationStructuresKHR( uint32_t infoCount, AccelerationStructureBuildGeometryInfoKHR const * pInfos, AccelerationStructureBuildRangeInfoKHR const * const * ppBuildRangeInfos, @@ -7060,8 +8168,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresKHR ) ) +# endif void buildAccelerationStructuresKHR( ArrayProxy const & infos, ArrayProxy const & pBuildRangeInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -7069,8 +8182,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresIndirectKHR ) ) +#endif void buildAccelerationStructuresIndirectKHR( uint32_t infoCount, AccelerationStructureBuildGeometryInfoKHR const * pInfos, DeviceAddress const * pIndirectDeviceAddresses, @@ -7080,8 +8198,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructuresIndirectKHR ) ) +# endif void buildAccelerationStructuresIndirectKHR( ArrayProxy const & infos, ArrayProxy const & indirectDeviceAddresses, ArrayProxy const & indirectStrides, @@ -7091,53 +8214,88 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureKHR ) ) +#endif void copyAccelerationStructureKHR( CopyAccelerationStructureInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureKHR ) ) +# endif void copyAccelerationStructureKHR( CopyAccelerationStructureInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureToMemoryKHR ) ) +#endif void copyAccelerationStructureToMemoryKHR( CopyAccelerationStructureToMemoryInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureToMemoryKHR ) ) +# endif void copyAccelerationStructureToMemoryKHR( CopyAccelerationStructureToMemoryInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToAccelerationStructureKHR ) ) +#endif void copyMemoryToAccelerationStructureKHR( CopyMemoryToAccelerationStructureInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToAccelerationStructureKHR ) ) +# endif void copyMemoryToAccelerationStructureKHR( CopyMemoryToAccelerationStructureInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesKHR ) ) +#endif void writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, AccelerationStructureKHR const * pAccelerationStructures, QueryType queryType, @@ -7147,8 +8305,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesKHR ) ) +# endif void writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, QueryType queryType, QueryPool queryPool, @@ -7159,7 +8322,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_ray_tracing_pipeline === // wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysKHR ) ) +#endif void traceRaysKHR( StridedDeviceAddressRegionKHR const * pRaygenShaderBindingTable, StridedDeviceAddressRegionKHR const * pMissShaderBindingTable, StridedDeviceAddressRegionKHR const * pHitShaderBindingTable, @@ -7170,7 +8338,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdTraceRaysKHR ) ) +# endif void traceRaysKHR( StridedDeviceAddressRegionKHR const & raygenShaderBindingTable, StridedDeviceAddressRegionKHR const & missShaderBindingTable, StridedDeviceAddressRegionKHR const & hitShaderBindingTable, @@ -7182,7 +8355,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirectKHR ) ) +#endif void traceRaysIndirectKHR( StridedDeviceAddressRegionKHR const * pRaygenShaderBindingTable, StridedDeviceAddressRegionKHR const * pMissShaderBindingTable, StridedDeviceAddressRegionKHR const * pHitShaderBindingTable, @@ -7191,7 +8369,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirectKHR ) ) +# endif void traceRaysIndirectKHR( StridedDeviceAddressRegionKHR const & raygenShaderBindingTable, StridedDeviceAddressRegionKHR const & missShaderBindingTable, StridedDeviceAddressRegionKHR const & hitShaderBindingTable, @@ -7202,22 +8385,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRayTracingPipelineStackSizeKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRayTracingPipelineStackSizeKHR ) ) +#endif void setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_NV_shading_rate_image === // wrapper function for command vkCmdBindShadingRateImageNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadingRateImageNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindShadingRateImageNV ) ) +#endif void bindShadingRateImageNV( ImageView imageView, ImageLayout imageLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportShadingRatePaletteNV ) ) +#endif void setViewportShadingRatePaletteNV( uint32_t firstViewport, uint32_t viewportCount, ShadingRatePaletteNV const * pShadingRatePalettes, @@ -7225,22 +8423,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportShadingRatePaletteNV ) ) +# endif void setViewportShadingRatePaletteNV( uint32_t firstViewport, ArrayProxy const & shadingRatePalettes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetCoarseSampleOrderNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoarseSampleOrderNV ) ) +#endif void setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, uint32_t customSampleOrderCount, CoarseSampleOrderCustomNV const * pCustomSampleOrders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCoarseSampleOrderNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetCoarseSampleOrderNV ) ) +# endif void setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, ArrayProxy const & customSampleOrders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -7250,8 +8463,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructureNV ) ) +#endif void buildAccelerationStructureNV( AccelerationStructureInfoNV const * pInfo, Buffer instanceData, DeviceSize instanceOffset, @@ -7264,8 +8482,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildAccelerationStructureNV ) ) +# endif void buildAccelerationStructureNV( AccelerationStructureInfoNV const & info, Buffer instanceData, DeviceSize instanceOffset, @@ -7279,15 +8502,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyAccelerationStructureNV ) ) +#endif void copyAccelerationStructureNV( AccelerationStructureNV dst, AccelerationStructureNV src, CopyAccelerationStructureModeKHR mode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdTraceRaysNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysNV ) ) +#endif void traceRaysNV( Buffer raygenShaderBindingTableBuffer, DeviceSize raygenShaderBindingOffset, Buffer missShaderBindingTableBuffer, @@ -7306,8 +8539,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesNV ) ) +#endif void writeAccelerationStructuresPropertiesNV( uint32_t accelerationStructureCount, AccelerationStructureNV const * pAccelerationStructures, QueryType queryType, @@ -7317,8 +8555,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWriteAccelerationStructuresPropertiesNV ) ) +# endif void writeAccelerationStructuresPropertiesNV( ArrayProxy const & accelerationStructures, QueryType queryType, QueryPool queryPool, @@ -7329,7 +8572,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_draw_indirect_count === // wrapper function for command vkCmdDrawIndirectCountKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCountKHR ) ) +#endif void drawIndirectCountKHR( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -7340,8 +8588,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndexedIndirectCountKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCountKHR ) ) +#endif void drawIndexedIndirectCountKHR( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -7353,7 +8606,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_buffer_marker === // wrapper function for command vkCmdWriteBufferMarkerAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarkerAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteBufferMarkerAMD ) ) +#endif void writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, Buffer dstBuffer, DeviceSize dstOffset, @@ -7361,7 +8619,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdWriteBufferMarker2AMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarker2AMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteBufferMarker2AMD ) ) +#endif void writeBufferMarker2AMD( PipelineStageFlags2 stage, Buffer dstBuffer, DeviceSize dstOffset, @@ -7371,12 +8634,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_mesh_shader === // wrapper function for command vkCmdDrawMeshTasksNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksNV ) ) +#endif void drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdDrawMeshTasksIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectNV ) ) +#endif void drawMeshTasksIndirectNV( Buffer buffer, DeviceSize offset, uint32_t drawCount, @@ -7385,8 +8658,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectCountNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCountNV ) ) +#endif void drawMeshTasksIndirectCountNV( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -7399,8 +8677,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetExclusiveScissorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorEnableNV ) ) +#endif void setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, Bool32 const * pExclusiveScissorEnables, @@ -7408,22 +8691,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetExclusiveScissorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorEnableNV ) ) +# endif void setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissorEnables, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorNV ) ) +#endif void setExclusiveScissorNV( uint32_t firstExclusiveScissor, uint32_t exclusiveScissorCount, Rect2D const * pExclusiveScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetExclusiveScissorNV ) ) +# endif void setExclusiveScissorNV( uint32_t firstExclusiveScissor, ArrayProxy const & exclusiveScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -7432,13 +8730,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_device_diagnostic_checkpoints === // wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCheckpointNV ) ) +#endif void setCheckpointNV( void const * pCheckpointMarker, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetCheckpointNV ) ) +# endif void setCheckpointNV( CheckpointMarkerType const & checkpointMarker, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7447,45 +8755,75 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPerformanceMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceMarkerINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result setPerformanceMarkerINTEL( PerformanceMarkerInfoINTEL const * pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceMarkerINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceMarkerINTEL( PerformanceMarkerInfoINTEL const & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceStreamMarkerINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result setPerformanceStreamMarkerINTEL( PerformanceStreamMarkerInfoINTEL const * pMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceStreamMarkerINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceStreamMarkerINTEL( PerformanceStreamMarkerInfoINTEL const & markerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetPerformanceOverrideINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceOverrideINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result setPerformanceOverrideINTEL( PerformanceOverrideInfoINTEL const * pOverrideInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetPerformanceOverrideINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetPerformanceOverrideINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceOverrideINTEL( PerformanceOverrideInfoINTEL const & overrideInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7494,16 +8832,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetFragmentShadingRateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateKHR ) ) +#endif void setFragmentShadingRateKHR( Extent2D const * pFragmentSize, FragmentShadingRateCombinerOpKHR const combinerOps[2], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetFragmentShadingRateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateKHR ) ) +# endif void setFragmentShadingRateKHR( Extent2D const & fragmentSize, std::array const & combinerOps, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -7513,30 +8861,50 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocationsKHR ) ) +#endif void setRenderingAttachmentLocationsKHR( RenderingAttachmentLocationInfo const * pLocationInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingAttachmentLocationsKHR ) ) +# endif void setRenderingAttachmentLocationsKHR( RenderingAttachmentLocationInfo const & locationInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndicesKHR ) ) +#endif void setRenderingInputAttachmentIndicesKHR( RenderingInputAttachmentIndexInfo const * pInputAttachmentIndexInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetRenderingInputAttachmentIndicesKHR ) ) +# endif void setRenderingInputAttachmentIndicesKHR( RenderingInputAttachmentIndexInfo const & inputAttachmentIndexInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7544,7 +8912,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_line_rasterization === // wrapper function for command vkCmdSetLineStippleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleEXT ) ) +#endif void setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -7552,46 +8925,86 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_extended_dynamic_state === // wrapper function for command vkCmdSetCullModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCullModeEXT ) ) +#endif void setCullModeEXT( CullModeFlags cullMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetFrontFaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFaceEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetFrontFaceEXT ) ) +#endif void setFrontFaceEXT( FrontFace frontFace, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetPrimitiveTopologyEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopologyEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveTopologyEXT ) ) +#endif void setPrimitiveTopologyEXT( PrimitiveTopology primitiveTopology, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetViewportWithCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCountEXT ) ) +#endif void setViewportWithCountEXT( uint32_t viewportCount, Viewport const * pViewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportWithCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportWithCountEXT ) ) +# endif void setViewportWithCountEXT( ArrayProxy const & viewports, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetScissorWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCountEXT ) ) +#endif void setScissorWithCountEXT( uint32_t scissorCount, Rect2D const * pScissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetScissorWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetScissorWithCountEXT ) ) +# endif void setScissorWithCountEXT( ArrayProxy const & scissors, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2EXT ) ) +#endif void bindVertexBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, Buffer const * pBuffers, @@ -7601,7 +9014,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers2EXT ) ) +# endif void bindVertexBuffers2EXT( uint32_t firstBinding, ArrayProxy const & buffers, ArrayProxy const & offsets, @@ -7611,30 +9029,60 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthTestEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthTestEnableEXT ) ) +#endif void setDepthTestEnableEXT( Bool32 depthTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthWriteEnableEXT ) ) +#endif void setDepthWriteEnableEXT( Bool32 depthWriteEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthCompareOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthCompareOpEXT ) ) +#endif void setDepthCompareOpEXT( CompareOp depthCompareOp, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthBoundsTestEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBoundsTestEnableEXT ) ) +#endif void setDepthBoundsTestEnableEXT( Bool32 depthBoundsTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilTestEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilTestEnableEXT ) ) +#endif void setStencilTestEnableEXT( Bool32 stencilTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetStencilOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetStencilOpEXT ) ) +#endif void setStencilOpEXT( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, @@ -7646,31 +9094,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsNV ) ) +#endif void preprocessGeneratedCommandsNV( GeneratedCommandsInfoNV const * pGeneratedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsNV ) ) +# endif void preprocessGeneratedCommandsNV( GeneratedCommandsInfoNV const & generatedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdExecuteGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsNV ) ) +#endif void executeGeneratedCommandsNV( Bool32 isPreprocessed, GeneratedCommandsInfoNV const * pGeneratedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteGeneratedCommandsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsNV ) ) +# endif void executeGeneratedCommandsNV( Bool32 isPreprocessed, GeneratedCommandsInfoNV const & generatedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -7678,8 +9146,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindPipelineShaderGroupNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipelineShaderGroupNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindPipelineShaderGroupNV ) ) +#endif void bindPipelineShaderGroupNV( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, uint32_t groupIndex, @@ -7688,22 +9161,42 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_depth_bias_control === // wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias2EXT ) ) +#endif void setDepthBias2EXT( DepthBiasInfoEXT const * pDepthBiasInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDepthBias2EXT ) ) +# endif void setDepthBias2EXT( DepthBiasInfoEXT const & depthBiasInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_video_encode_queue === // wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEncodeVideoKHR ) ) +#endif void encodeVideoKHR( VideoEncodeInfoKHR const * pEncodeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEncodeVideoKHR ) ) +# endif void encodeVideoKHR( VideoEncodeInfoKHR const & encodeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7711,11 +9204,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_cuda_kernel_launch === // wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCudaLaunchKernelNV ) ) +# endif void cudaLaunchKernelNV( CudaLaunchInfoNV const * pLaunchInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCudaLaunchKernelNV ) ) +# endif void cudaLaunchKernelNV( CudaLaunchInfoNV const & launchInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #endif /*VK_ENABLE_BETA_EXTENSIONS*/ @@ -7723,40 +9226,70 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QCOM_tile_shading === // wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchTileQCOM ) ) +#endif void dispatchTileQCOM( DispatchTileInfoQCOM const * pDispatchTileInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchTileQCOM ) ) +# endif void dispatchTileQCOM( DispatchTileInfoQCOM const & dispatchTileInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginPerTileExecutionQCOM ) ) +#endif void beginPerTileExecutionQCOM( PerTileBeginInfoQCOM const * pPerTileBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginPerTileExecutionQCOM ) ) +# endif void beginPerTileExecutionQCOM( PerTileBeginInfoQCOM const & perTileBeginInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdEndPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndPerTileExecutionQCOM ) ) +#endif void endPerTileExecutionQCOM( PerTileEndInfoQCOM const * pPerTileEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndPerTileExecutionQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndPerTileExecutionQCOM ) ) +# endif void endPerTileExecutionQCOM( PerTileEndInfoQCOM const & perTileEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -7764,46 +9297,86 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_synchronization2 === // wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetEvent2KHR ) ) +#endif void setEvent2KHR( Event event, DependencyInfo const * pDependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetEvent2KHR ) ) +# endif void setEvent2KHR( Event event, DependencyInfo const & dependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResetEvent2KHR ) ) +#endif void resetEvent2KHR( Event event, PipelineStageFlags2 stageMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2KHR ) ) +#endif void waitEvents2KHR( uint32_t eventCount, Event const * pEvents, DependencyInfo const * pDependencyInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWaitEvents2KHR ) ) +# endif void waitEvents2KHR( ArrayProxy const & events, ArrayProxy const & dependencyInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2KHR ) ) +#endif void pipelineBarrier2KHR( DependencyInfo const * pDependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPipelineBarrier2KHR ) ) +# endif void pipelineBarrier2KHR( DependencyInfo const & dependencyInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteTimestamp2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteTimestamp2KHR ) ) +#endif void writeTimestamp2KHR( PipelineStageFlags2 stage, QueryPool queryPool, uint32_t query, @@ -7813,24 +9386,39 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindDescriptorBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBuffersEXT ) ) +#endif void bindDescriptorBuffersEXT( uint32_t bufferCount, DescriptorBufferBindingInfoEXT const * pBindingInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorBuffersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBuffersEXT ) ) +# endif void bindDescriptorBuffersEXT( ArrayProxy const & bindingInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsetsEXT ) ) +#endif void setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -7841,8 +9429,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsetsEXT ) ) +# endif void setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t firstSet, @@ -7853,8 +9446,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplersEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplersEXT ) ) +#endif void bindDescriptorBufferEmbeddedSamplersEXT( PipelineBindPoint pipelineBindPoint, PipelineLayout layout, uint32_t set, @@ -7863,92 +9461,177 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_device_address_commands === // wrapper function for command vkCmdBindIndexBuffer3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer3KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer3KHR ) ) +#endif void bindIndexBuffer3KHR( BindIndexBuffer3InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindIndexBuffer3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer3KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer3KHR ) ) +# endif void bindIndexBuffer3KHR( BindIndexBuffer3InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindVertexBuffers3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers3KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers3KHR ) ) +#endif void bindVertexBuffers3KHR( uint32_t firstBinding, uint32_t bindingCount, BindVertexBuffer3InfoKHR const * pBindingInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindVertexBuffers3KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers3KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindVertexBuffers3KHR ) ) +# endif void bindVertexBuffers3KHR( uint32_t firstBinding, ArrayProxy const & bindingInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect2KHR ) ) +#endif void drawIndirect2KHR( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirect2KHR ) ) +# endif void drawIndirect2KHR( DrawIndirect2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndexedIndirect2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect2KHR ) ) +#endif void drawIndexedIndirect2KHR( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndexedIndirect2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirect2KHR ) ) +# endif void drawIndexedIndirect2KHR( DrawIndirect2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDispatchIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect2KHR ) ) +#endif void dispatchIndirect2KHR( DispatchIndirect2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchIndirect2KHR ) ) +# endif void dispatchIndirect2KHR( DispatchIndirect2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryKHR ) ) +#endif void copyMemoryKHR( CopyDeviceMemoryInfoKHR const * pCopyMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryKHR ) ) +# endif void copyMemoryKHR( Optional copyMemoryInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageKHR ) ) +#endif void copyMemoryToImageKHR( CopyDeviceMemoryImageInfoKHR const * pCopyMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageKHR ) ) +# endif void copyMemoryToImageKHR( Optional copyMemoryInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToMemoryKHR ) ) +#endif void copyImageToMemoryKHR( CopyDeviceMemoryImageInfoKHR const * pCopyMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToMemoryKHR ) ) +# endif void copyImageToMemoryKHR( Optional copyMemoryInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdUpdateMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdUpdateMemoryKHR ) ) +#endif void updateMemoryKHR( DeviceAddressRangeKHR const * pDstRange, AddressCommandFlagsKHR dstFlags, DeviceSize dataSize, @@ -7956,9 +9639,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdUpdateMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdUpdateMemoryKHR ) ) +# endif void updateMemoryKHR( DeviceAddressRangeKHR const & dstRange, AddressCommandFlagsKHR dstFlags, ArrayProxy const & data, @@ -7966,14 +9654,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdFillMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdFillMemoryKHR ) ) +#endif void fillMemoryKHR( DeviceAddressRangeKHR const * pDstRange, AddressCommandFlagsKHR dstFlags, uint32_t data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdFillMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdFillMemoryKHR ) ) +# endif void fillMemoryKHR( DeviceAddressRangeKHR const & dstRange, AddressCommandFlagsKHR dstFlags, uint32_t data, @@ -7982,8 +9680,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyQueryPoolResultsToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResultsToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResultsToMemoryKHR ) ) +#endif void copyQueryPoolResultsToMemoryKHR( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -7994,8 +9697,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyQueryPoolResultsToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResultsToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyQueryPoolResultsToMemoryKHR ) ) +# endif void copyQueryPoolResultsToMemoryKHR( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -8006,49 +9714,84 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndirectCount2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount2KHR ) ) +#endif void drawIndirectCount2KHR( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirectCount2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectCount2KHR ) ) +# endif void drawIndirectCount2KHR( DrawIndirectCount2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawIndexedIndirectCount2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount2KHR ) ) +#endif void drawIndexedIndirectCount2KHR( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndexedIndirectCount2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndexedIndirectCount2KHR ) ) +# endif void drawIndexedIndirectCount2KHR( DrawIndirectCount2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBeginConditionalRendering2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRendering2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRendering2EXT ) ) +#endif void beginConditionalRendering2EXT( ConditionalRenderingBeginInfo2EXT const * pConditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginConditionalRendering2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRendering2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginConditionalRendering2EXT ) ) +# endif void beginConditionalRendering2EXT( ConditionalRenderingBeginInfo2EXT const & conditionalRenderingBegin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindTransformFeedbackBuffers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffers2EXT ) ) +#endif void bindTransformFeedbackBuffers2EXT( uint32_t firstBinding, uint32_t bindingCount, BindTransformFeedbackBuffer2InfoEXT const * pBindingInfos, @@ -8056,8 +9799,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTransformFeedbackBuffers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindTransformFeedbackBuffers2EXT ) ) +# endif void bindTransformFeedbackBuffers2EXT( uint32_t firstBinding, ArrayProxy const & bindingInfos VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8065,8 +9813,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedback2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedback2EXT ) ) +#endif void beginTransformFeedback2EXT( uint32_t firstCounterRange, uint32_t counterRangeCount, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfos, @@ -8074,8 +9827,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedback2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginTransformFeedback2EXT ) ) +# endif void beginTransformFeedback2EXT( uint32_t firstCounterRange, ArrayProxy const & counterInfos VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8083,8 +9841,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdEndTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedback2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedback2EXT ) ) +#endif void endTransformFeedback2EXT( uint32_t firstCounterRange, uint32_t counterRangeCount, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfos, @@ -8092,8 +9855,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndTransformFeedback2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedback2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndTransformFeedback2EXT ) ) +# endif void endTransformFeedback2EXT( uint32_t firstCounterRange, ArrayProxy const & counterInfos VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8101,8 +9869,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawIndirectByteCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCount2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCount2EXT ) ) +#endif void drawIndirectByteCount2EXT( uint32_t instanceCount, uint32_t firstInstance, BindTransformFeedbackBuffer2InfoEXT const * pCounterInfo, @@ -8112,8 +9885,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawIndirectByteCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCount2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawIndirectByteCount2EXT ) ) +# endif void drawIndirectByteCount2EXT( uint32_t instanceCount, uint32_t firstInstance, BindTransformFeedbackBuffer2InfoEXT const & counterInfo, @@ -8124,38 +9902,68 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirect2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirect2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirect2EXT ) ) +#endif void drawMeshTasksIndirect2EXT( DrawIndirect2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMeshTasksIndirect2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirect2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirect2EXT ) ) +# endif void drawMeshTasksIndirect2EXT( DrawIndirect2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawMeshTasksIndirectCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCount2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCount2EXT ) ) +#endif void drawMeshTasksIndirectCount2EXT( DrawIndirectCount2InfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMeshTasksIndirectCount2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCount2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCount2EXT ) ) +# endif void drawMeshTasksIndirectCount2EXT( DrawIndirectCount2InfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteMarkerToMemoryAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMarkerToMemoryAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteMarkerToMemoryAMD ) ) +#endif void writeMarkerToMemoryAMD( MemoryMarkerInfoAMD const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteMarkerToMemoryAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMarkerToMemoryAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWriteMarkerToMemoryAMD ) ) +# endif void writeMarkerToMemoryAMD( MemoryMarkerInfoAMD const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -8163,16 +9971,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateEnumNV ) ) +#endif void setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, FragmentShadingRateCombinerOpKHR const combinerOps[2], Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetFragmentShadingRateEnumNV ) ) +# endif void setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, std::array const & combinerOps, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8181,7 +9999,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_mesh_shader === // wrapper function for command vkCmdDrawMeshTasksEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksEXT ) ) +#endif void drawMeshTasksEXT( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, @@ -8189,8 +10012,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectEXT ) ) +#endif void drawMeshTasksIndirectEXT( Buffer buffer, DeviceSize offset, uint32_t drawCount, @@ -8199,8 +10027,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawMeshTasksIndirectCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMeshTasksIndirectCountEXT ) ) +#endif void drawMeshTasksIndirectCountEXT( Buffer buffer, DeviceSize offset, Buffer countBuffer, @@ -8212,67 +10045,132 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_copy_commands2 === // wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2KHR ) ) +#endif void copyBuffer2KHR( CopyBufferInfo2 const * pCopyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBuffer2KHR ) ) +# endif void copyBuffer2KHR( CopyBufferInfo2 const & copyBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImage2KHR ) ) +#endif void copyImage2KHR( CopyImageInfo2 const * pCopyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImage2KHR ) ) +# endif void copyImage2KHR( CopyImageInfo2 const & copyImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2KHR ) ) +#endif void copyBufferToImage2KHR( CopyBufferToImageInfo2 const * pCopyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyBufferToImage2KHR ) ) +# endif void copyBufferToImage2KHR( CopyBufferToImageInfo2 const & copyBufferToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2KHR ) ) +#endif void copyImageToBuffer2KHR( CopyImageToBufferInfo2 const * pCopyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyImageToBuffer2KHR ) ) +# endif void copyImageToBuffer2KHR( CopyImageToBufferInfo2 const & copyImageToBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBlitImage2KHR ) ) +#endif void blitImage2KHR( BlitImageInfo2 const * pBlitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBlitImage2KHR ) ) +# endif void blitImage2KHR( BlitImageInfo2 const & blitImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdResolveImage2KHR ) ) +#endif void resolveImage2KHR( ResolveImageInfo2 const * pResolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdResolveImage2KHR ) ) +# endif void resolveImage2KHR( ResolveImageInfo2 const & resolveImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_EXT_vertex_input_dynamic_state === // wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetVertexInputEXT ) ) +#endif void setVertexInputEXT( uint32_t vertexBindingDescriptionCount, VertexInputBindingDescription2EXT const * pVertexBindingDescriptions, uint32_t vertexAttributeDescriptionCount, @@ -8280,7 +10178,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetVertexInputEXT ) ) +# endif void setVertexInputEXT( ArrayProxy const & vertexBindingDescriptions, ArrayProxy const & vertexAttributeDescriptions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8289,15 +10192,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_HUAWEI_subpass_shading === // wrapper function for command vkCmdSubpassShadingHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSubpassShadingHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSubpassShadingHUAWEI ) ) +#endif void subpassShadingHUAWEI( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_HUAWEI_invocation_mask === // wrapper function for command vkCmdBindInvocationMaskHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindInvocationMaskHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindInvocationMaskHUAWEI ) ) +#endif void bindInvocationMaskHUAWEI( ImageView imageView, ImageLayout imageLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8306,40 +10219,75 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPatchControlPointsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPatchControlPointsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPatchControlPointsEXT ) ) +#endif void setPatchControlPointsEXT( uint32_t patchControlPoints, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetRasterizerDiscardEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizerDiscardEnableEXT ) ) +#endif void setRasterizerDiscardEnableEXT( Bool32 rasterizerDiscardEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthBiasEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthBiasEnableEXT ) ) +#endif void setDepthBiasEnableEXT( Bool32 depthBiasEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetLogicOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLogicOpEXT ) ) +#endif void setLogicOpEXT( LogicOp logicOp, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetPrimitiveRestartEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartEnableEXT ) ) +#endif void setPrimitiveRestartEnableEXT( Bool32 primitiveRestartEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_EXT_color_write_enable === // wrapper function for command vkCmdSetColorWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteEnableEXT ) ) +#endif void setColorWriteEnableEXT( uint32_t attachmentCount, Bool32 const * pColorWriteEnables, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteEnableEXT ) ) +# endif void setColorWriteEnableEXT( ArrayProxy const & colorWriteEnables, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -8347,13 +10295,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_ray_tracing_maintenance1 === // wrapper function for command vkCmdTraceRaysIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirect2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdTraceRaysIndirect2KHR ) ) +#endif void traceRaysIndirect2KHR( DeviceAddress indirectDeviceAddress, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_EXT_multi_draw === // wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMultiEXT ) ) +#endif void drawMultiEXT( uint32_t drawCount, MultiDrawInfoEXT const * pVertexInfo, uint32_t instanceCount, @@ -8362,7 +10320,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMultiEXT ) ) +# endif void drawMultiEXT( StridedArrayProxy const & vertexInfo, uint32_t instanceCount, uint32_t firstInstance, @@ -8370,7 +10333,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawMultiIndexedEXT ) ) +#endif void drawMultiIndexedEXT( uint32_t drawCount, MultiDrawIndexedInfoEXT const * pIndexInfo, uint32_t instanceCount, @@ -8380,7 +10348,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDrawMultiIndexedEXT ) ) +# endif void drawMultiIndexedEXT( StridedArrayProxy const & indexInfo, uint32_t instanceCount, uint32_t firstInstance, @@ -8391,56 +10364,101 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_opacity_micromap === // wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildMicromapsEXT ) ) +#endif void buildMicromapsEXT( uint32_t infoCount, MicromapBuildInfoEXT const * pInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildMicromapsEXT ) ) +# endif void buildMicromapsEXT( ArrayProxy const & infos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapEXT ) ) +#endif void copyMicromapEXT( CopyMicromapInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapEXT ) ) +# endif void copyMicromapEXT( CopyMicromapInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMicromapToMemoryEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapToMemoryEXT ) ) +#endif void copyMicromapToMemoryEXT( CopyMicromapToMemoryInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMicromapToMemoryEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMicromapToMemoryEXT ) ) +# endif void copyMicromapToMemoryEXT( CopyMicromapToMemoryInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToMicromapEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToMicromapEXT ) ) +#endif void copyMemoryToMicromapEXT( CopyMemoryToMicromapInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToMicromapEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToMicromapEXT ) ) +# endif void copyMemoryToMicromapEXT( CopyMemoryToMicromapInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdWriteMicromapsPropertiesEXT ) ) +#endif void writeMicromapsPropertiesEXT( uint32_t micromapCount, MicromapEXT const * pMicromaps, QueryType queryType, @@ -8450,8 +10468,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdWriteMicromapsPropertiesEXT ) ) +# endif void writeMicromapsPropertiesEXT( ArrayProxy const & micromaps, QueryType queryType, QueryPool queryPool, @@ -8462,7 +10485,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_HUAWEI_cluster_culling_shader === // wrapper function for command vkCmdDrawClusterHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawClusterHUAWEI ) ) +#endif void drawClusterHUAWEI( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ, @@ -8470,23 +10498,38 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdDrawClusterIndirectHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterIndirectHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDrawClusterIndirectHUAWEI ) ) +#endif void drawClusterIndirectHUAWEI( Buffer buffer, DeviceSize offset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_ARM_scheduling_controls === // wrapper function for command vkCmdSetDispatchParametersARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDispatchParametersARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDispatchParametersARM ) ) +#endif void setDispatchParametersARM( DispatchParametersARM const * pDispatchParameters, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDispatchParametersARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDispatchParametersARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDispatchParametersARM ) ) +# endif void setDispatchParametersARM( DispatchParametersARM const & dispatchParameters, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -8494,7 +10537,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_copy_memory_indirect === // wrapper function for command vkCmdCopyMemoryIndirectNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectNV ) ) +#endif void copyMemoryIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, @@ -8502,8 +10550,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectNV ) ) +#endif void copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride, @@ -8514,8 +10567,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectNV ) ) +# endif void copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, uint32_t stride, Image dstImage, @@ -8527,21 +10585,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_memory_decompression === // wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryNV ) ) +#endif void decompressMemoryNV( uint32_t decompressRegionCount, DecompressMemoryRegionNV const * pDecompressMemoryRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryNV ) ) +# endif void decompressMemoryNV( ArrayProxy const & decompressMemoryRegions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDecompressMemoryIndirectCountNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryIndirectCountNV ) ) +#endif void decompressMemoryIndirectCountNV( DeviceAddress indirectCommandsAddress, DeviceAddress indirectCommandsCountAddress, uint32_t stride, @@ -8551,8 +10624,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdUpdatePipelineIndirectBufferNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdatePipelineIndirectBufferNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdUpdatePipelineIndirectBufferNV ) ) +#endif void updatePipelineIndirectBufferNV( PipelineBindPoint pipelineBindPoint, Pipeline pipeline, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8560,28 +10638,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_extended_dynamic_state3 === // wrapper function for command vkCmdSetDepthClampEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampEnableEXT ) ) +#endif void setDepthClampEnableEXT( Bool32 depthClampEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetPolygonModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPolygonModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPolygonModeEXT ) ) +#endif void setPolygonModeEXT( PolygonMode polygonMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetRasterizationSamplesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationSamplesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizationSamplesEXT ) ) +#endif void setRasterizationSamplesEXT( SampleCountFlagBits rasterizationSamples, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleMaskEXT ) ) +#endif void setSampleMaskEXT( SampleCountFlagBits samples, SampleMask const * pSampleMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetSampleMaskEXT ) ) +# endif void setSampleMaskEXT( SampleCountFlagBits samples, ArrayProxy const & sampleMask VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -8589,27 +10692,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetAlphaToCoverageEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToCoverageEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetAlphaToCoverageEnableEXT ) ) +#endif void setAlphaToCoverageEnableEXT( Bool32 alphaToCoverageEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetAlphaToOneEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToOneEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetAlphaToOneEnableEXT ) ) +#endif void setAlphaToOneEnableEXT( Bool32 alphaToOneEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetLogicOpEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLogicOpEnableEXT ) ) +#endif void setLogicOpEnableEXT( Bool32 logicOpEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetColorBlendEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEnableEXT ) ) +#endif void setColorBlendEnableEXT( uint32_t firstAttachment, uint32_t attachmentCount, Bool32 const * pColorBlendEnables, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEnableEXT ) ) +# endif void setColorBlendEnableEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendEnables, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8617,8 +10745,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetColorBlendEquationEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEquationEXT ) ) +#endif void setColorBlendEquationEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorBlendEquationEXT const * pColorBlendEquations, @@ -8626,22 +10759,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendEquationEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendEquationEXT ) ) +# endif void setColorBlendEquationEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendEquations, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteMaskEXT ) ) +#endif void setColorWriteMaskEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorComponentFlags const * pColorWriteMasks, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorWriteMaskEXT ) ) +# endif void setColorWriteMaskEXT( uint32_t firstAttachment, ArrayProxy const & colorWriteMasks, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8649,45 +10797,80 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetTessellationDomainOriginEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetTessellationDomainOriginEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetTessellationDomainOriginEXT ) ) +#endif void setTessellationDomainOriginEXT( TessellationDomainOrigin domainOrigin, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetRasterizationStreamEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationStreamEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRasterizationStreamEXT ) ) +#endif void setRasterizationStreamEXT( uint32_t rasterizationStream, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetConservativeRasterizationModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetConservativeRasterizationModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetConservativeRasterizationModeEXT ) ) +#endif void setConservativeRasterizationModeEXT( ConservativeRasterizationModeEXT conservativeRasterizationMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetExtraPrimitiveOverestimationSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExtraPrimitiveOverestimationSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetExtraPrimitiveOverestimationSizeEXT ) ) +#endif void setExtraPrimitiveOverestimationSizeEXT( float extraPrimitiveOverestimationSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthClipEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClipEnableEXT ) ) +#endif void setDepthClipEnableEXT( Bool32 depthClipEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetSampleLocationsEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetSampleLocationsEnableEXT ) ) +#endif void setSampleLocationsEnableEXT( Bool32 sampleLocationsEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetColorBlendAdvancedEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendAdvancedEXT ) ) +#endif void setColorBlendAdvancedEXT( uint32_t firstAttachment, uint32_t attachmentCount, ColorBlendAdvancedEXT const * pColorBlendAdvanced, @@ -8695,8 +10878,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetColorBlendAdvancedEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetColorBlendAdvancedEXT ) ) +# endif void setColorBlendAdvancedEXT( uint32_t firstAttachment, ArrayProxy const & colorBlendAdvanced, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8704,44 +10892,79 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetProvokingVertexModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetProvokingVertexModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetProvokingVertexModeEXT ) ) +#endif void setProvokingVertexModeEXT( ProvokingVertexModeEXT provokingVertexMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetLineRasterizationModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineRasterizationModeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineRasterizationModeEXT ) ) +#endif void setLineRasterizationModeEXT( LineRasterizationModeEXT lineRasterizationMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetLineStippleEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleEnableEXT ) ) +#endif void setLineStippleEnableEXT( Bool32 stippledLineEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetDepthClipNegativeOneToOneEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipNegativeOneToOneEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClipNegativeOneToOneEXT ) ) +#endif void setDepthClipNegativeOneToOneEXT( Bool32 negativeOneToOne, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetViewportWScalingEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportWScalingEnableNV ) ) +#endif void setViewportWScalingEnableNV( Bool32 viewportWScalingEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetViewportSwizzleNV ) ) +#endif void setViewportSwizzleNV( uint32_t firstViewport, uint32_t viewportCount, ViewportSwizzleNV const * pViewportSwizzles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetViewportSwizzleNV ) ) +# endif void setViewportSwizzleNV( uint32_t firstViewport, ArrayProxy const & viewportSwizzles, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8749,88 +10972,153 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetCoverageToColorEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageToColorEnableNV ) ) +#endif void setCoverageToColorEnableNV( Bool32 coverageToColorEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCoverageToColorLocationNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorLocationNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageToColorLocationNV ) ) +#endif void setCoverageToColorLocationNV( uint32_t coverageToColorLocation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCoverageModulationModeNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationModeNV ) ) +#endif void setCoverageModulationModeNV( CoverageModulationModeNV coverageModulationMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCoverageModulationTableEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableEnableNV ) ) +#endif void setCoverageModulationTableEnableNV( Bool32 coverageModulationTableEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCoverageModulationTableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableNV ) ) +#endif void setCoverageModulationTableNV( uint32_t coverageModulationTableCount, float const * pCoverageModulationTable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetCoverageModulationTableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetCoverageModulationTableNV ) ) +# endif void setCoverageModulationTableNV( ArrayProxy const & coverageModulationTable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetShadingRateImageEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetShadingRateImageEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetShadingRateImageEnableNV ) ) +#endif void setShadingRateImageEnableNV( Bool32 shadingRateImageEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetRepresentativeFragmentTestEnableNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRepresentativeFragmentTestEnableNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetRepresentativeFragmentTestEnableNV ) ) +#endif void setRepresentativeFragmentTestEnableNV( Bool32 representativeFragmentTestEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdSetCoverageReductionModeNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageReductionModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetCoverageReductionModeNV ) ) +#endif void setCoverageReductionModeNV( CoverageReductionModeNV coverageReductionMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_ARM_tensors === // wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyTensorARM ) ) +#endif void copyTensorARM( CopyTensorInfoARM const * pCopyTensorInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyTensorARM ) ) +# endif void copyTensorARM( CopyTensorInfoARM const & copyTensorInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_NV_optical_flow === // wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdOpticalFlowExecuteNV ) ) +#endif void opticalFlowExecuteNV( OpticalFlowSessionNV session, OpticalFlowExecuteInfoNV const * pExecuteInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdOpticalFlowExecuteNV ) ) +# endif void opticalFlowExecuteNV( OpticalFlowSessionNV session, OpticalFlowExecuteInfoNV const & executeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8839,7 +11127,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance5 === // wrapper function for command vkCmdBindIndexBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindIndexBuffer2KHR ) ) +#endif void bindIndexBuffer2KHR( Buffer buffer, DeviceSize offset, DeviceSize size, @@ -8849,27 +11142,47 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_shader_object === // wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindShadersEXT ) ) +#endif void bindShadersEXT( uint32_t stageCount, ShaderStageFlagBits const * pStages, ShaderEXT const * pShaders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindShadersEXT ) ) +# endif void bindShadersEXT( ArrayProxy const & stages, ArrayProxy const & shaders, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampRangeEXT ) ) +#endif void setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, DepthClampRangeEXT const * pDepthClampRange, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDepthClampRangeEXT ) ) +# endif void setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, Optional depthClampRange VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8879,16 +11192,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdConvertCooperativeVectorMatrixNV ) ) +#endif void convertCooperativeVectorMatrixNV( uint32_t infoCount, ConvertCooperativeVectorMatrixInfoNV const * pInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdConvertCooperativeVectorMatrixNV ) ) +# endif void convertCooperativeVectorMatrixNV( ArrayProxy const & infos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -8896,13 +11219,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_ARM_data_graph === // wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDispatchDataGraphARM ) ) +#endif void dispatchDataGraphARM( DataGraphPipelineSessionARM session, DataGraphPipelineDispatchInfoARM const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDispatchDataGraphARM ) ) +# endif void dispatchDataGraphARM( DataGraphPipelineSessionARM session, Optional info VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8912,15 +11245,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetAttachmentFeedbackLoopEnableEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetAttachmentFeedbackLoopEnableEXT ) ) +#endif void setAttachmentFeedbackLoopEnableEXT( ImageAspectFlags aspectMask, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_KHR_line_rasterization === // wrapper function for command vkCmdSetLineStippleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetLineStippleKHR ) ) +#endif void setLineStippleKHR( uint32_t lineStippleFactor, uint16_t lineStipplePattern, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -8928,79 +11271,139 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance6 === // wrapper function for command vkCmdBindDescriptorSets2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2KHR ) ) +#endif void bindDescriptorSets2KHR( BindDescriptorSetsInfo const * pBindDescriptorSetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorSets2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorSets2KHR ) ) +# endif void bindDescriptorSets2KHR( BindDescriptorSetsInfo const & bindDescriptorSetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushConstants2KHR ) ) +#endif void pushConstants2KHR( PushConstantsInfo const * pPushConstantsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushConstants2KHR ) ) +# endif void pushConstants2KHR( PushConstantsInfo const & pushConstantsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2KHR ) ) +#endif void pushDescriptorSet2KHR( PushDescriptorSetInfo const * pPushDescriptorSetInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSet2KHR ) ) +# endif void pushDescriptorSet2KHR( PushDescriptorSetInfo const & pushDescriptorSetInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2KHR ) ) +#endif void pushDescriptorSetWithTemplate2KHR( PushDescriptorSetWithTemplateInfo const * pPushDescriptorSetWithTemplateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPushDescriptorSetWithTemplate2KHR ) ) +# endif void pushDescriptorSetWithTemplate2KHR( PushDescriptorSetWithTemplateInfo const & pushDescriptorSetWithTemplateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsets2EXT ) ) +#endif void setDescriptorBufferOffsets2EXT( SetDescriptorBufferOffsetsInfoEXT const * pSetDescriptorBufferOffsetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetDescriptorBufferOffsets2EXT ) ) +# endif void setDescriptorBufferOffsets2EXT( SetDescriptorBufferOffsetsInfoEXT const & setDescriptorBufferOffsetsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplers2EXT ) ) +#endif void bindDescriptorBufferEmbeddedSamplers2EXT( BindDescriptorBufferEmbeddedSamplersInfoEXT const * pBindDescriptorBufferEmbeddedSamplersInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindDescriptorBufferEmbeddedSamplers2EXT ) ) +# endif void bindDescriptorBufferEmbeddedSamplers2EXT( BindDescriptorBufferEmbeddedSamplersInfoEXT const & bindDescriptorBufferEmbeddedSamplersInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9008,12 +11411,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QCOM_tile_memory_heap === // wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBindTileMemoryQCOM ) ) +#endif void bindTileMemoryQCOM( TileMemoryBindInfoQCOM const * pTileMemoryBindInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBindTileMemoryQCOM ) ) +# endif void bindTileMemoryQCOM( Optional tileMemoryBindInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9021,27 +11434,47 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_copy_memory_indirect === // wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectKHR ) ) +#endif void copyMemoryIndirectKHR( CopyMemoryIndirectInfoKHR const * pCopyMemoryIndirectInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryIndirectKHR ) ) +# endif void copyMemoryIndirectKHR( CopyMemoryIndirectInfoKHR const & copyMemoryIndirectInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectKHR ) ) +#endif void copyMemoryToImageIndirectKHR( CopyMemoryToImageIndirectInfoKHR const * pCopyMemoryToImageIndirectInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdCopyMemoryToImageIndirectKHR ) ) +# endif void copyMemoryToImageIndirectKHR( CopyMemoryToImageIndirectInfoKHR const & copyMemoryToImageIndirectInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9049,20 +11482,35 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_memory_decompression === // wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryEXT ) ) +#endif void decompressMemoryEXT( DecompressMemoryInfoEXT const * pDecompressMemoryInfoEXT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryEXT ) ) +# endif void decompressMemoryEXT( DecompressMemoryInfoEXT const & decompressMemoryInfoEXT, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCmdDecompressMemoryIndirectCountEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdDecompressMemoryIndirectCountEXT ) ) +#endif void decompressMemoryIndirectCountEXT( MemoryDecompressionMethodFlagsEXT decompressionMethod, DeviceAddress indirectCommandsAddress, DeviceAddress indirectCommandsCountAddress, @@ -9074,15 +11522,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildClusterAccelerationStructureIndirectNV ) ) +#endif void buildClusterAccelerationStructureIndirectNV( ClusterAccelerationStructureCommandsInfoNV const * pCommandInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildClusterAccelerationStructureIndirectNV ) ) +# endif void buildClusterAccelerationStructureIndirectNV( ClusterAccelerationStructureCommandsInfoNV const & commandInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9091,15 +11549,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBuildPartitionedAccelerationStructuresNV ) ) +#endif void buildPartitionedAccelerationStructuresNV( BuildPartitionedAccelerationStructureInfoNV const * pBuildInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBuildPartitionedAccelerationStructuresNV ) ) +# endif void buildPartitionedAccelerationStructuresNV( BuildPartitionedAccelerationStructureInfoNV const & buildInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9108,16 +11576,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsEXT ) ) +#endif void preprocessGeneratedCommandsEXT( GeneratedCommandsInfoEXT const * pGeneratedCommandsInfo, CommandBuffer stateCommandBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdPreprocessGeneratedCommandsEXT ) ) +# endif void preprocessGeneratedCommandsEXT( GeneratedCommandsInfoEXT const & generatedCommandsInfo, CommandBuffer stateCommandBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -9125,16 +11603,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsEXT ) ) +#endif void executeGeneratedCommandsEXT( Bool32 isPreprocessed, GeneratedCommandsInfoEXT const * pGeneratedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdExecuteGeneratedCommandsEXT ) ) +# endif void executeGeneratedCommandsEXT( Bool32 isPreprocessed, GeneratedCommandsInfoEXT const & generatedCommandsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -9144,26 +11632,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdBeginShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginShaderInstrumentationARM ) ) +#endif void beginShaderInstrumentationARM( ShaderInstrumentationARM instrumentation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkCmdEndShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndShaderInstrumentationARM ) ) +#endif void endShaderInstrumentationARM( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_EXT_fragment_density_map_offset === // wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering2EXT ) ) +#endif void endRendering2EXT( RenderingEndInfoKHR const * pRenderingEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndRendering2EXT ) ) +# endif void endRendering2EXT( Optional renderingEndInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9171,12 +11679,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_custom_resolve === // wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdBeginCustomResolveEXT ) ) +#endif void beginCustomResolveEXT( BeginCustomResolveInfoEXT const * pBeginCustomResolveInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdBeginCustomResolveEXT ) ) +# endif void beginCustomResolveEXT( Optional beginCustomResolveInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9184,12 +11702,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance10 === // wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdEndRendering2KHR ) ) +#endif void endRendering2KHR( RenderingEndInfoKHR const * pRenderingEndInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdEndRendering2KHR ) ) +# endif void endRendering2KHR( Optional renderingEndInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9198,15 +11726,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetComputeOccupancyPriorityNV ) ) +#endif void setComputeOccupancyPriorityNV( ComputeOccupancyPriorityParametersNV const * pParameters, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCmdSetComputeOccupancyPriorityNV ) ) +# endif void setComputeOccupancyPriorityNV( ComputeOccupancyPriorityParametersNV const & parameters, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -9215,8 +11753,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCmdSetPrimitiveRestartIndexEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartIndexEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCmdSetPrimitiveRestartIndexEXT ) ) +#endif void setPrimitiveRestartIndexEXT( uint32_t primitiveRestartIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; operator VkCommandBuffer() const VULKAN_HPP_NOEXCEPT @@ -10514,16 +13057,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetExternalComputeQueueDataNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetExternalComputeQueueDataNV ) ) +#endif void getData( ExternalComputeQueueDataParamsNV * params, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExternalComputeQueueDataNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetExternalComputeQueueDataNV ) ) +# endif VULKAN_HPP_NODISCARD std::pair getData( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -11887,14 +14440,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit ) ) +#endif VULKAN_HPP_NODISCARD Result submit( uint32_t submitCount, SubmitInfo const * pSubmits, Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type submit( ArrayProxy const & submits, Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -11902,23 +14465,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD Result waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueBindSparse ) ) +#endif VULKAN_HPP_NODISCARD Result bindSparse( uint32_t bindInfoCount, BindSparseInfo const * pBindInfo, Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueBindSparse ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindSparse( ArrayProxy const & bindInfo, Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), @@ -11928,14 +14511,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_3 === // wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit2 ) ) +#endif VULKAN_HPP_NODISCARD Result submit2( uint32_t submitCount, SubmitInfo2 const * pSubmits, Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type submit2( ArrayProxy const & submits, Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -11944,12 +14537,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_swapchain === // wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueuePresentKHR ) ) +#endif VULKAN_HPP_NODISCARD Result presentKHR( PresentInfoKHR const * pPresentInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueuePresentKHR ) ) +# endif VULKAN_HPP_NODISCARD Result presentKHR( PresentInfoKHR const & presentInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -11957,34 +14560,59 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueBeginDebugUtilsLabelEXT ) ) +#endif void beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueBeginDebugUtilsLabelEXT ) ) +# endif void beginDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkQueueEndDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueEndDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueEndDebugUtilsLabelEXT ) ) +#endif void endDebugUtilsLabelEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueInsertDebugUtilsLabelEXT ) ) +#endif void insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const * pLabelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueInsertDebugUtilsLabelEXT ) ) +# endif void insertDebugUtilsLabelEXT( DebugUtilsLabelEXT const & labelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -11992,45 +14620,79 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_device_diagnostic_checkpoints === // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +#endif void getCheckpointDataNV( uint32_t * pCheckpointDataCount, CheckpointDataNV * pCheckpointData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CheckpointDataNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +# endif VULKAN_HPP_NODISCARD std::vector getCheckpointDataNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CheckpointDataNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetQueueCheckpointDataNV ) ) +# endif VULKAN_HPP_NODISCARD std::vector getCheckpointDataNV( CheckpointDataNVAllocator const & checkpointDataNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +#endif void getCheckpointData2NV( uint32_t * pCheckpointDataCount, CheckpointData2NV * pCheckpointData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CheckpointData2NVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +# endif VULKAN_HPP_NODISCARD std::vector getCheckpointData2NV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CheckpointData2NVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetQueueCheckpointData2NV ) ) +# endif VULKAN_HPP_NODISCARD std::vector getCheckpointData2NV( CheckpointData2NVAllocator const & checkpointData2NVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -12040,15 +14702,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD Result setPerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -12056,12 +14728,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QCOM_queue_perf_hint === // wrapper function for command vkQueueSetPerfHintQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerfHintQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueSetPerfHintQCOM ) ) +#endif VULKAN_HPP_NODISCARD Result setPerfHintQCOM( PerfHintInfoQCOM const * pPerfHintInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSetPerfHintQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerfHintQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSetPerfHintQCOM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPerfHintQCOM( PerfHintInfoQCOM const & perfHintInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -12070,21 +14752,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkQueueNotifyOutOfBandLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandLegacyNV ) ) +#endif void notifyOutOfBandLegacyNV( uint32_t queueType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_KHR_synchronization2 === // wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueSubmit2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result submit2KHR( uint32_t submitCount, SubmitInfo2 const * pSubmits, Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueSubmit2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type submit2KHR( ArrayProxy const & submits, Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), @@ -12094,12 +14791,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_low_latency2 === // wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandNV ) ) +#endif void notifyOutOfBandNV( OutOfBandQueueTypeInfoNV const * pQueueTypeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkQueueNotifyOutOfBandNV ) ) +# endif void notifyOutOfBandNV( OutOfBandQueueTypeInfoNV const & queueTypeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -12197,33 +14904,63 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceProcAddr ) ) +#endif PFN_vkVoidFunction getProcAddr( char const * pName, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceProcAddr ) ) +# endif PFN_VoidFunction getProcAddr( std::string const & name, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDevice.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDevice ) ) +#endif void destroy( AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDevice ) ) +# endif void destroy( Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceQueue ) ) +#endif void getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Queue * pQueue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceQueue ) ) +# endif VULKAN_HPP_NODISCARD Queue getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -12231,30 +14968,55 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDeviceWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD Result waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDeviceWaitIdle ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type waitIdle( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +#endif VULKAN_HPP_NODISCARD Result allocateMemory( MemoryAllocateInfo const * pAllocateInfo, AllocationCallbacks const * pAllocator, DeviceMemory * pMemory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type allocateMemory( MemoryAllocateInfo const & allocateInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAllocateMemory ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type allocateMemoryUnique( MemoryAllocateInfo const & allocateInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12263,33 +15025,58 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +#endif void freeMemory( DeviceMemory memory, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +# endif void freeMemory( DeviceMemory memory VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +#endif void( free )( DeviceMemory memory, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeMemory ) ) +# endif void( free )( DeviceMemory memory, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkMapMemory ) ) +#endif VULKAN_HPP_NODISCARD Result mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, @@ -12298,7 +15085,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkMapMemory ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type mapMemory( DeviceMemory memory, DeviceSize offset, DeviceSize size, @@ -12307,112 +15099,192 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory ) ) +#endif void unmapMemory( DeviceMemory memory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFlushMappedMemoryRanges ) ) +#endif VULKAN_HPP_NODISCARD Result flushMappedMemoryRanges( uint32_t memoryRangeCount, MappedMemoryRange const * pMemoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFlushMappedMemoryRanges ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type flushMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkInvalidateMappedMemoryRanges, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkInvalidateMappedMemoryRanges ) ) +#endif VULKAN_HPP_NODISCARD Result invalidateMappedMemoryRanges( uint32_t memoryRangeCount, MappedMemoryRange const * pMemoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkInvalidateMappedMemoryRanges, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkInvalidateMappedMemoryRanges ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type invalidateMappedMemoryRanges( ArrayProxy const & memoryRanges, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceMemoryCommitment, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryCommitment ) ) +#endif void getMemoryCommitment( DeviceMemory memory, DeviceSize * pCommittedMemoryInBytes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryCommitment, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryCommitment ) ) +# endif VULKAN_HPP_NODISCARD DeviceSize getMemoryCommitment( DeviceMemory memory, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory ) ) +# endif VULKAN_HPP_NODISCARD Result bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory( Buffer buffer, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory ) ) +# endif VULKAN_HPP_NODISCARD Result bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory( Image image, DeviceMemory memory, DeviceSize memoryOffset, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements ) ) +#endif void getBufferMemoryRequirements( Buffer buffer, MemoryRequirements * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements getBufferMemoryRequirements( Buffer buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements ) ) +#endif void getImageMemoryRequirements( Image image, MemoryRequirements * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements getImageMemoryRequirements( Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +#endif void getImageSparseMemoryRequirements( Image image, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements * pSparseMemoryRequirements, @@ -12420,20 +15292,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirementsAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirementsAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirementsAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirementsAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( Image image, SparseImageMemoryRequirementsAllocator const & sparseImageMemoryRequirementsAllocator, @@ -12441,21 +15325,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +#endif VULKAN_HPP_NODISCARD Result createFence( FenceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Fence * pFence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createFence( FenceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateFence ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createFenceUnique( FenceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12464,53 +15363,98 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +#endif void destroyFence( Fence fence, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +# endif void destroyFence( Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +#endif void destroy( Fence fence, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFence.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyFence ) ) +# endif void destroy( Fence fence, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkResetFences ) ) +#endif VULKAN_HPP_NODISCARD Result resetFences( uint32_t fenceCount, Fence const * pFences, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetFences ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type resetFences( ArrayProxy const & fences, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetFenceStatus ) ) +# endif VULKAN_HPP_NODISCARD Result getFenceStatus( Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetFenceStatus ) ) +# endif VULKAN_HPP_NODISCARD Result getFenceStatus( Fence fence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWaitForFences ) ) +#endif VULKAN_HPP_NODISCARD Result waitForFences( uint32_t fenceCount, Fence const * pFences, Bool32 waitAll, @@ -12518,7 +15462,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitForFences ) ) +# endif VULKAN_HPP_NODISCARD Result waitForFences( ArrayProxy const & fences, Bool32 waitAll, uint64_t timeout, @@ -12526,21 +15475,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +#endif VULKAN_HPP_NODISCARD Result createSemaphore( SemaphoreCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Semaphore * pSemaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSemaphore( SemaphoreCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSemaphore ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSemaphoreUnique( SemaphoreCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12549,47 +15513,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +#endif void destroySemaphore( Semaphore semaphore, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +# endif void destroySemaphore( Semaphore semaphore VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +#endif void destroy( Semaphore semaphore, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySemaphore ) ) +# endif void destroy( Semaphore semaphore, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +#endif VULKAN_HPP_NODISCARD Result createQueryPool( QueryPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, QueryPool * pQueryPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createQueryPool( QueryPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateQueryPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createQueryPoolUnique( QueryPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12598,33 +15597,58 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +#endif void destroyQueryPool( QueryPool queryPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +# endif void destroyQueryPool( QueryPool queryPool VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +#endif void destroy( QueryPool queryPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyQueryPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyQueryPool ) ) +# endif void destroy( QueryPool queryPool, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +#endif VULKAN_HPP_NODISCARD Result getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -12635,11 +15659,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> getQueryPoolResults( QueryPool queryPool, uint32_t firstQuery, @@ -12649,9 +15678,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE QueryResultFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetQueryPoolResults ) ) +# endif VULKAN_HPP_NODISCARD ResultValue getQueryPoolResult( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -12661,21 +15695,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +#endif VULKAN_HPP_NODISCARD Result createBuffer( BufferCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Buffer * pBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createBuffer( BufferCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBuffer ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createBufferUnique( BufferCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12684,46 +15733,81 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +#endif void destroyBuffer( Buffer buffer, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +# endif void destroyBuffer( Buffer buffer VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +#endif void destroy( Buffer buffer, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBuffer ) ) +# endif void destroy( Buffer buffer, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +#endif VULKAN_HPP_NODISCARD Result createImage( ImageCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Image * pImage, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createImage( ImageCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImage ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createImageUnique( ImageCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12732,59 +15816,104 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +#endif void destroyImage( Image image, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +# endif void destroyImage( Image image VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +#endif void destroy( Image image, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyImage ) ) +# endif void destroy( Image image, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageSubresourceLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout ) ) +#endif void getImageSubresourceLayout( Image image, ImageSubresource const * pSubresource, SubresourceLayout * pLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout getImageSubresourceLayout( Image image, ImageSubresource const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +#endif VULKAN_HPP_NODISCARD Result createImageView( ImageViewCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, ImageView * pView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createImageView( ImageViewCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImageView ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createImageViewUnique( ImageViewCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12793,47 +15922,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +#endif void destroyImageView( ImageView imageView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +# endif void destroyImageView( ImageView imageView VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +#endif void destroy( ImageView imageView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyImageView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyImageView ) ) +# endif void destroy( ImageView imageView, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +#endif VULKAN_HPP_NODISCARD Result createCommandPool( CommandPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, CommandPool * pCommandPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createCommandPool( CommandPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCommandPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createCommandPoolUnique( CommandPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12842,26 +16006,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +#endif void destroyCommandPool( CommandPool commandPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +# endif void destroyCommandPool( CommandPool commandPool VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +#endif void destroy( CommandPool commandPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCommandPool ) ) +# endif void destroy( CommandPool commandPool, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -12869,13 +16053,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetCommandPool ) ) +# endif VULKAN_HPP_NODISCARD Result resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetCommandPool ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type resetCommandPool( CommandPool commandPool, CommandPoolResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), @@ -12883,40 +16077,67 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +#endif VULKAN_HPP_NODISCARD Result allocateCommandBuffers( CommandBufferAllocateInfo const * pAllocateInfo, CommandBuffer * pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CommandBufferAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CommandBufferAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo, CommandBufferAllocator const & commandBufferAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > CommandBufferAllocator = std::allocator>> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, CommandBufferAllocator>>::type allocateCommandBuffersUnique( CommandBufferAllocateInfo const & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > CommandBufferAllocator = std::allocator>> + requires( IS_DISPATCHED( vkAllocateCommandBuffers ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, CommandBufferAllocator>>::type allocateCommandBuffersUnique( CommandBufferAllocateInfo const & allocateInfo, CommandBufferAllocator const & commandBufferAllocator, @@ -12925,49 +16146,84 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +#endif void freeCommandBuffers( CommandPool commandPool, uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +# endif void freeCommandBuffers( CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +#endif void( free )( CommandPool commandPool, uint32_t commandBufferCount, CommandBuffer const * pCommandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeCommandBuffers.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeCommandBuffers ) ) +# endif void( free )( CommandPool commandPool, ArrayProxy const & commandBuffers, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +#endif VULKAN_HPP_NODISCARD Result createEvent( EventCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Event * pEvent, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createEvent( EventCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateEvent ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createEventUnique( EventCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -12976,24 +16232,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +#endif void destroyEvent( Event event, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +# endif void destroyEvent( Event event VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +#endif void destroy( Event event, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyEvent ) ) +# endif void destroy( Event event, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13001,52 +16277,97 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetEventStatus ) ) +# endif VULKAN_HPP_NODISCARD Result getEventStatus( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetEventStatus ) ) +# endif VULKAN_HPP_NODISCARD Result getEventStatus( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetEvent ) ) +# endif VULKAN_HPP_NODISCARD Result setEvent( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetEvent ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setEvent( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetEvent ) ) +# endif VULKAN_HPP_NODISCARD Result resetEvent( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetEvent ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type resetEvent( Event event, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +#endif VULKAN_HPP_NODISCARD Result createBufferView( BufferViewCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, BufferView * pView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createBufferView( BufferViewCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBufferView ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createBufferViewUnique( BufferViewCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13055,47 +16376,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +#endif void destroyBufferView( BufferView bufferView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +# endif void destroyBufferView( BufferView bufferView VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +#endif void destroy( BufferView bufferView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferView.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferView ) ) +# endif void destroy( BufferView bufferView, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +#endif VULKAN_HPP_NODISCARD Result createShaderModule( ShaderModuleCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, ShaderModule * pShaderModule, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createShaderModule( ShaderModuleCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShaderModule ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createShaderModuleUnique( ShaderModuleCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13104,47 +16460,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +#endif void destroyShaderModule( ShaderModule shaderModule, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +# endif void destroyShaderModule( ShaderModule shaderModule VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +#endif void destroy( ShaderModule shaderModule, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderModule.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderModule ) ) +# endif void destroy( ShaderModule shaderModule, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +#endif VULKAN_HPP_NODISCARD Result createPipelineCache( PipelineCacheCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineCache * pPipelineCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createPipelineCache( PipelineCacheCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineCache ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createPipelineCacheUnique( PipelineCacheCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13153,69 +16544,119 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +#endif void destroyPipelineCache( PipelineCache pipelineCache, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +# endif void destroyPipelineCache( PipelineCache pipelineCache VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +#endif void destroy( PipelineCache pipelineCache, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineCache.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineCache ) ) +# endif void destroy( PipelineCache pipelineCache, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineCacheData( PipelineCache pipelineCache, size_t * pDataSize, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineCacheData( PipelineCache pipelineCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineCacheData ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineCacheData( PipelineCache pipelineCache, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkMergePipelineCaches ) ) +#endif VULKAN_HPP_NODISCARD Result mergePipelineCaches( PipelineCache dstCache, uint32_t srcCacheCount, PipelineCache const * pSrcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkMergePipelineCaches ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type mergePipelineCaches( PipelineCache dstCache, ArrayProxy const & srcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +#endif VULKAN_HPP_NODISCARD Result createComputePipelines( PipelineCache pipelineCache, uint32_t createInfoCount, ComputePipelineCreateInfo const * pCreateInfos, @@ -13224,20 +16665,30 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createComputePipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createComputePipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -13245,27 +16696,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineAllocator const & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createComputePipeline( PipelineCache pipelineCache, ComputePipelineCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createComputePipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -13273,7 +16741,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineAllocator const & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateComputePipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createComputePipelineUnique( PipelineCache pipelineCache, ComputePipelineCreateInfo const & createInfo, @@ -13283,47 +16756,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +#endif void destroyPipeline( Pipeline pipeline, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +# endif void destroyPipeline( Pipeline pipeline VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +#endif void destroy( Pipeline pipeline, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipeline.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipeline ) ) +# endif void destroy( Pipeline pipeline, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +#endif VULKAN_HPP_NODISCARD Result createPipelineLayout( PipelineLayoutCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineLayout * pPipelineLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createPipelineLayout( PipelineLayoutCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePipelineLayout ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createPipelineLayoutUnique( PipelineLayoutCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13332,47 +16840,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +#endif void destroyPipelineLayout( PipelineLayout pipelineLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +# endif void destroyPipelineLayout( PipelineLayout pipelineLayout VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +#endif void destroy( PipelineLayout pipelineLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineLayout ) ) +# endif void destroy( PipelineLayout pipelineLayout, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +#endif VULKAN_HPP_NODISCARD Result createSampler( SamplerCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Sampler * pSampler, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSampler( SamplerCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSampler ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSamplerUnique( SamplerCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13381,46 +16924,81 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +#endif void destroySampler( Sampler sampler, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +# endif void destroySampler( Sampler sampler VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +#endif void destroy( Sampler sampler, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySampler.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySampler ) ) +# endif void destroy( Sampler sampler, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +#endif VULKAN_HPP_NODISCARD Result createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorSetLayout * pSetLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorSetLayout ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDescriptorSetLayoutUnique( DescriptorSetLayoutCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13430,14 +17008,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorSetLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +#endif void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorSetLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +# endif void destroyDescriptorSetLayout( DescriptorSetLayout descriptorSetLayout VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13445,35 +17033,60 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorSetLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +#endif void destroy( DescriptorSetLayout descriptorSetLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorSetLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorSetLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorSetLayout ) ) +# endif void destroy( DescriptorSetLayout descriptorSetLayout, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +#endif VULKAN_HPP_NODISCARD Result createDescriptorPool( DescriptorPoolCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorPool * pDescriptorPool, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDescriptorPool( DescriptorPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDescriptorPoolUnique( DescriptorPoolCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13482,26 +17095,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +#endif void destroyDescriptorPool( DescriptorPool descriptorPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +# endif void destroyDescriptorPool( DescriptorPool descriptorPool VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +#endif void destroy( DescriptorPool descriptorPool, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorPool ) ) +# endif void destroy( DescriptorPool descriptorPool, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13509,13 +17142,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD Result resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetDescriptorPool ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type resetDescriptorPool( DescriptorPool descriptorPool, DescriptorPoolResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), @@ -13523,40 +17166,67 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD Result allocateDescriptorSets( DescriptorSetAllocateInfo const * pAllocateInfo, DescriptorSet * pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DescriptorSetAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DescriptorSetAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo, DescriptorSetAllocator const & descriptorSetAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > DescriptorSetAllocator = std::allocator>> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, DescriptorSetAllocator>>::type allocateDescriptorSetsUnique( DescriptorSetAllocateInfo const & allocateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > DescriptorSetAllocator = std::allocator>> + requires( IS_DISPATCHED( vkAllocateDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, DescriptorSetAllocator>>::type allocateDescriptorSetsUnique( DescriptorSetAllocateInfo const & allocateInfo, DescriptorSetAllocator const & descriptorSetAllocator, @@ -13565,14 +17235,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD Result freeDescriptorSets( DescriptorPool descriptorPool, uint32_t descriptorSetCount, DescriptorSet const * pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type freeDescriptorSets( DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, @@ -13580,21 +17260,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +#endif VULKAN_HPP_NODISCARD Result( free )( DescriptorPool descriptorPool, uint32_t descriptorSetCount, DescriptorSet const * pDescriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkFreeDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFreeDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkFreeDescriptorSets ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type( free )( DescriptorPool descriptorPool, ArrayProxy const & descriptorSets, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSets ) ) +#endif void updateDescriptorSets( uint32_t descriptorWriteCount, WriteDescriptorSet const * pDescriptorWrites, uint32_t descriptorCopyCount, @@ -13602,14 +17297,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSets ) ) +# endif void updateDescriptorSets( ArrayProxy const & descriptorWrites, ArrayProxy const & descriptorCopies, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +#endif VULKAN_HPP_NODISCARD Result createGraphicsPipelines( PipelineCache pipelineCache, uint32_t createInfoCount, GraphicsPipelineCreateInfo const * pCreateInfos, @@ -13618,20 +17323,30 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelines( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -13639,27 +17354,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineAllocator const & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createGraphicsPipeline( PipelineCache pipelineCache, GraphicsPipelineCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createGraphicsPipelinesUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -13667,7 +17399,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE PipelineAllocator const & pipelineAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateGraphicsPipelines ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createGraphicsPipelineUnique( PipelineCache pipelineCache, GraphicsPipelineCreateInfo const & createInfo, @@ -13677,21 +17414,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +#endif VULKAN_HPP_NODISCARD Result createFramebuffer( FramebufferCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Framebuffer * pFramebuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createFramebuffer( FramebufferCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateFramebuffer ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createFramebufferUnique( FramebufferCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13700,47 +17452,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +#endif void destroyFramebuffer( Framebuffer framebuffer, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +# endif void destroyFramebuffer( Framebuffer framebuffer VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +#endif void destroy( Framebuffer framebuffer, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyFramebuffer.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyFramebuffer ) ) +# endif void destroy( Framebuffer framebuffer, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +#endif VULKAN_HPP_NODISCARD Result createRenderPass( RenderPassCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createRenderPass( RenderPassCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createRenderPassUnique( RenderPassCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13749,39 +17536,69 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +#endif void destroyRenderPass( RenderPass renderPass, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +# endif void destroyRenderPass( RenderPass renderPass VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +#endif void destroy( RenderPass renderPass, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyRenderPass.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyRenderPass ) ) +# endif void destroy( RenderPass renderPass, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRenderAreaGranularity ) ) +#endif void getRenderAreaGranularity( RenderPass renderPass, Extent2D * pGranularity, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRenderAreaGranularity ) ) +# endif VULKAN_HPP_NODISCARD Extent2D getRenderAreaGranularity( RenderPass renderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -13789,33 +17606,58 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_1 === // wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindBufferMemory2 ) ) +#endif VULKAN_HPP_NODISCARD Result bindBufferMemory2( uint32_t bindInfoCount, BindBufferMemoryInfo const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory2( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindImageMemory2 ) ) +#endif VULKAN_HPP_NODISCARD Result bindImageMemory2( uint32_t bindInfoCount, BindImageMemoryInfo const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory2( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeatures ) ) +#endif void getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, @@ -13824,8 +17666,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeatures ) ) +# endif VULKAN_HPP_NODISCARD PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( uint32_t heapIndex, uint32_t localDeviceIndex, @@ -13835,25 +17682,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +#endif void getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetImageMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13861,25 +17723,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +#endif void getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetBufferMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13887,8 +17764,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +#endif void getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -13896,20 +17778,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetImageSparseMemoryRequirements2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2( ImageSparseMemoryRequirementsInfo2 const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -13917,26 +17811,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTrimCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkTrimCommandPool ) ) +#endif void trimCommandPool( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceQueue2 ) ) +#endif void getQueue2( DeviceQueueInfo2 const * pQueueInfo, Queue * pQueue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceQueue2 ) ) +# endif VULKAN_HPP_NODISCARD Queue getQueue2( DeviceQueueInfo2 const & queueInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +#endif VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorUpdateTemplate * pDescriptorUpdateTemplate, @@ -13944,8 +17858,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13953,8 +17872,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplate ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDescriptorUpdateTemplateUnique( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -13964,16 +17888,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +#endif void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +# endif void destroyDescriptorUpdateTemplate( DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13981,16 +17915,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +#endif void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplate ) ) +# endif void destroy( DescriptorUpdateTemplate descriptorUpdateTemplate, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -13998,8 +17942,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplate ) ) +#endif void updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, void const * pData, @@ -14007,9 +17956,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSetWithTemplate, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplate ) ) +# endif void updateDescriptorSetWithTemplate( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data, @@ -14018,25 +17972,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +#endif void getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const * pCreateInfo, DescriptorSetLayoutSupport * pSupport, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +# endif VULKAN_HPP_NODISCARD DescriptorSetLayoutSupport getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDescriptorSetLayoutSupport, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupport ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupport( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14044,8 +18013,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +#endif VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, SamplerYcbcrConversion * pYcbcrConversion, @@ -14053,8 +18027,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14062,8 +18041,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversion ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSamplerYcbcrConversionUnique( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14073,16 +18057,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +#endif void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +# endif void destroySamplerYcbcrConversion( SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14090,16 +18084,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +#endif void destroy( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversion, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversion ) ) +# endif void destroy( SamplerYcbcrConversion ycbcrConversion, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14108,105 +18112,185 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_2 === // wrapper function for command vkResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPool.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkResetQueryPool ) ) +#endif void resetQueryPool( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValue ) ) +#endif VULKAN_HPP_NODISCARD Result getSemaphoreCounterValue( Semaphore semaphore, uint64_t * pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValue ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSemaphoreCounterValue( Semaphore semaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWaitSemaphores ) ) +#endif VULKAN_HPP_NODISCARD Result waitSemaphores( SemaphoreWaitInfo const * pWaitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitSemaphores ) ) +# endif VULKAN_HPP_NODISCARD Result waitSemaphores( SemaphoreWaitInfo const & waitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSignalSemaphore ) ) +#endif VULKAN_HPP_NODISCARD Result signalSemaphore( SemaphoreSignalInfo const * pSignalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSignalSemaphore ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type signalSemaphore( SemaphoreSignalInfo const & signalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddress ) ) +#endif DeviceAddress getBufferAddress( BufferDeviceAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddress ) ) +# endif DeviceAddress getBufferAddress( BufferDeviceAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddress ) ) +#endif uint64_t getBufferOpaqueCaptureAddress( BufferDeviceAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddress ) ) +# endif uint64_t getBufferOpaqueCaptureAddress( BufferDeviceAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddress ) ) +#endif uint64_t getMemoryOpaqueCaptureAddress( DeviceMemoryOpaqueCaptureAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddress ) ) +# endif uint64_t getMemoryOpaqueCaptureAddress( DeviceMemoryOpaqueCaptureAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +#endif VULKAN_HPP_NODISCARD Result createRenderPass2( RenderPassCreateInfo2 const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createRenderPass2( RenderPassCreateInfo2 const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2 ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createRenderPass2Unique( RenderPassCreateInfo2 const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14217,21 +18301,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_3 === // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +#endif VULKAN_HPP_NODISCARD Result createPrivateDataSlot( PrivateDataSlotCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PrivateDataSlot * pPrivateDataSlot, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createPrivateDataSlot( PrivateDataSlotCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlot ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createPrivateDataSlotUnique( PrivateDataSlotCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14240,26 +18339,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +#endif void destroyPrivateDataSlot( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +# endif void destroyPrivateDataSlot( PrivateDataSlot privateDataSlot VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +#endif void destroy( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlot.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlot ) ) +# endif void destroy( PrivateDataSlot privateDataSlot, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14267,7 +18386,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD Result setPrivateData( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -14275,7 +18399,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPrivateData( ObjectType objectType, uint64_t objectHandle, @@ -14285,7 +18414,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPrivateData ) ) +#endif void getPrivateData( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -14293,7 +18427,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPrivateData ) ) +# endif VULKAN_HPP_NODISCARD uint64_t getPrivateData( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -14302,25 +18441,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +#endif void getBufferMemoryRequirements( DeviceBufferMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements( DeviceBufferMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceBufferMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements( DeviceBufferMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14328,25 +18482,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +#endif void getImageMemoryRequirements( DeviceImageMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceImageMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14354,8 +18523,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +#endif void getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -14363,20 +18537,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirements ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements( DeviceImageMemoryRequirements const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -14386,49 +18572,84 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_4 === // wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkMapMemory2 ) ) +#endif VULKAN_HPP_NODISCARD Result mapMemory2( MemoryMapInfo const * pMemoryMapInfo, void ** ppData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkMapMemory2 ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type mapMemory2( MemoryMapInfo const & memoryMapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory2 ) ) +#endif VULKAN_HPP_NODISCARD Result unmapMemory2( MemoryUnmapInfo const * pMemoryUnmapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUnmapMemory2 ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type unmapMemory2( MemoryUnmapInfo const & memoryUnmapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +#endif void getImageSubresourceLayout( DeviceImageSubresourceInfo const * pInfo, SubresourceLayout2 * pLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayout( DeviceImageSubresourceInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceImageSubresourceLayout, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayout ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageSubresourceLayout( DeviceImageSubresourceInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14436,7 +18657,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +#endif void getImageSubresourceLayout2( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, @@ -14444,62 +18670,112 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayout2( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetImageSubresourceLayout2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageSubresourceLayout2( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToImage ) ) +#endif VULKAN_HPP_NODISCARD Result copyMemoryToImage( CopyMemoryToImageInfo const * pCopyMemoryToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToImage ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyMemoryToImage( CopyMemoryToImageInfo const & copyMemoryToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyImageToMemory ) ) +#endif VULKAN_HPP_NODISCARD Result copyImageToMemory( CopyImageToMemoryInfo const * pCopyImageToMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyImageToMemory ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyImageToMemory( CopyImageToMemoryInfo const & copyImageToMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyImageToImage ) ) +#endif VULKAN_HPP_NODISCARD Result copyImageToImage( CopyImageToImageInfo const * pCopyImageToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyImageToImage ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyImageToImage( CopyImageToImageInfo const & copyImageToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkTransitionImageLayout ) ) +#endif VULKAN_HPP_NODISCARD Result transitionImageLayout( uint32_t transitionCount, HostImageLayoutTransitionInfo const * pTransitions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkTransitionImageLayout ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type transitionImageLayout( ArrayProxy const & transitions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -14507,16 +18783,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRenderingAreaGranularity, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularity ) ) +#endif void getRenderingAreaGranularity( RenderingAreaInfo const * pRenderingAreaInfo, Extent2D * pGranularity, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderingAreaGranularity, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularity ) ) +# endif VULKAN_HPP_NODISCARD Extent2D getRenderingAreaGranularity( RenderingAreaInfo const & renderingAreaInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -14524,21 +18810,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_swapchain === // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createSwapchainKHR( SwapchainCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SwapchainKHR * pSwapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSwapchainKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSwapchainKHRUnique( SwapchainCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14547,56 +18848,96 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +#endif void destroySwapchainKHR( SwapchainKHR swapchain, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +# endif void destroySwapchainKHR( SwapchainKHR swapchain VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +#endif void destroy( SwapchainKHR swapchain, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySwapchainKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySwapchainKHR ) ) +# endif void destroy( SwapchainKHR swapchain, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSwapchainImagesKHR( SwapchainKHR swapchain, uint32_t * pSwapchainImageCount, Image * pSwapchainImages, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ImageAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSwapchainImagesKHR( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ImageAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSwapchainImagesKHR( SwapchainKHR swapchain, ImageAllocator const & imageAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAcquireNextImageKHR ) ) +#endif VULKAN_HPP_NODISCARD Result acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore, @@ -14605,7 +18946,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireNextImageKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue acquireNextImageKHR( SwapchainKHR swapchain, uint64_t timeout, Semaphore semaphore VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), @@ -14615,43 +18961,73 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPresentCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getGroupPresentCapabilitiesKHR( DeviceGroupPresentCapabilitiesKHR * pDeviceGroupPresentCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPresentCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getGroupPresentCapabilitiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModesKHR( SurfaceKHR surface, DeviceGroupPresentModeFlagsKHR * pModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getGroupSurfacePresentModesKHR( SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAcquireNextImage2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result acquireNextImage2KHR( AcquireNextImageInfoKHR const * pAcquireInfo, uint32_t * pImageIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireNextImage2KHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue acquireNextImage2KHR( AcquireNextImageInfoKHR const & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -14659,7 +19035,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_display_swapchain === // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createSharedSwapchainsKHR( uint32_t swapchainCount, SwapchainCreateInfoKHR const * pCreateInfos, AllocationCallbacks const * pAllocator, @@ -14667,52 +19048,84 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SwapchainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SwapchainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSharedSwapchainsKHR( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator const & swapchainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSharedSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > SwapchainKHRAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, SwapchainKHRAllocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > SwapchainKHRAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, SwapchainKHRAllocator>>::type createSharedSwapchainsKHRUnique( ArrayProxy const & createInfos, Optional allocator, SwapchainKHRAllocator const & swapchainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSharedSwapchainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSharedSwapchainKHRUnique( SwapchainCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14724,28 +19137,48 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDebugMarkerSetObjectTagEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectTagEXT ) ) +#endif VULKAN_HPP_NODISCARD Result debugMarkerSetObjectTagEXT( DebugMarkerObjectTagInfoEXT const * pTagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugMarkerSetObjectTagEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type debugMarkerSetObjectTagEXT( DebugMarkerObjectTagInfoEXT const & tagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDebugMarkerSetObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectNameEXT ) ) +#endif VULKAN_HPP_NODISCARD Result debugMarkerSetObjectNameEXT( DebugMarkerObjectNameInfoEXT const * pNameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugMarkerSetObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDebugMarkerSetObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type debugMarkerSetObjectNameEXT( DebugMarkerObjectNameInfoEXT const & nameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -14753,21 +19186,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_video_queue === // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createVideoSessionKHR( VideoSessionCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, VideoSessionKHR * pVideoSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createVideoSessionKHR( VideoSessionCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createVideoSessionKHRUnique( VideoSessionCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14776,26 +19224,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +#endif void destroyVideoSessionKHR( VideoSessionKHR videoSession, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +# endif void destroyVideoSessionKHR( VideoSessionKHR videoSession VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +#endif void destroy( VideoSessionKHR videoSession, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionKHR ) ) +# endif void destroy( VideoSessionKHR videoSession, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14803,8 +19271,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getVideoSessionMemoryRequirementsKHR( VideoSessionKHR videoSession, uint32_t * pMemoryRequirementsCount, VideoSessionMemoryRequirementsKHR * pMemoryRequirements, @@ -14812,20 +19285,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template VideoSessionMemoryRequirementsKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoSessionMemoryRequirementsKHR( VideoSessionKHR videoSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template VideoSessionMemoryRequirementsKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetVideoSessionMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoSessionMemoryRequirementsKHR( VideoSessionKHR videoSession, VideoSessionMemoryRequirementsKHRAllocator const & videoSessionMemoryRequirementsKHRAllocator, @@ -14833,14 +19318,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindVideoSessionMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindVideoSessionMemoryKHR ) ) +#endif VULKAN_HPP_NODISCARD Result bindVideoSessionMemoryKHR( VideoSessionKHR videoSession, uint32_t bindSessionMemoryInfoCount, BindVideoSessionMemoryInfoKHR const * pBindSessionMemoryInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindVideoSessionMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindVideoSessionMemoryKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindVideoSessionMemoryKHR( VideoSessionKHR videoSession, ArrayProxy const & bindSessionMemoryInfos, @@ -14849,8 +19344,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, VideoSessionParametersKHR * pVideoSessionParameters, @@ -14858,8 +19358,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14867,8 +19372,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createVideoSessionParametersKHRUnique( VideoSessionParametersCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14878,16 +19388,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD Result updateVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, VideoSessionParametersUpdateInfoKHR const * pUpdateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type updateVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, VideoSessionParametersUpdateInfoKHR const & updateInfo, @@ -14896,16 +19416,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +#endif void destroyVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +# endif void destroyVideoSessionParametersKHR( VideoSessionParametersKHR videoSessionParameters VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14913,16 +19443,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +#endif void destroy( VideoSessionParametersKHR videoSessionParameters, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyVideoSessionParametersKHR ) ) +# endif void destroy( VideoSessionParametersKHR videoSessionParameters, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -14931,21 +19471,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NVX_binary_import === // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +#endif VULKAN_HPP_NODISCARD Result createCuModuleNVX( CuModuleCreateInfoNVX const * pCreateInfo, AllocationCallbacks const * pAllocator, CuModuleNVX * pModule, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createCuModuleNVX( CuModuleCreateInfoNVX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCuModuleNVX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createCuModuleNVXUnique( CuModuleCreateInfoNVX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14954,21 +19509,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +#endif VULKAN_HPP_NODISCARD Result createCuFunctionNVX( CuFunctionCreateInfoNVX const * pCreateInfo, AllocationCallbacks const * pAllocator, CuFunctionNVX * pFunction, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createCuFunctionNVX( CuFunctionCreateInfoNVX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCuFunctionNVX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createCuFunctionNVXUnique( CuFunctionCreateInfoNVX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -14977,52 +19547,92 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +#endif void destroyCuModuleNVX( CuModuleNVX module, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +# endif void destroyCuModuleNVX( CuModuleNVX module, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +#endif void destroy( CuModuleNVX module, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuModuleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCuModuleNVX ) ) +# endif void destroy( CuModuleNVX module, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +#endif void destroyCuFunctionNVX( CuFunctionNVX function, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +# endif void destroyCuFunctionNVX( CuFunctionNVX function, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +#endif void destroy( CuFunctionNVX function, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCuFunctionNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCuFunctionNVX ) ) +# endif void destroy( CuFunctionNVX function, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -15031,43 +19641,78 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NVX_image_view_handle === // wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageViewHandleNVX ) ) +#endif uint32_t getImageViewHandleNVX( ImageViewHandleInfoNVX const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageViewHandleNVX ) ) +# endif uint32_t getImageViewHandleNVX( ImageViewHandleInfoNVX const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageViewHandle64NVX ) ) +#endif uint64_t getImageViewHandle64NVX( ImageViewHandleInfoNVX const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageViewHandle64NVX ) ) +# endif uint64_t getImageViewHandle64NVX( ImageViewHandleInfoNVX const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageViewAddressNVX ) ) +#endif VULKAN_HPP_NODISCARD Result getImageViewAddressNVX( ImageView imageView, ImageViewAddressPropertiesNVX * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageViewAddressNVX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageViewAddressNVX( ImageView imageView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceCombinedImageSamplerIndexNVX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceCombinedImageSamplerIndexNVX.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceCombinedImageSamplerIndexNVX ) ) +#endif uint64_t getCombinedImageSamplerIndexNVX( uint64_t imageViewIndex, uint64_t samplerIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -15075,7 +19720,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_shader_info === // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +#endif VULKAN_HPP_NODISCARD Result getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, @@ -15084,17 +19734,27 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetShaderInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, @@ -15107,14 +19767,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_external_memory_win32 === // wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleNV ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, HANDLE * pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryWin32HandleNV( DeviceMemory memory, ExternalMemoryHandleTypeFlagsNV handleType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -15125,8 +19795,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeaturesKHR ) ) +#endif void getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, uint32_t remoteDeviceIndex, @@ -15135,8 +19810,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupPeerMemoryFeaturesKHR ) ) +# endif VULKAN_HPP_NODISCARD PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, uint32_t localDeviceIndex, @@ -15147,7 +19827,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_maintenance1 === // wrapper function for command vkTrimCommandPoolKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPoolKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkTrimCommandPoolKHR ) ) +#endif void trimCommandPoolKHR( CommandPool commandPool, CommandPoolTrimFlags flags, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -15156,21 +19841,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_memory_win32 === // wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryWin32HandleKHR( MemoryGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryWin32HandleKHR( MemoryGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandlePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, MemoryWin32HandlePropertiesKHR * pMemoryWin32HandleProperties, @@ -15178,8 +19878,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryWin32HandlePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15188,26 +19893,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_memory_fd === // wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetMemoryFdKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getMemoryFdKHR( MemoryGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryFdKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryFdKHR( MemoryGetFdInfoKHR const & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetMemoryFdPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, MemoryFdPropertiesKHR * pMemoryFdProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryFdPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15217,15 +19942,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkImportSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD Result importSemaphoreWin32HandleKHR( ImportSemaphoreWin32HandleInfoKHR const * pImportSemaphoreWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreWin32HandleKHR( ImportSemaphoreWin32HandleInfoKHR const & importSemaphoreWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -15233,14 +19968,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getSemaphoreWin32HandleKHR( SemaphoreGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreWin32HandleKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSemaphoreWin32HandleKHR( SemaphoreGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15249,24 +19994,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_semaphore_fd === // wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkImportSemaphoreFdKHR ) ) +#endif VULKAN_HPP_NODISCARD Result importSemaphoreFdKHR( ImportSemaphoreFdInfoKHR const * pImportSemaphoreFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreFdKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreFdKHR( ImportSemaphoreFdInfoKHR const & importSemaphoreFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreFdKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSemaphoreFdKHR( SemaphoreGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreFdKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSemaphoreFdKHR( SemaphoreGetFdInfoKHR const & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15275,8 +20040,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, DescriptorUpdateTemplate * pDescriptorUpdateTemplate, @@ -15284,8 +20054,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -15293,8 +20068,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDescriptorUpdateTemplateKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDescriptorUpdateTemplateKHRUnique( DescriptorUpdateTemplateCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -15304,16 +20084,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplateKHR ) ) +#endif void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDescriptorUpdateTemplateKHR ) ) +# endif void destroyDescriptorUpdateTemplateKHR( DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -15321,8 +20111,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplateKHR ) ) +#endif void updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, void const * pData, @@ -15330,9 +20125,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateDescriptorSetWithTemplateKHR ) ) +# endif void updateDescriptorSetWithTemplateKHR( DescriptorSet descriptorSet, DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data, @@ -15342,33 +20142,58 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_display_control === // wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDisplayPowerControlEXT ) ) +#endif VULKAN_HPP_NODISCARD Result displayPowerControlEXT( DisplayKHR display, DisplayPowerInfoEXT const * pDisplayPowerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDisplayPowerControlEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type displayPowerControlEXT( DisplayKHR display, DisplayPowerInfoEXT const & displayPowerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +#endif VULKAN_HPP_NODISCARD Result registerEventEXT( DeviceEventInfoEXT const * pDeviceEventInfo, AllocationCallbacks const * pAllocator, Fence * pFence, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type registerEventEXT( DeviceEventInfoEXT const & deviceEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkRegisterDeviceEventEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type registerEventEXTUnique( DeviceEventInfoEXT const & deviceEventInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -15377,7 +20202,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +#endif VULKAN_HPP_NODISCARD Result registerDisplayEventEXT( DisplayKHR display, DisplayEventInfoEXT const * pDisplayEventInfo, AllocationCallbacks const * pAllocator, @@ -15385,7 +20215,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type registerDisplayEventEXT( DisplayKHR display, DisplayEventInfoEXT const & displayEventInfo, @@ -15393,7 +20228,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkRegisterDisplayEventEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type registerDisplayEventEXTUnique( DisplayKHR display, DisplayEventInfoEXT const & displayEventInfo, @@ -15403,14 +20243,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainCounterEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getSwapchainCounterEXT( SwapchainKHR swapchain, SurfaceCounterFlagBitsEXT counter, uint64_t * pCounterValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainCounterEXT ) ) +# endif VULKAN_HPP_NODISCARD # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue @@ -15424,24 +20274,39 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRefreshCycleDurationGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRefreshCycleDurationGOOGLE ) ) +#endif VULKAN_HPP_NODISCARD Result getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, RefreshCycleDurationGOOGLE * pDisplayTimingProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRefreshCycleDurationGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRefreshCycleDurationGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getRefreshCycleDurationGOOGLE( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +#endif VULKAN_HPP_NODISCARD Result getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, uint32_t * pPresentationTimingCount, PastPresentationTimingGOOGLE * pPresentationTimings, @@ -15449,11 +20314,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PastPresentationTimingGOOGLEAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PastPresentationTimingGOOGLEAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue> @@ -15463,11 +20334,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE getPastPresentationTimingGOOGLE( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPastPresentationTimingGOOGLE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PastPresentationTimingGOOGLEAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PastPresentationTimingGOOGLEAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPastPresentationTimingGOOGLE ) ) +# endif VULKAN_HPP_NODISCARD # if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) ResultValue> @@ -15482,14 +20359,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_hdr_metadata === // wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetHdrMetadataEXT ) ) +#endif void setHdrMetadataEXT( uint32_t swapchainCount, SwapchainKHR const * pSwapchains, HdrMetadataEXT const * pMetadata, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetHdrMetadataEXT ) ) +# endif void setHdrMetadataEXT( ArrayProxy const & swapchains, ArrayProxy const & metadata, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; @@ -15498,21 +20385,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_create_renderpass2 === // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result createRenderPass2KHR( RenderPassCreateInfo2 const * pCreateInfo, AllocationCallbacks const * pAllocator, RenderPass * pRenderPass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createRenderPass2KHR( RenderPassCreateInfo2 const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRenderPass2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createRenderPass2KHRUnique( RenderPassCreateInfo2 const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -15524,12 +20426,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainStatusKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainStatusKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getSwapchainStatusKHR( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -15537,25 +20449,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_fence_win32 === // wrapper function for command vkImportFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD Result importFenceWin32HandleKHR( ImportFenceWin32HandleInfoKHR const * pImportFenceWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importFenceWin32HandleKHR( ImportFenceWin32HandleInfoKHR const & importFenceWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getFenceWin32HandleKHR( FenceGetWin32HandleInfoKHR const * pGetWin32HandleInfo, HANDLE * pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetFenceWin32HandleKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getFenceWin32HandleKHR( FenceGetWin32HandleInfoKHR const & getWin32HandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15564,24 +20496,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_external_fence_fd === // wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkImportFenceFdKHR ) ) +#endif VULKAN_HPP_NODISCARD Result importFenceFdKHR( ImportFenceFdInfoKHR const * pImportFenceFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportFenceFdKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importFenceFdKHR( ImportFenceFdInfoKHR const & importFenceFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetFenceFdKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getFenceFdKHR( FenceGetFdInfoKHR const * pGetFdInfo, int * pFd, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetFenceFdKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getFenceFdKHR( FenceGetFdInfoKHR const & getFdInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15589,57 +20541,102 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_performance_query === // wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAcquireProfilingLockKHR ) ) +#endif VULKAN_HPP_NODISCARD Result acquireProfilingLockKHR( AcquireProfilingLockInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireProfilingLockKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireProfilingLockKHR( AcquireProfilingLockInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkReleaseProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseProfilingLockKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkReleaseProfilingLockKHR ) ) +#endif void releaseProfilingLockKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_EXT_debug_utils === // wrapper function for command vkSetDebugUtilsObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +#endif VULKAN_HPP_NODISCARD Result setDebugUtilsObjectNameEXT( DebugUtilsObjectNameInfoEXT const * pNameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetDebugUtilsObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectNameEXT( DebugUtilsObjectNameInfoEXT const & nameInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkSetDebugUtilsObjectNameEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, + typename std::enable_if::value, bool>::type = true> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectNameEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectNameEXT( HandleType const & handle, std::string const & name, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +#endif VULKAN_HPP_NODISCARD Result setDebugUtilsObjectTagEXT( DebugUtilsObjectTagInfoEXT const * pTagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectTagEXT( DebugUtilsObjectTagInfoEXT const & tagInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkSetDebugUtilsObjectTagEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, + typename std::enable_if::value, bool>::type = true> +# else + template + requires( IS_DISPATCHED( vkSetDebugUtilsObjectTagEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setDebugUtilsObjectTagEXT( HandleType const & handle, uint64_t name, TagType const & tag, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15649,8 +20646,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD Result getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const * buffer, AndroidHardwareBufferPropertiesANDROID * pProperties, @@ -15658,33 +20660,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAndroidHardwareBufferPropertiesANDROID ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getAndroidHardwareBufferPropertiesANDROID( struct AHardwareBuffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryAndroidHardwareBufferANDROID ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryAndroidHardwareBufferANDROID( MemoryGetAndroidHardwareBufferInfoANDROID const * pInfo, struct AHardwareBuffer ** pBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryAndroidHardwareBufferANDROID ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryAndroidHardwareBufferANDROID( MemoryGetAndroidHardwareBufferInfoANDROID const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -15694,21 +20716,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_gpa_interface === // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +#endif VULKAN_HPP_NODISCARD Result createGpaSessionAMD( GpaSessionCreateInfoAMD const * pCreateInfo, AllocationCallbacks const * pAllocator, GpaSessionAMD * pGpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createGpaSessionAMD( GpaSessionCreateInfoAMD const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createGpaSessionAMDUnique( GpaSessionCreateInfoAMD const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -15717,67 +20754,122 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +#endif void destroyGpaSessionAMD( GpaSessionAMD gpaSession, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +# endif void destroyGpaSessionAMD( GpaSessionAMD gpaSession VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +#endif void destroy( GpaSessionAMD gpaSession, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyGpaSessionAMD ) ) +# endif void destroy( GpaSessionAMD gpaSession, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetGpaDeviceClockModeAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetGpaDeviceClockModeAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetGpaDeviceClockModeAMD ) ) +#endif VULKAN_HPP_NODISCARD Result setGpaClockModeAMD( GpaDeviceClockModeInfoAMD * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetGpaDeviceClockModeAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetGpaDeviceClockModeAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetGpaDeviceClockModeAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type setGpaClockModeAMD( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetGpaDeviceClockInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaDeviceClockInfoAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetGpaDeviceClockInfoAMD ) ) +#endif VULKAN_HPP_NODISCARD Result getGpaClockInfoAMD( GpaDeviceGetClockInfoAMD * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaDeviceClockInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaDeviceClockInfoAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGpaDeviceClockInfoAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getGpaClockInfoAMD( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaSessionStatusAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionStatusAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGpaSessionStatusAMD ) ) +# endif VULKAN_HPP_NODISCARD Result getGpaSessionStatusAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkGetGpaSessionStatusAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionStatusAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGpaSessionStatusAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type getGpaSessionStatusAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +#endif VULKAN_HPP_NODISCARD Result getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, size_t * pSizeInBytes, @@ -15785,17 +20877,27 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetGpaSessionResultsAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGpaSessionResultsAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetGpaSessionResultsAMD ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getGpaSessionResultsAMD( GpaSessionAMD gpaSession, uint32_t sampleID, @@ -15805,12 +20907,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkResetGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD Result resetGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkResetGpaSessionAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetGpaSessionAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkResetGpaSessionAMD ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type resetGpaSessionAMD( GpaSessionAMD gpaSession, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -15820,8 +20932,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD Result createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, uint32_t createInfoCount, ExecutionGraphPipelineCreateInfoAMDX const * pCreateInfos, @@ -15831,10 +20948,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -15842,10 +20964,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createExecutionGraphPipelinesAMDX( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -15854,8 +20981,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createExecutionGraphPipelineAMDX( PipelineCache pipelineCache, ExecutionGraphPipelineCreateInfoAMDX const & createInfo, @@ -15864,10 +20996,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createExecutionGraphPipelinesAMDXUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -15875,10 +21013,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createExecutionGraphPipelinesAMDXUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -15887,8 +21031,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateExecutionGraphPipelinesAMDX ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createExecutionGraphPipelineAMDXUnique( PipelineCache pipelineCache, ExecutionGraphPipelineCreateInfoAMDX const & createInfo, @@ -15899,8 +21048,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineScratchSizeAMDX ) ) +# endif VULKAN_HPP_NODISCARD Result getExecutionGraphPipelineScratchSizeAMDX( Pipeline executionGraph, ExecutionGraphPipelineScratchSizeAMDX * pSizeInfo, @@ -15908,16 +21062,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineScratchSizeAMDX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getExecutionGraphPipelineScratchSizeAMDX( Pipeline executionGraph, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineNodeIndexAMDX ) ) +# endif VULKAN_HPP_NODISCARD Result getExecutionGraphPipelineNodeIndexAMDX( Pipeline executionGraph, PipelineShaderStageNodeCreateInfoAMDX const * pNodeInfo, uint32_t * pNodeIndex, @@ -15925,8 +21089,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetExecutionGraphPipelineNodeIndexAMDX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getExecutionGraphPipelineNodeIndexAMDX( Pipeline executionGraph, PipelineShaderStageNodeCreateInfoAMDX const & nodeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -15936,7 +21105,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteSamplerDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWriteSamplerDescriptorsEXT ) ) +#endif VULKAN_HPP_NODISCARD Result writeSamplerDescriptorsEXT( uint32_t samplerCount, SamplerCreateInfo const * pSamplers, HostAddressRangeEXT const * pDescriptors, @@ -15944,7 +21118,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteSamplerDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWriteSamplerDescriptorsEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type writeSamplerDescriptorsEXT( ArrayProxy const & samplers, ArrayProxy const & descriptors, @@ -15953,8 +21132,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteResourceDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWriteResourceDescriptorsEXT ) ) +#endif VULKAN_HPP_NODISCARD Result writeResourceDescriptorsEXT( uint32_t resourceCount, ResourceDescriptorInfoEXT const * pResources, HostAddressRangeEXT const * pDescriptors, @@ -15962,8 +21146,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteResourceDescriptorsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWriteResourceDescriptorsEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type writeResourceDescriptorsEXT( ArrayProxy const & resources, ArrayProxy const & descriptors, @@ -15972,8 +21161,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageOpaqueCaptureDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getImageOpaqueCaptureDataEXT( uint32_t imageCount, Image const * pImages, HostAddressRangeEXT * pDatas, @@ -15981,8 +21175,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkRegisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkRegisterCustomBorderColorEXT ) ) +#endif VULKAN_HPP_NODISCARD Result registerCustomBorderColorEXT( SamplerCustomBorderColorCreateInfoEXT const * pBorderColor, Bool32 requestIndex, uint32_t * pIndex, @@ -15990,22 +21189,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkRegisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkRegisterCustomBorderColorEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type registerCustomBorderColorEXT( SamplerCustomBorderColorCreateInfoEXT const & borderColor, Bool32 requestIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnregisterCustomBorderColorEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnregisterCustomBorderColorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUnregisterCustomBorderColorEXT ) ) +#endif void unregisterCustomBorderColorEXT( uint32_t index, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetTensorOpaqueCaptureDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDataARM ) ) +#endif VULKAN_HPP_NODISCARD Result getTensorOpaqueCaptureDataARM( uint32_t tensorCount, TensorARM const * pTensors, HostAddressRangeEXT * pDatas, @@ -16015,25 +21229,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +#endif void getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetImageMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirements2KHR( ImageMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16041,25 +21270,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +#endif void getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetBufferMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirements2KHR( BufferMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16067,8 +21311,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +#endif void getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -16076,21 +21325,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetImageSparseMemoryRequirements2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirements2KHR( ImageSparseMemoryRequirementsInfo2 const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -16101,8 +21362,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureKHR * pAccelerationStructure, @@ -16110,8 +21376,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16119,8 +21390,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createAccelerationStructureKHRUnique( AccelerationStructureCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16130,16 +21406,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +#endif void destroyAccelerationStructureKHR( AccelerationStructureKHR accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +# endif void destroyAccelerationStructureKHR( AccelerationStructureKHR accelerationStructure VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16147,16 +21433,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +#endif void destroy( AccelerationStructureKHR accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureKHR ) ) +# endif void destroy( AccelerationStructureKHR accelerationStructure, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16164,8 +21460,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBuildAccelerationStructuresKHR ) ) +#endif VULKAN_HPP_NODISCARD Result buildAccelerationStructuresKHR( DeferredOperationKHR deferredOperation, uint32_t infoCount, AccelerationStructureBuildGeometryInfoKHR const * pInfos, @@ -16174,8 +21475,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBuildAccelerationStructuresKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBuildAccelerationStructuresKHR ) ) +# endif VULKAN_HPP_NODISCARD Result buildAccelerationStructuresKHR( DeferredOperationKHR deferredOperation, ArrayProxy const & infos, ArrayProxy const & pBuildRangeInfos, @@ -16184,16 +21490,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -16201,16 +21517,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureToMemoryKHR ) ) +#endif VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureToMemoryInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyAccelerationStructureToMemoryKHR ) ) +# endif VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( DeferredOperationKHR deferredOperation, CopyAccelerationStructureToMemoryInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -16218,16 +21544,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToAccelerationStructureKHR ) ) +#endif VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyMemoryToAccelerationStructureInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToAccelerationStructureKHR ) ) +# endif VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( DeferredOperationKHR deferredOperation, CopyMemoryToAccelerationStructureInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -16235,8 +21571,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result writeAccelerationStructuresPropertiesKHR( uint32_t accelerationStructureCount, AccelerationStructureKHR const * pAccelerationStructures, @@ -16248,11 +21589,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type writeAccelerationStructuresPropertiesKHR( ArrayProxy const & accelerationStructures, QueryType queryType, @@ -16261,9 +21607,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWriteAccelerationStructuresPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type writeAccelerationStructuresPropertyKHR( ArrayProxy const & accelerationStructures, QueryType queryType, @@ -16273,39 +21624,64 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureDeviceAddressKHR ) ) +#endif DeviceAddress getAccelerationStructureAddressKHR( AccelerationStructureDeviceAddressInfoKHR const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureDeviceAddressKHR ) ) +# endif DeviceAddress getAccelerationStructureAddressKHR( AccelerationStructureDeviceAddressInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceAccelerationStructureCompatibilityKHR ) ) +#endif void getAccelerationStructureCompatibilityKHR( AccelerationStructureVersionInfoKHR const * pVersionInfo, AccelerationStructureCompatibilityKHR * pCompatibility, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceAccelerationStructureCompatibilityKHR ) ) +# endif VULKAN_HPP_NODISCARD AccelerationStructureCompatibilityKHR getAccelerationStructureCompatibilityKHR( AccelerationStructureVersionInfoKHR const & versionInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureBuildSizesKHR ) ) +#endif void getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, AccelerationStructureBuildGeometryInfoKHR const * pBuildInfo, uint32_t const * pMaxPrimitiveCounts, @@ -16314,8 +21690,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureBuildSizesKHR ) ) +# endif VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, AccelerationStructureBuildGeometryInfoKHR const & buildInfo, @@ -16327,8 +21708,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, uint32_t createInfoCount, @@ -16339,10 +21725,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16351,10 +21742,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16364,8 +21760,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineKHR( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16375,10 +21776,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16387,10 +21794,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16400,8 +21813,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineKHRUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -16413,8 +21831,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, @@ -16424,52 +21847,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getRayTracingShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getRayTracingShaderGroupHandleKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getRayTracingCaptureReplayShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getRayTracingCaptureReplayShaderGroupHandlesKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingCaptureReplayShaderGroupHandlesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getRayTracingCaptureReplayShaderGroupHandleKHR( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRayTracingShaderGroupStackSizeKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupStackSizeKHR ) ) +#endif DeviceSize getRayTracingShaderGroupStackSizeKHR( Pipeline pipeline, uint32_t group, ShaderGroupShaderKHR groupShader, @@ -16479,8 +21932,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, SamplerYcbcrConversion * pYcbcrConversion, @@ -16488,8 +21946,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16497,8 +21960,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSamplerYcbcrConversionKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSamplerYcbcrConversionKHRUnique( SamplerYcbcrConversionCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16508,16 +21976,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroySamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversionKHR ) ) +#endif void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySamplerYcbcrConversionKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySamplerYcbcrConversionKHR ) ) +# endif void destroySamplerYcbcrConversionKHR( SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16526,25 +22004,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_bind_memory2 === // wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindBufferMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result bindBufferMemory2KHR( uint32_t bindInfoCount, BindBufferMemoryInfo const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindBufferMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindBufferMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindImageMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result bindImageMemory2KHR( uint32_t bindInfoCount, BindImageMemoryInfo const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindImageMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindImageMemory2KHR( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -16553,16 +22051,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageDrmFormatModifierPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getImageDrmFormatModifierPropertiesEXT( Image image, ImageDrmFormatModifierPropertiesEXT * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageDrmFormatModifierPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageDrmFormatModifierPropertiesEXT( Image image, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -16570,21 +22078,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_validation_cache === // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createValidationCacheEXT( ValidationCacheCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, ValidationCacheEXT * pValidationCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createValidationCacheEXT( ValidationCacheCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateValidationCacheEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createValidationCacheEXTUnique( ValidationCacheCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16593,63 +22116,108 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +#endif void destroyValidationCacheEXT( ValidationCacheEXT validationCache, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +# endif void destroyValidationCacheEXT( ValidationCacheEXT validationCache VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +#endif void destroy( ValidationCacheEXT validationCache, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyValidationCacheEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyValidationCacheEXT ) ) +# endif void destroy( ValidationCacheEXT validationCache, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkMergeValidationCachesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result mergeValidationCachesEXT( ValidationCacheEXT dstCache, uint32_t srcCacheCount, ValidationCacheEXT const * pSrcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkMergeValidationCachesEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type mergeValidationCachesEXT( ValidationCacheEXT dstCache, ArrayProxy const & srcCaches, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getValidationCacheDataEXT( ValidationCacheEXT validationCache, size_t * pDataSize, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getValidationCacheDataEXT( ValidationCacheEXT validationCache, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetValidationCacheDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getValidationCacheDataEXT( ValidationCacheEXT validationCache, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -16658,8 +22226,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +#endif VULKAN_HPP_NODISCARD Result createAccelerationStructureNV( AccelerationStructureCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureNV * pAccelerationStructure, @@ -16667,8 +22240,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createAccelerationStructureNV( AccelerationStructureCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16676,8 +22254,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructureNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createAccelerationStructureNVUnique( AccelerationStructureCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -16687,16 +22270,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +#endif void destroyAccelerationStructureNV( AccelerationStructureNV accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +# endif void destroyAccelerationStructureNV( AccelerationStructureNV accelerationStructure VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16704,16 +22297,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +#endif void destroy( AccelerationStructureNV accelerationStructure, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyAccelerationStructureNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyAccelerationStructureNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyAccelerationStructureNV ) ) +# endif void destroy( AccelerationStructureNV accelerationStructure, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16721,25 +22324,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +#endif void getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getAccelerationStructureMemoryRequirementsNV( AccelerationStructureMemoryRequirementsInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16747,16 +22365,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBindAccelerationStructureMemoryNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindAccelerationStructureMemoryNV ) ) +#endif VULKAN_HPP_NODISCARD Result bindAccelerationStructureMemoryNV( uint32_t bindInfoCount, BindAccelerationStructureMemoryInfoNV const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindAccelerationStructureMemoryNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindAccelerationStructureMemoryNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindAccelerationStructureMemoryNV( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -16764,8 +22392,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +#endif VULKAN_HPP_NODISCARD Result createRayTracingPipelinesNV( PipelineCache pipelineCache, uint32_t createInfoCount, RayTracingPipelineCreateInfoNV const * pCreateInfos, @@ -16775,10 +22408,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16786,10 +22424,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelinesNV( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16798,8 +22441,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createRayTracingPipelineNV( PipelineCache pipelineCache, RayTracingPipelineCreateInfoNV const & createInfo, @@ -16808,10 +22456,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesNVUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16819,10 +22473,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createRayTracingPipelinesNVUnique( PipelineCache pipelineCache, ArrayProxy const & createInfos, @@ -16831,8 +22491,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateRayTracingPipelinesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateRayTracingPipelinesNV ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createRayTracingPipelineNVUnique( PipelineCache pipelineCache, RayTracingPipelineCreateInfoNV const & createInfo, @@ -16843,8 +22508,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +#endif VULKAN_HPP_NODISCARD Result getRayTracingShaderGroupHandlesNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, @@ -16854,26 +22524,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getRayTracingShaderGroupHandlesNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRayTracingShaderGroupHandlesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getRayTracingShaderGroupHandleNV( Pipeline pipeline, uint32_t firstGroup, uint32_t groupCount, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +#endif VULKAN_HPP_NODISCARD Result getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, size_t dataSize, void * pData, @@ -16881,31 +22566,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, size_t dataSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetAccelerationStructureHandleNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureHandleNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getAccelerationStructureHandleNV( AccelerationStructureNV accelerationStructure, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCompileDeferredNV ) ) +# endif VULKAN_HPP_NODISCARD Result compileDeferredNV( Pipeline pipeline, uint32_t shader, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCompileDeferredNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type compileDeferredNV( Pipeline pipeline, uint32_t shader, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -16914,25 +22619,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +#endif void getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const * pCreateInfo, DescriptorSetLayoutSupport * pSupport, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD DescriptorSetLayoutSupport getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getDescriptorSetLayoutSupportKHR( DescriptorSetLayoutCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -16942,8 +22662,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetMemoryHostPointerPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHostPointer, MemoryHostPointerPropertiesEXT * pMemoryHostPointerProperties, @@ -16951,8 +22676,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryHostPointerPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHostPointer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -16961,7 +22691,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetCalibratedTimestampsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getCalibratedTimestampsEXT( uint32_t timestampCount, CalibratedTimestampInfoKHR const * pTimestampInfos, uint64_t * pTimestamps, @@ -16970,26 +22705,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCalibratedTimestampsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint64_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, uint64_t>>::type getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetCalibratedTimestampsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint64_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, uint64_t>>::type getCalibratedTimestampsEXT( ArrayProxy const & timestampInfos, Uint64_tAllocator const & uint64_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetCalibratedTimestampsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibratedTimestampEXT( CalibratedTimestampInfoKHR const & timestampInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -16998,40 +22748,70 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSemaphoreCounterValueKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValueKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSemaphoreCounterValueKHR( Semaphore semaphore, uint64_t * pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreCounterValueKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreCounterValueKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSemaphoreCounterValueKHR( Semaphore semaphore, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWaitSemaphoresKHR ) ) +#endif VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( SemaphoreWaitInfo const * pWaitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitSemaphoresKHR ) ) +# endif VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( SemaphoreWaitInfo const & waitInfo, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSignalSemaphoreKHR ) ) +#endif VULKAN_HPP_NODISCARD Result signalSemaphoreKHR( SemaphoreSignalInfo const * pSignalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSignalSemaphoreKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type signalSemaphoreKHR( SemaphoreSignalInfo const & signalInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17041,16 +22821,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetSwapchainPresentTimingQueueSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD Result setSwapchainPresentTimingQueueSizeEXT( SwapchainKHR swapchain, uint32_t size, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetSwapchainPresentTimingQueueSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD Result setSwapchainPresentTimingQueueSizeEXT( SwapchainKHR swapchain, uint32_t size, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17058,8 +22848,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSwapchainTimingPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainTimingPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getSwapchainTimingPropertiesEXT( SwapchainKHR swapchain, SwapchainTimingPropertiesEXT * pSwapchainTimingProperties, uint64_t * pSwapchainTimingPropertiesCounter, @@ -17067,16 +22862,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSwapchainTimingPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSwapchainTimingPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> getSwapchainTimingPropertiesEXT( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSwapchainTimeDomainPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimeDomainPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSwapchainTimeDomainPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getSwapchainTimeDomainPropertiesEXT( SwapchainKHR swapchain, SwapchainTimeDomainPropertiesEXT * pSwapchainTimeDomainProperties, uint64_t * pTimeDomainsCounter, @@ -17084,8 +22889,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPastPresentationTimingEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPastPresentationTimingEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getPastPresentationTimingEXT( PastPresentationTimingInfoEXT const * pPastPresentationTimingInfo, PastPresentationTimingPropertiesEXT * pPastPresentationTimingProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17094,15 +22904,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkInitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkInitializePerformanceApiINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result initializePerformanceApiINTEL( InitializePerformanceApiInfoINTEL const * pInitializeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkInitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkInitializePerformanceApiINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type initializePerformanceApiINTEL( InitializePerformanceApiInfoINTEL const & initializeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17110,30 +22930,50 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUninitializePerformanceApiINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUninitializePerformanceApiINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUninitializePerformanceApiINTEL ) ) +#endif void uninitializePerformanceApiINTEL( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const * pAcquireInfo, PerformanceConfigurationINTEL * pConfiguration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkAcquirePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquirePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type acquirePerformanceConfigurationINTELUnique( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17143,15 +22983,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD Result releasePerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releasePerformanceConfigurationINTEL( PerformanceConfigurationINTEL configuration VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17160,31 +23010,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD Result release( PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkReleasePerformanceConfigurationINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleasePerformanceConfigurationINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleasePerformanceConfigurationINTEL ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type release( PerformanceConfigurationINTEL configuration, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetPerformanceParameterINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPerformanceParameterINTEL ) ) +#endif VULKAN_HPP_NODISCARD Result getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter, PerformanceValueINTEL * pValue, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPerformanceParameterINTEL, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPerformanceParameterINTEL ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17192,7 +23062,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_display_native_hdr === // wrapper function for command vkSetLocalDimmingAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLocalDimmingAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetLocalDimmingAMD ) ) +#endif void setLocalDimmingAMD( SwapchainKHR swapChain, Bool32 localDimmingEnable, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17200,12 +23075,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_buffer_device_address === // wrapper function for command vkGetBufferDeviceAddressEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressEXT ) ) +#endif DeviceAddress getBufferAddressEXT( BufferDeviceAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddressEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressEXT ) ) +# endif DeviceAddress getBufferAddressEXT( BufferDeviceAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17214,14 +23099,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitForPresentKHR ) ) +# endif VULKAN_HPP_NODISCARD Result waitForPresentKHR( SwapchainKHR swapchain, uint64_t presentId, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitForPresentKHR ) ) +# endif VULKAN_HPP_NODISCARD Result waitForPresentKHR( SwapchainKHR swapchain, uint64_t presentId, uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -17232,15 +23127,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD Result acquireFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # else // wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -17248,31 +23153,51 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD Result releaseFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # else // wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseFullScreenExclusiveModeEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseFullScreenExclusiveModeEXT( SwapchainKHR swapchain, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD Result getGroupSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, DeviceGroupPresentModeFlagsKHR * pModes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceGroupSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getGroupSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17281,42 +23206,72 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_buffer_device_address === // wrapper function for command vkGetBufferDeviceAddressKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressKHR ) ) +#endif DeviceAddress getBufferAddressKHR( BufferDeviceAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferDeviceAddressKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferDeviceAddressKHR ) ) +# endif DeviceAddress getBufferAddressKHR( BufferDeviceAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddressKHR ) ) +#endif uint64_t getBufferOpaqueCaptureAddressKHR( BufferDeviceAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureAddressKHR ) ) +# endif uint64_t getBufferOpaqueCaptureAddressKHR( BufferDeviceAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddressKHR ) ) +#endif uint64_t getMemoryOpaqueCaptureAddressKHR( DeviceMemoryOpaqueCaptureAddressInfo const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMemoryOpaqueCaptureAddressKHR ) ) +# endif uint64_t getMemoryOpaqueCaptureAddressKHR( DeviceMemoryOpaqueCaptureAddressInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17324,7 +23279,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_host_query_reset === // wrapper function for command vkResetQueryPoolEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPoolEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkResetQueryPoolEXT ) ) +#endif void resetQueryPoolEXT( QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount, @@ -17334,21 +23294,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createDeferredOperationKHR( AllocationCallbacks const * pAllocator, DeferredOperationKHR * pDeferredOperation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDeferredOperationKHR( Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDeferredOperationKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDeferredOperationKHRUnique( Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17357,16 +23332,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +#endif void destroyDeferredOperationKHR( DeferredOperationKHR operation, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +# endif void destroyDeferredOperationKHR( DeferredOperationKHR operation VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17374,16 +23359,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +#endif void destroy( DeferredOperationKHR operation, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDeferredOperationKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDeferredOperationKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDeferredOperationKHR ) ) +# endif void destroy( DeferredOperationKHR operation, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17391,35 +23386,60 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeferredOperationMaxConcurrencyKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeferredOperationMaxConcurrencyKHR ) ) +#endif uint32_t getDeferredOperationMaxConcurrencyKHR( DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeferredOperationResultKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeferredOperationResultKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getDeferredOperationResultKHR( DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkGetDeferredOperationResultKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeferredOperationResultKHR ) ) +# endif VULKAN_HPP_NODISCARD Result getDeferredOperationResultKHR( DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDeferredOperationJoinKHR ) ) +# endif VULKAN_HPP_NODISCARD Result deferredOperationJoinKHR( DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDeferredOperationJoinKHR ) ) +# endif VULKAN_HPP_NODISCARD Result deferredOperationJoinKHR( DeferredOperationKHR operation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -17427,8 +23447,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineExecutablePropertiesKHR( PipelineInfoKHR const * pPipelineInfo, uint32_t * pExecutableCount, PipelineExecutablePropertiesKHR * pProperties, @@ -17436,20 +23461,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineExecutablePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutablePropertiesKHR( PipelineInfoKHR const & pipelineInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPipelineExecutablePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineExecutablePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineExecutablePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutablePropertiesKHR( PipelineInfoKHR const & pipelineInfo, PipelineExecutablePropertiesKHRAllocator const & pipelineExecutablePropertiesKHRAllocator, @@ -17458,8 +23495,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const * pExecutableInfo, uint32_t * pStatisticCount, PipelineExecutableStatisticKHR * pStatistics, @@ -17467,20 +23509,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutableStatisticKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineExecutableStatisticKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const & executableInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPipelineExecutableStatisticsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PipelineExecutableStatisticKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineExecutableStatisticKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineExecutableStatisticsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPipelineExecutableStatisticsKHR( PipelineExecutableInfoKHR const & executableInfo, PipelineExecutableStatisticKHRAllocator const & pipelineExecutableStatisticKHRAllocator, @@ -17489,8 +23543,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineExecutableInternalRepresentationsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineExecutableInternalRepresentationsKHR( PipelineExecutableInfoKHR const * pExecutableInfo, uint32_t * pInternalRepresentationCount, @@ -17500,46 +23559,86 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_host_image_copy === // wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToImageEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyMemoryToImageEXT( CopyMemoryToImageInfo const * pCopyMemoryToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToImageEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyMemoryToImageEXT( CopyMemoryToImageInfo const & copyMemoryToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyImageToMemoryEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyImageToMemoryEXT( CopyImageToMemoryInfo const * pCopyImageToMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyImageToMemoryEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyImageToMemoryEXT( CopyImageToMemoryInfo const & copyImageToMemoryInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyImageToImageEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyImageToImageEXT( CopyImageToImageInfo const * pCopyImageToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyImageToImageEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type copyImageToImageEXT( CopyImageToImageInfo const & copyImageToImageInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkTransitionImageLayoutEXT ) ) +#endif VULKAN_HPP_NODISCARD Result transitionImageLayoutEXT( uint32_t transitionCount, HostImageLayoutTransitionInfo const * pTransitions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkTransitionImageLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type transitionImageLayoutEXT( ArrayProxy const & transitions, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -17547,8 +23646,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +#endif void getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, @@ -17556,17 +23660,27 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetImageSubresourceLayout2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2EXT ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageSubresourceLayout2EXT( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17574,24 +23688,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_map_memory2 === // wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkMapMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result mapMemory2KHR( MemoryMapInfo const * pMemoryMapInfo, void ** ppData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkMapMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type mapMemory2KHR( MemoryMapInfo const & memoryMapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUnmapMemory2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result unmapMemory2KHR( MemoryUnmapInfo const * pMemoryUnmapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUnmapMemory2KHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type unmapMemory2KHR( MemoryUnmapInfo const & memoryUnmapInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17599,12 +23733,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_swapchain_maintenance1 === // wrapper function for command vkReleaseSwapchainImagesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result releaseSwapchainImagesEXT( ReleaseSwapchainImagesInfoKHR const * pReleaseInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseSwapchainImagesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseSwapchainImagesEXT( ReleaseSwapchainImagesInfoKHR const & releaseInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -17613,25 +23757,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +#endif void getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getGeneratedCommandsMemoryRequirementsNV( GeneratedCommandsMemoryRequirementsInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17639,8 +23798,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +#endif VULKAN_HPP_NODISCARD Result createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectCommandsLayoutNV * pIndirectCommandsLayout, @@ -17648,8 +23812,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -17657,8 +23826,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createIndirectCommandsLayoutNVUnique( IndirectCommandsLayoutCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -17668,16 +23842,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +#endif void destroyIndirectCommandsLayoutNV( IndirectCommandsLayoutNV indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +# endif void destroyIndirectCommandsLayoutNV( IndirectCommandsLayoutNV indirectCommandsLayout VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17685,16 +23869,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +#endif void destroy( IndirectCommandsLayoutNV indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutNV ) ) +# endif void destroy( IndirectCommandsLayoutNV indirectCommandsLayout, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17703,21 +23897,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_private_data === // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, PrivateDataSlot * pPrivateDataSlot, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreatePrivateDataSlotEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createPrivateDataSlotEXTUnique( PrivateDataSlotCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -17726,13 +23935,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlotEXT ) ) +#endif void destroyPrivateDataSlotEXT( PrivateDataSlot privateDataSlot, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPrivateDataSlotEXT ) ) +# endif void destroyPrivateDataSlotEXT( PrivateDataSlot privateDataSlot VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17740,7 +23959,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD Result setPrivateDataEXT( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -17748,7 +23972,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setPrivateDataEXT( ObjectType objectType, uint64_t objectHandle, @@ -17758,7 +23987,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPrivateDataEXT ) ) +#endif void getPrivateDataEXT( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -17766,7 +24000,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPrivateDataEXT ) ) +# endif VULKAN_HPP_NODISCARD uint64_t getPrivateDataEXT( ObjectType objectType, uint64_t objectHandle, PrivateDataSlot privateDataSlot, @@ -17777,8 +24016,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const * pVideoSessionParametersInfo, VideoEncodeSessionParametersFeedbackInfoKHR * pFeedbackInfo, size_t * pDataSize, @@ -17787,25 +24031,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>>::type getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>>::type getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetEncodedVideoSessionParametersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetEncodedVideoSessionParametersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type getEncodedVideoSessionParametersKHR( VideoEncodeSessionParametersGetInfoKHR const & videoSessionParametersInfo, Uint8_tAllocator const & uint8_tAllocator, @@ -17835,21 +24107,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_cuda_kernel_launch === // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD Result createCudaModuleNV( CudaModuleCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, CudaModuleNV * pModule, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createCudaModuleNV( CudaModuleCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaModuleNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createCudaModuleNVUnique( CudaModuleCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -17858,44 +24145,74 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD Result getCudaModuleCacheNV( CudaModuleNV module, size_t * pCacheSize, void * pCacheData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCudaModuleCacheNV( CudaModuleNV module, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCudaModuleCacheNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCudaModuleCacheNV( CudaModuleNV module, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD Result createCudaFunctionNV( CudaFunctionCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, CudaFunctionNV * pFunction, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createCudaFunctionNV( CudaFunctionCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateCudaFunctionNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createCudaFunctionNVUnique( CudaFunctionCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -17904,52 +24221,92 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif void destroyCudaModuleNV( CudaModuleNV module, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif void destroyCudaModuleNV( CudaModuleNV module, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif void destroy( CudaModuleNV module, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaModuleNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaModuleNV ) ) +# endif void destroy( CudaModuleNV module, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif void destroyCudaFunctionNV( CudaFunctionNV function, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif void destroyCudaFunctionNV( CudaFunctionNV function, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif void destroy( CudaFunctionNV function, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyCudaFunctionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyCudaFunctionNV ) ) +# endif void destroy( CudaFunctionNV function, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -17960,58 +24317,108 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetLatencySleepModeLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeLegacyNV ) ) +#endif void setLatencySleepModeLegacyNV( Bool32 lowLatencyMode, Bool32 lowLatencyBoost, uint32_t minimumIntervalUs, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkLatencySleepLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkLatencySleepLegacyNV ) ) +#endif void latencySleepLegacyNV( Semaphore signalSemaphore, uint64_t value, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkSetLatencyMarkerLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerLegacyNV ) ) +#endif void setLatencyMarkerLegacyNV( uint64_t frameID, uint32_t marker, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetLatencyTimingsLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsLegacyNV ) ) +#endif void getLatencyTimingsLegacyNV( void * pTimings, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetLatencyTimingsLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsLegacyNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsLegacyNV ) ) +# endif VULKAN_HPP_NODISCARD TimingsType getLatencyTimingsLegacyNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetSleepStatusLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSleepStatusLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSleepStatusLegacyNV ) ) +#endif void getSleepStatusLegacyNV( Bool32 * pLowLatencyMode, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSleepStatusLegacyNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSleepStatusLegacyNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSleepStatusLegacyNV ) ) +# endif VULKAN_HPP_NODISCARD Bool32 getSleepStatusLegacyNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkShutdownLatencyDeviceLegacyNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkShutdownLatencyDeviceLegacyNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkShutdownLatencyDeviceLegacyNV ) ) +#endif void shutdownLatencyLegacyNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #if defined( VK_USE_PLATFORM_METAL_EXT ) //=== VK_EXT_metal_objects === // wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkExportMetalObjectsEXT ) ) +# endif void exportMetalObjectsEXT( ExportMetalObjectsInfoEXT * pMetalObjectsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkExportMetalObjectsEXT ) ) +# endif void exportMetalObjectsEXT( ExportMetalObjectsInfoEXT & metalObjectsInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18021,24 +24428,39 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSizeEXT ) ) +#endif void getDescriptorSetLayoutSizeEXT( DescriptorSetLayout layout, DeviceSize * pLayoutSizeInBytes, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutSizeEXT ) ) +# endif VULKAN_HPP_NODISCARD DeviceSize getDescriptorSetLayoutSizeEXT( DescriptorSetLayout layout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutBindingOffsetEXT ) ) +#endif void getDescriptorSetLayoutBindingOffsetEXT( DescriptorSetLayout layout, uint32_t binding, DeviceSize * pOffset, @@ -18046,45 +24468,75 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutBindingOffsetEXT ) ) +# endif VULKAN_HPP_NODISCARD DeviceSize getDescriptorSetLayoutBindingOffsetEXT( DescriptorSetLayout layout, uint32_t binding, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +#endif void getDescriptorEXT( DescriptorGetInfoEXT const * pDescriptorInfo, size_t dataSize, void * pDescriptor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +# endif void getDescriptorEXT( DescriptorGetInfoEXT const & descriptorInfo, size_t dataSize, void * pDescriptor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorEXT ) ) +# endif VULKAN_HPP_NODISCARD DescriptorType getDescriptorEXT( DescriptorGetInfoEXT const & descriptorInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getBufferOpaqueCaptureDescriptorDataEXT( BufferCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getBufferOpaqueCaptureDescriptorDataEXT( BufferCaptureDescriptorDataInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18092,17 +24544,27 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getImageOpaqueCaptureDescriptorDataEXT( ImageCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageOpaqueCaptureDescriptorDataEXT( ImageCaptureDescriptorDataInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18110,8 +24572,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageViewOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getImageViewOpaqueCaptureDescriptorDataEXT( ImageViewCaptureDescriptorDataInfoEXT const * pInfo, void * pData, @@ -18119,9 +24586,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageViewOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageViewOpaqueCaptureDescriptorDataEXT( ImageViewCaptureDescriptorDataInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18129,16 +24601,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetSamplerOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getSamplerOpaqueCaptureDescriptorDataEXT( SamplerCaptureDescriptorDataInfoEXT const * pInfo, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSamplerOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSamplerOpaqueCaptureDescriptorDataEXT( SamplerCaptureDescriptorDataInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18146,8 +24628,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getAccelerationStructureOpaqueCaptureDescriptorDataEXT( AccelerationStructureCaptureDescriptorDataInfoEXT const * pInfo, void * pData, @@ -18155,9 +24642,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getAccelerationStructureOpaqueCaptureDescriptorDataEXT( AccelerationStructureCaptureDescriptorDataInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18167,8 +24659,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result createAccelerationStructure2KHR( AccelerationStructureCreateInfo2KHR const * pCreateInfo, AllocationCallbacks const * pAllocator, AccelerationStructureKHR * pAccelerationStructure, @@ -18176,8 +24673,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createAccelerationStructure2KHR( AccelerationStructureCreateInfo2KHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18185,8 +24687,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAccelerationStructure2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructure2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAccelerationStructure2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createAccelerationStructure2KHRUnique( AccelerationStructureCreateInfo2KHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18197,7 +24704,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_device_fault === // wrapper function for command vkGetDeviceFaultInfoEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultInfoEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultInfoEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getFaultInfoEXT( DeviceFaultCountsEXT * pFaultCounts, DeviceFaultInfoEXT * pFaultInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18207,16 +24719,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryZirconHandleFUCHSIA( MemoryGetZirconHandleInfoFUCHSIA const * pGetZirconHandleInfo, zx_handle_t * pZirconHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryZirconHandleFUCHSIA( MemoryGetZirconHandleInfoFUCHSIA const & getZirconHandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18224,8 +24746,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandlePropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, MemoryZirconHandlePropertiesFUCHSIA * pMemoryZirconHandleProperties, @@ -18233,8 +24760,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryZirconHandlePropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18245,15 +24777,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result importSemaphoreZirconHandleFUCHSIA( ImportSemaphoreZirconHandleInfoFUCHSIA const * pImportSemaphoreZirconHandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkImportSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type importSemaphoreZirconHandleFUCHSIA( ImportSemaphoreZirconHandleInfoFUCHSIA const & importSemaphoreZirconHandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18261,16 +24803,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result getSemaphoreZirconHandleFUCHSIA( SemaphoreGetZirconHandleInfoFUCHSIA const * pGetZirconHandleInfo, zx_handle_t * pZirconHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetSemaphoreZirconHandleFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSemaphoreZirconHandleFUCHSIA( SemaphoreGetZirconHandleInfoFUCHSIA const & getZirconHandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18282,8 +24834,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const * pCreateInfo, AllocationCallbacks const * pAllocator, BufferCollectionFUCHSIA * pCollection, @@ -18291,8 +24848,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18300,8 +24862,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateBufferCollectionFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createBufferCollectionFUCHSIAUnique( BufferCollectionCreateInfoFUCHSIA const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18311,8 +24878,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionImageConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result setBufferCollectionImageConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, ImageConstraintsInfoFUCHSIA const * pImageConstraintsInfo, @@ -18320,8 +24892,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionImageConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setBufferCollectionImageConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, ImageConstraintsInfoFUCHSIA const & imageConstraintsInfo, @@ -18330,8 +24907,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionBufferConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result setBufferCollectionBufferConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, BufferConstraintsInfoFUCHSIA const * pBufferConstraintsInfo, @@ -18339,8 +24921,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetBufferCollectionBufferConstraintsFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setBufferCollectionBufferConstraintsFUCHSIA( BufferCollectionFUCHSIA collection, BufferConstraintsInfoFUCHSIA const & bufferConstraintsInfo, @@ -18349,16 +24936,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif void destroyBufferCollectionFUCHSIA( BufferCollectionFUCHSIA collection, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif void destroyBufferCollectionFUCHSIA( BufferCollectionFUCHSIA collection, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18366,16 +24963,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif void destroy( BufferCollectionFUCHSIA collection, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyBufferCollectionFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyBufferCollectionFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyBufferCollectionFUCHSIA ) ) +# endif void destroy( BufferCollectionFUCHSIA collection, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18383,16 +24990,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferCollectionPropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result getBufferCollectionPropertiesFUCHSIA( BufferCollectionFUCHSIA collection, BufferCollectionPropertiesFUCHSIA * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetBufferCollectionPropertiesFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getBufferCollectionPropertiesFUCHSIA( BufferCollectionFUCHSIA collection, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18402,15 +25019,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) ) +#endif VULKAN_HPP_NODISCARD Result getSubpassShadingMaxWorkgroupSizeHUAWEI( RenderPass renderpass, Extent2D * pMaxWorkgroupSize, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSubpassShadingMaxWorkgroupSizeHUAWEI( RenderPass renderpass, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18418,13 +25045,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_external_memory_rdma === // wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetMemoryRemoteAddressNV ) ) +#endif VULKAN_HPP_NODISCARD Result getMemoryRemoteAddressNV( MemoryGetRemoteAddressInfoNV const * pMemoryGetRemoteAddressInfo, RemoteAddressNV * pAddress, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryRemoteAddressNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryRemoteAddressNV( MemoryGetRemoteAddressInfoNV const & memoryGetRemoteAddressInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18433,13 +25070,23 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_pipeline_properties === // wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelinePropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelinePropertiesEXT( PipelineInfoKHR const * pPipelineInfo, BaseOutStructure * pPipelineProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPipelinePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getPipelinePropertiesEXT( PipelineInfoKHR const & pipelineInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18447,21 +25094,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_opacity_micromap === // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createMicromapEXT( MicromapCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, MicromapEXT * pMicromap, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createMicromapEXT( MicromapCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createMicromapEXTUnique( MicromapCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18470,79 +25132,139 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +#endif void destroyMicromapEXT( MicromapEXT micromap, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +# endif void destroyMicromapEXT( MicromapEXT micromap VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +#endif void destroy( MicromapEXT micromap, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyMicromapEXT ) ) +# endif void destroy( MicromapEXT micromap, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBuildMicromapsEXT ) ) +#endif VULKAN_HPP_NODISCARD Result buildMicromapsEXT( DeferredOperationKHR deferredOperation, uint32_t infoCount, MicromapBuildInfoEXT const * pInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBuildMicromapsEXT ) ) +# endif VULKAN_HPP_NODISCARD Result buildMicromapsEXT( DeferredOperationKHR deferredOperation, ArrayProxy const & infos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyMicromapEXT( DeferredOperationKHR deferredOperation, CopyMicromapInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD Result copyMicromapEXT( DeferredOperationKHR deferredOperation, CopyMicromapInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMicromapToMemoryEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyMicromapToMemoryEXT( DeferredOperationKHR deferredOperation, CopyMicromapToMemoryInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMicromapToMemoryEXT ) ) +# endif VULKAN_HPP_NODISCARD Result copyMicromapToMemoryEXT( DeferredOperationKHR deferredOperation, CopyMicromapToMemoryInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCopyMemoryToMicromapEXT ) ) +#endif VULKAN_HPP_NODISCARD Result copyMemoryToMicromapEXT( DeferredOperationKHR deferredOperation, CopyMemoryToMicromapInfoEXT const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCopyMemoryToMicromapEXT ) ) +# endif VULKAN_HPP_NODISCARD Result copyMemoryToMicromapEXT( DeferredOperationKHR deferredOperation, CopyMemoryToMicromapInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -18550,8 +25272,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result writeMicromapsPropertiesEXT( uint32_t micromapCount, MicromapEXT const * pMicromaps, QueryType queryType, @@ -18562,11 +25289,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataTypeAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type writeMicromapsPropertiesEXT( ArrayProxy const & micromaps, QueryType queryType, @@ -18575,38 +25307,63 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkWriteMicromapsPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWriteMicromapsPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type writeMicromapsPropertyEXT( ArrayProxy const & micromaps, QueryType queryType, size_t stride, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceMicromapCompatibilityEXT ) ) +#endif void getMicromapCompatibilityEXT( MicromapVersionInfoEXT const * pVersionInfo, AccelerationStructureCompatibilityKHR * pCompatibility, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceMicromapCompatibilityEXT ) ) +# endif VULKAN_HPP_NODISCARD AccelerationStructureCompatibilityKHR getMicromapCompatibilityEXT( MicromapVersionInfoEXT const & versionInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetMicromapBuildSizesEXT ) ) +#endif void getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, MicromapBuildInfoEXT const * pBuildInfo, MicromapBuildSizesInfoEXT * pSizeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMicromapBuildSizesEXT ) ) +# endif VULKAN_HPP_NODISCARD MicromapBuildSizesInfoEXT getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, MicromapBuildInfoEXT const & buildInfo, @@ -18617,32 +25374,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSetDeviceMemoryPriorityEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDeviceMemoryPriorityEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetDeviceMemoryPriorityEXT ) ) +#endif void setMemoryPriorityEXT( DeviceMemory memory, float priority, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_KHR_maintenance4 === // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +#endif void getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceBufferMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getBufferMemoryRequirementsKHR( DeviceBufferMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18650,25 +25427,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +#endif void getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18676,8 +25468,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +#endif void getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const * pInfo, uint32_t * pSparseMemoryRequirementCount, SparseImageMemoryRequirements2 * pSparseMemoryRequirements, @@ -18685,20 +25482,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageMemoryRequirements2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageMemoryRequirements2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceImageSparseMemoryRequirementsKHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getImageSparseMemoryRequirementsKHR( DeviceImageMemoryRequirements const & info, SparseImageMemoryRequirements2Allocator const & sparseImageMemoryRequirements2Allocator, @@ -18709,32 +25518,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutHostMappingInfoVALVE ) ) +#endif void getDescriptorSetLayoutHostMappingInfoVALVE( DescriptorSetBindingReferenceVALVE const * pBindingReference, DescriptorSetLayoutHostMappingInfoVALVE * pHostMapping, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetLayoutHostMappingInfoVALVE ) ) +# endif VULKAN_HPP_NODISCARD DescriptorSetLayoutHostMappingInfoVALVE getDescriptorSetLayoutHostMappingInfoVALVE( DescriptorSetBindingReferenceVALVE const & bindingReference, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDescriptorSetHostMappingVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDescriptorSetHostMappingVALVE ) ) +#endif void getDescriptorSetHostMappingVALVE( DescriptorSet descriptorSet, void ** ppData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDescriptorSetHostMappingVALVE, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDescriptorSetHostMappingVALVE ) ) +# endif VULKAN_HPP_NODISCARD void * getDescriptorSetHostMappingVALVE( DescriptorSet descriptorSet, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18743,25 +25572,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +#endif void getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const * pCreateInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectMemoryRequirementsNV ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getPipelineIndirectMemoryRequirementsNV( ComputePipelineCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18769,15 +25613,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectDeviceAddressNV ) ) +#endif DeviceAddress getPipelineIndirectAddressNV( PipelineIndirectDeviceAddressInfoNV const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPipelineIndirectDeviceAddressNV ) ) +# endif DeviceAddress getPipelineIndirectAddressNV( PipelineIndirectDeviceAddressInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18787,37 +25641,62 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD Result getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const * buffer, NativeBufferPropertiesOHOS * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetNativeBufferPropertiesOHOS, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetNativeBufferPropertiesOHOS ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getNativeBufferPropertiesOHOS( struct OH_NativeBuffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryNativeBufferOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryNativeBufferOHOS ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryNativeBufferOHOS( MemoryGetNativeBufferInfoOHOS const * pInfo, struct OH_NativeBuffer ** pBuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryNativeBufferOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryNativeBufferOHOS ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryNativeBufferOHOS( MemoryGetNativeBufferInfoOHOS const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -18826,21 +25705,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_ARM_tensors === // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +#endif VULKAN_HPP_NODISCARD Result createTensorARM( TensorCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, TensorARM * pTensor, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createTensorARM( TensorCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateTensorARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createTensorARMUnique( TensorCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18849,47 +25743,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +#endif void destroyTensorARM( TensorARM tensor, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +# endif void destroyTensorARM( TensorARM tensor VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +#endif void destroy( TensorARM tensor, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorARM ) ) +# endif void destroy( TensorARM tensor, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +#endif VULKAN_HPP_NODISCARD Result createTensorViewARM( TensorViewCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, TensorViewARM * pView, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createTensorViewARM( TensorViewCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateTensorViewARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createTensorViewARMUnique( TensorViewCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -18898,26 +25827,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +#endif void destroyTensorViewARM( TensorViewARM tensorView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +# endif void destroyTensorViewARM( TensorViewARM tensorView VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +#endif void destroy( TensorViewARM tensorView, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyTensorViewARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyTensorViewARM ) ) +# endif void destroy( TensorViewARM tensorView, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18925,63 +25874,103 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +#endif void getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getTensorMemoryRequirementsARM( TensorMemoryRequirementsInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindTensorMemoryARM ) ) +#endif VULKAN_HPP_NODISCARD Result bindTensorMemoryARM( uint32_t bindInfoCount, BindTensorMemoryInfoARM const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindTensorMemoryARM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindTensorMemoryARM( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +#endif void getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceTensorMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getTensorMemoryRequirementsARM( DeviceTensorMemoryRequirementsARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -18989,16 +25978,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDescriptorDataARM ) ) +#endif VULKAN_HPP_NODISCARD Result getTensorOpaqueCaptureDescriptorDataARM( TensorCaptureDescriptorDataInfoARM const * pInfo, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetTensorOpaqueCaptureDescriptorDataARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getTensorOpaqueCaptureDescriptorDataARM( TensorCaptureDescriptorDataInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -19006,8 +26005,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetTensorViewOpaqueCaptureDescriptorDataARM ) ) +#endif VULKAN_HPP_NODISCARD Result getTensorViewOpaqueCaptureDescriptorDataARM( TensorViewCaptureDescriptorDataInfoARM const * pInfo, void * pData, @@ -19015,9 +26019,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetTensorViewOpaqueCaptureDescriptorDataARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getTensorViewOpaqueCaptureDescriptorDataARM( TensorViewCaptureDescriptorDataInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -19027,32 +26036,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetShaderModuleIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetShaderModuleIdentifierEXT ) ) +#endif void getShaderModuleIdentifierEXT( ShaderModule shaderModule, ShaderModuleIdentifierEXT * pIdentifier, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderModuleIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetShaderModuleIdentifierEXT ) ) +# endif VULKAN_HPP_NODISCARD ShaderModuleIdentifierEXT getShaderModuleIdentifierEXT( ShaderModule shaderModule, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetShaderModuleCreateInfoIdentifierEXT ) ) +#endif void getShaderModuleCreateInfoIdentifierEXT( ShaderModuleCreateInfo const * pCreateInfo, ShaderModuleIdentifierEXT * pIdentifier, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetShaderModuleCreateInfoIdentifierEXT ) ) +# endif VULKAN_HPP_NODISCARD ShaderModuleIdentifierEXT getShaderModuleCreateInfoIdentifierEXT( ShaderModuleCreateInfo const & createInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19061,7 +26090,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +#endif VULKAN_HPP_NODISCARD Result createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, OpticalFlowSessionNV * pSession, @@ -19069,7 +26103,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19077,7 +26116,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateOpticalFlowSessionNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createOpticalFlowSessionNVUnique( OpticalFlowSessionCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19087,16 +26131,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +#endif void destroyOpticalFlowSessionNV( OpticalFlowSessionNV session, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +# endif void destroyOpticalFlowSessionNV( OpticalFlowSessionNV session, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19104,16 +26158,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +#endif void destroy( OpticalFlowSessionNV session, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyOpticalFlowSessionNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyOpticalFlowSessionNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyOpticalFlowSessionNV ) ) +# endif void destroy( OpticalFlowSessionNV session, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19122,8 +26186,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindOpticalFlowSessionImageNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindOpticalFlowSessionImageNV ) ) +# endif VULKAN_HPP_NODISCARD Result bindOpticalFlowSessionImageNV( OpticalFlowSessionNV session, OpticalFlowSessionBindingPointNV bindingPoint, ImageView view, @@ -19132,8 +26201,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #else // wrapper function for command vkBindOpticalFlowSessionImageNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindOpticalFlowSessionImageNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindOpticalFlowSessionImageNV( OpticalFlowSessionNV session, OpticalFlowSessionBindingPointNV bindingPoint, @@ -19146,41 +26220,66 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetRenderingAreaGranularityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularityKHR ) ) +#endif void getRenderingAreaGranularityKHR( RenderingAreaInfo const * pRenderingAreaInfo, Extent2D * pGranularity, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRenderingAreaGranularityKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRenderingAreaGranularityKHR ) ) +# endif VULKAN_HPP_NODISCARD Extent2D getRenderingAreaGranularityKHR( RenderingAreaInfo const & renderingAreaInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +#endif void getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const * pInfo, SubresourceLayout2 * pLayout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDeviceImageSubresourceLayoutKHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageSubresourceLayoutKHR( DeviceImageSubresourceInfo const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19188,8 +26287,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +#endif void getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const * pSubresource, SubresourceLayout2 * pLayout, @@ -19197,17 +26301,27 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +# endif VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetImageSubresourceLayout2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetImageSubresourceLayout2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getImageSubresourceLayout2KHR( Image image, ImageSubresource2 const & subresource, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19215,24 +26329,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_AMD_anti_lag === // wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkAntiLagUpdateAMD ) ) +#endif void antiLagUpdateAMD( AntiLagDataAMD const * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAntiLagUpdateAMD ) ) +# endif void antiLagUpdateAMD( AntiLagDataAMD const & data, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ //=== VK_KHR_present_wait2 === // wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkWaitForPresent2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result waitForPresent2KHR( SwapchainKHR swapchain, PresentWait2InfoKHR const * pPresentWait2Info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkWaitForPresent2KHR ) ) +# endif VULKAN_HPP_NODISCARD Result waitForPresent2KHR( SwapchainKHR swapchain, PresentWait2InfoKHR const & presentWait2Info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -19241,7 +26375,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_shader_object === // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createShadersEXT( uint32_t createInfoCount, ShaderCreateInfoEXT const * pCreateInfos, AllocationCallbacks const * pAllocator, @@ -19249,51 +26388,83 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ShaderEXTAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createShadersEXT( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ShaderEXTAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createShadersEXT( ArrayProxy const & createInfos, Optional allocator, ShaderEXTAllocator const & shaderEXTAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createShaderEXT( ShaderCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > ShaderEXTAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, ShaderEXTAllocator>> createShadersEXTUnique( ArrayProxy const & createInfos, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > ShaderEXTAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, ShaderEXTAllocator>> createShadersEXTUnique( ArrayProxy const & createInfos, Optional allocator, ShaderEXTAllocator const & shaderEXTAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShadersEXT ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createShaderEXTUnique( ShaderCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19302,50 +26473,85 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +#endif void destroyShaderEXT( ShaderEXT shader, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +# endif void destroyShaderEXT( ShaderEXT shader VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +#endif void destroy( ShaderEXT shader, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderEXT ) ) +# endif void destroy( ShaderEXT shader, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getShaderBinaryDataEXT( ShaderEXT shader, size_t * pDataSize, void * pData, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderBinaryDataEXT( ShaderEXT shader, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetShaderBinaryDataEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getShaderBinaryDataEXT( ShaderEXT shader, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19353,26 +26559,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_pipeline_binary === // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, PipelineBinaryHandlesInfoKHR * pBinaries, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineBinaryKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineBinaryKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, @@ -19380,21 +26603,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename PipelineBinaryKHRAllocator = std::allocator>, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineBinaryKHRAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineBinaryKHRAllocator>> createPipelineBinariesKHRUnique( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename PipelineBinaryKHRAllocator = std::allocator>, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineBinaryKHRAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreatePipelineBinariesKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineBinaryKHRAllocator>> createPipelineBinariesKHRUnique( PipelineBinaryCreateInfoKHR const & createInfo, Optional allocator, @@ -19404,46 +26639,81 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +#endif void destroyPipelineBinaryKHR( PipelineBinaryKHR pipelineBinary, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +# endif void destroyPipelineBinaryKHR( PipelineBinaryKHR pipelineBinary VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +#endif void destroy( PipelineBinaryKHR pipelineBinary, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPipelineBinaryKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyPipelineBinaryKHR ) ) +# endif void destroy( PipelineBinaryKHR pipelineBinary, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineKeyKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineKeyKHR( PipelineCreateInfoKHR const * pPipelineCreateInfo, PipelineBinaryKeyKHR * pPipelineKey, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPipelineKeyKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getPipelineKeyKHR( Optional pipelineCreateInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const * pInfo, PipelineBinaryKeyKHR * pPipelineBinaryKey, size_t * pPipelineBinaryDataSize, @@ -19451,33 +26721,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>>::type getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint8_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPipelineBinaryDataKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>>::type getPipelineBinaryDataKHR( PipelineBinaryDataInfoKHR const & info, Uint8_tAllocator const & uint8_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkReleaseCapturedPipelineDataKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkReleaseCapturedPipelineDataKHR ) ) +#endif VULKAN_HPP_NODISCARD Result releaseCapturedPipelineDataKHR( ReleaseCapturedPipelineDataInfoKHR const * pInfo, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseCapturedPipelineDataKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseCapturedPipelineDataKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseCapturedPipelineDataKHR( ReleaseCapturedPipelineDataInfoKHR const & info, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19488,8 +26778,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +#endif VULKAN_HPP_NODISCARD Result getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, uint32_t * pPropertiesCount, TilePropertiesQCOM * pProperties, @@ -19497,18 +26792,30 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TilePropertiesQCOMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetFramebufferTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TilePropertiesQCOMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetFramebufferTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getFramebufferTilePropertiesQCOM( Framebuffer framebuffer, TilePropertiesQCOMAllocator const & tilePropertiesQCOMAllocator, @@ -19517,16 +26824,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDynamicRenderingTilePropertiesQCOM ) ) +#endif VULKAN_HPP_NODISCARD Result getDynamicRenderingTilePropertiesQCOM( RenderingInfo const * pRenderingInfo, TilePropertiesQCOM * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDynamicRenderingTilePropertiesQCOM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getDynamicRenderingTilePropertiesQCOM( RenderingInfo const & renderingInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19534,12 +26851,22 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_swapchain_maintenance1 === // wrapper function for command vkReleaseSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result releaseSwapchainImagesKHR( ReleaseSwapchainImagesInfoKHR const * pReleaseInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseSwapchainImagesKHR ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseSwapchainImagesKHR( ReleaseSwapchainImagesInfoKHR const & releaseInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19548,15 +26875,25 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkConvertCooperativeVectorMatrixNV ) ) +#endif VULKAN_HPP_NODISCARD Result convertCooperativeVectorMatrixNV( ConvertCooperativeVectorMatrixInfoNV const * pInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkConvertCooperativeVectorMatrixNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkConvertCooperativeVectorMatrixNV ) ) +# endif VULKAN_HPP_NODISCARD Result convertCooperativeVectorMatrixNV( ConvertCooperativeVectorMatrixInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19564,44 +26901,79 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NV_low_latency2 === // wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeNV ) ) +#endif VULKAN_HPP_NODISCARD Result setLatencySleepModeNV( SwapchainKHR swapchain, LatencySleepModeInfoNV const * pSleepModeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetLatencySleepModeNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type setLatencySleepModeNV( SwapchainKHR swapchain, LatencySleepModeInfoNV const & sleepModeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkLatencySleepNV ) ) +#endif VULKAN_HPP_NODISCARD Result latencySleepNV( SwapchainKHR swapchain, LatencySleepInfoNV const * pSleepInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkLatencySleepNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type latencySleepNV( SwapchainKHR swapchain, LatencySleepInfoNV const & sleepInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerNV ) ) +#endif void setLatencyMarkerNV( SwapchainKHR swapchain, SetLatencyMarkerInfoNV const * pLatencyMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSetLatencyMarkerNV ) ) +# endif void setLatencyMarkerNV( SwapchainKHR swapchain, SetLatencyMarkerInfoNV const & latencyMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetLatencyTimingsNV ) ) +#endif void getLatencyTimingsNV( SwapchainKHR swapchain, GetLatencyMarkerInfoNV * pLatencyMarkerInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19610,8 +26982,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +#endif VULKAN_HPP_NODISCARD Result createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, uint32_t createInfoCount, @@ -19622,10 +26999,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19634,10 +27016,15 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PipelineAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createDataGraphPipelinesARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19647,8 +27034,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue createDataGraphPipelineARM( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19658,10 +27050,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createDataGraphPipelinesARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19670,10 +27068,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template >, typename std::enable_if>::value, int>::type = 0, typename std::enable_if::type = true> +# else + template > PipelineAllocator = std::allocator>> + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue, PipelineAllocator>> createDataGraphPipelinesARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19683,8 +27087,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkCreateDataGraphPipelinesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelinesARM ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> createDataGraphPipelineARMUnique( DeferredOperationKHR deferredOperation, PipelineCache pipelineCache, @@ -19696,8 +27105,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +#endif VULKAN_HPP_NODISCARD Result createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, DataGraphPipelineSessionARM * pSession, @@ -19705,8 +27119,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19714,8 +27133,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDataGraphPipelineSessionARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDataGraphPipelineSessionARMUnique( DataGraphPipelineSessionCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19725,8 +27149,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +#endif VULKAN_HPP_NODISCARD Result getDataGraphPipelineSessionBindPointRequirementsARM( DataGraphPipelineSessionBindPointRequirementsInfoARM const * pInfo, uint32_t * pBindPointRequirementCount, @@ -19735,24 +27164,38 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphPipelineSessionBindPointRequirementARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDataGraphPipelineSessionBindPointRequirementsARM( DataGraphPipelineSessionBindPointRequirementsInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphPipelineSessionBindPointRequirementARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionBindPointRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDataGraphPipelineSessionBindPointRequirementsARM( @@ -19763,25 +27206,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +#endif void getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineSessionMemoryRequirementsARM ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getDataGraphPipelineSessionMemoryRequirementsARM( DataGraphPipelineSessionMemoryRequirementsInfoARM const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19789,16 +27247,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkBindDataGraphPipelineSessionMemoryARM ) ) +#endif VULKAN_HPP_NODISCARD Result bindDataGraphPipelineSessionMemoryARM( uint32_t bindInfoCount, BindDataGraphPipelineSessionMemoryInfoARM const * pBindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkBindDataGraphPipelineSessionMemoryARM ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type bindDataGraphPipelineSessionMemoryARM( ArrayProxy const & bindInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -19806,16 +27274,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +#endif void destroyDataGraphPipelineSessionARM( DataGraphPipelineSessionARM session, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +# endif void destroyDataGraphPipelineSessionARM( DataGraphPipelineSessionARM session, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19823,16 +27301,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +#endif void destroy( DataGraphPipelineSessionARM session, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDataGraphPipelineSessionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDataGraphPipelineSessionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDataGraphPipelineSessionARM ) ) +# endif void destroy( DataGraphPipelineSessionARM session, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19840,8 +27328,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD Result getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const * pPipelineInfo, uint32_t * pPropertiesCount, @@ -19850,21 +27343,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename DataGraphPipelinePropertyARMAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphPipelinePropertyARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const & pipelineInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename DataGraphPipelinePropertyARMAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphPipelinePropertyARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDataGraphPipelineAvailablePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDataGraphPipelineAvailablePropertiesARM( DataGraphPipelineInfoARM const & pipelineInfo, DataGraphPipelinePropertyARMAllocator const & dataGraphPipelinePropertyARMAllocator, @@ -19873,8 +27378,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDataGraphPipelinePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelinePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDataGraphPipelinePropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD Result getDataGraphPipelinePropertiesARM( DataGraphPipelineInfoARM const * pPipelineInfo, uint32_t propertiesCount, DataGraphPipelinePropertyQueryResultARM * pProperties, @@ -19885,25 +27395,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD Result getScreenBufferPropertiesQNX( struct _screen_buffer const * buffer, ScreenBufferPropertiesQNX * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getScreenBufferPropertiesQNX( struct _screen_buffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetScreenBufferPropertiesQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetScreenBufferPropertiesQNX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getScreenBufferPropertiesQNX( struct _screen_buffer const & buffer, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19913,7 +27438,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetCalibratedTimestampsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getCalibratedTimestampsKHR( uint32_t timestampCount, CalibratedTimestampInfoKHR const * pTimestampInfos, uint64_t * pTimestamps, @@ -19922,26 +27452,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetCalibratedTimestampsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint64_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, uint64_t>>::type getCalibratedTimestampsKHR( ArrayProxy const & timestampInfos, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetCalibratedTimestampsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Uint64_tAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, uint64_t>>::type getCalibratedTimestampsKHR( ArrayProxy const & timestampInfos, Uint64_tAllocator const & uint64_tAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetCalibratedTimestampsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetCalibratedTimestampsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibratedTimestampKHR( CalibratedTimestampInfoKHR const & timestampInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -19950,8 +27495,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +#endif VULKAN_HPP_NODISCARD Result createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const * pCreateInfo, AllocationCallbacks const * pAllocator, ExternalComputeQueueNV * pExternalQueue, @@ -19959,8 +27509,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19968,8 +27523,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateExternalComputeQueueNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createExternalComputeQueueNVUnique( ExternalComputeQueueCreateInfoNV const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -19979,16 +27539,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +#endif void destroyExternalComputeQueueNV( ExternalComputeQueueNV externalQueue, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +# endif void destroyExternalComputeQueueNV( ExternalComputeQueueNV externalQueue, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -19996,16 +27566,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +#endif void destroy( ExternalComputeQueueNV externalQueue, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyExternalComputeQueueNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyExternalComputeQueueNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyExternalComputeQueueNV ) ) +# endif void destroy( ExternalComputeQueueNV externalQueue, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20015,16 +27595,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetClusterAccelerationStructureBuildSizesNV ) ) +#endif void getClusterAccelerationStructureBuildSizesNV( ClusterAccelerationStructureInputInfoNV const * pInfo, AccelerationStructureBuildSizesInfoKHR * pSizeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetClusterAccelerationStructureBuildSizesNV ) ) +# endif VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR getClusterAccelerationStructureBuildSizesNV( ClusterAccelerationStructureInputInfoNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -20033,16 +27623,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPartitionedAccelerationStructuresBuildSizesNV ) ) +#endif void getPartitionedAccelerationStructuresBuildSizesNV( PartitionedAccelerationStructureInstancesInputNV const * pInfo, AccelerationStructureBuildSizesInfoKHR * pSizeInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPartitionedAccelerationStructuresBuildSizesNV ) ) +# endif VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR getPartitionedAccelerationStructuresBuildSizesNV( PartitionedAccelerationStructureInstancesInputNV const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -20051,25 +27651,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +#endif void getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const * pInfo, MemoryRequirements2 * pMemoryRequirements, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +# endif VULKAN_HPP_NODISCARD MemoryRequirements2 getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetGeneratedCommandsMemoryRequirementsEXT ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getGeneratedCommandsMemoryRequirementsEXT( GeneratedCommandsMemoryRequirementsInfoEXT const & info, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20077,8 +27692,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectCommandsLayoutEXT * pIndirectCommandsLayout, @@ -20086,8 +27706,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20095,8 +27720,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectCommandsLayoutEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createIndirectCommandsLayoutEXTUnique( IndirectCommandsLayoutCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20106,16 +27736,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +#endif void destroyIndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +# endif void destroyIndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT indirectCommandsLayout VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20123,16 +27763,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +#endif void destroy( IndirectCommandsLayoutEXT indirectCommandsLayout, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectCommandsLayoutEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectCommandsLayoutEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectCommandsLayoutEXT ) ) +# endif void destroy( IndirectCommandsLayoutEXT indirectCommandsLayout, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20140,8 +27790,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, IndirectExecutionSetEXT * pIndirectExecutionSet, @@ -20149,8 +27804,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20158,8 +27818,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIndirectExecutionSetEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createIndirectExecutionSetEXTUnique( IndirectExecutionSetCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20169,16 +27834,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +#endif void destroyIndirectExecutionSetEXT( IndirectExecutionSetEXT indirectExecutionSet, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +# endif void destroyIndirectExecutionSetEXT( IndirectExecutionSetEXT indirectExecutionSet VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20186,16 +27861,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +#endif void destroy( IndirectExecutionSetEXT indirectExecutionSet, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyIndirectExecutionSetEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyIndirectExecutionSetEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyIndirectExecutionSetEXT ) ) +# endif void destroy( IndirectExecutionSetEXT indirectExecutionSet, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20203,8 +27888,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetPipelineEXT ) ) +#endif void updateIndirectExecutionSetPipelineEXT( IndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, WriteIndirectExecutionSetPipelineEXT const * pExecutionSetWrites, @@ -20212,8 +27902,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetPipelineEXT ) ) +# endif void updateIndirectExecutionSetPipelineEXT( IndirectExecutionSetEXT indirectExecutionSet, ArrayProxy const & executionSetWrites, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20221,8 +27916,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetShaderEXT ) ) +#endif void updateIndirectExecutionSetShaderEXT( IndirectExecutionSetEXT indirectExecutionSet, uint32_t executionSetWriteCount, WriteIndirectExecutionSetShaderEXT const * pExecutionSetWrites, @@ -20230,8 +27930,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkUpdateIndirectExecutionSetShaderEXT ) ) +# endif void updateIndirectExecutionSetShaderEXT( IndirectExecutionSetEXT indirectExecutionSet, ArrayProxy const & executionSetWrites, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20240,31 +27945,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_device_fault === // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getFaultReportsKHR( uint64_t timeout, uint32_t * pFaultCounts, DeviceFaultInfoKHR * pFaultInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DeviceFaultInfoKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> getFaultReportsKHR( uint64_t timeout, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDeviceFaultReportsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultReportsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DeviceFaultInfoKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDeviceFaultReportsKHR ) ) +# endif VULKAN_HPP_NODISCARD ResultValue> getFaultReportsKHR( uint64_t timeout, DeviceFaultInfoKHRAllocator const & deviceFaultInfoKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDeviceFaultDebugInfoKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultDebugInfoKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDeviceFaultDebugInfoKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getFaultDebugInfoKHR( DeviceFaultDebugInfoKHR * pDebugInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20272,21 +27999,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_external_memory_metal === // wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandleEXT ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryMetalHandleEXT( MemoryGetMetalHandleInfoEXT const * pGetMetalHandleInfo, void ** pHandle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandleEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryMetalHandleEXT( MemoryGetMetalHandleInfoEXT const & getMetalHandleInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandlePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD Result getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, void const * pHandle, MemoryMetalHandlePropertiesEXT * pMemoryMetalHandleProperties, @@ -20294,9 +28036,14 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetMemoryMetalHandlePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, HandleType const & handle, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -20306,8 +28053,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +#endif VULKAN_HPP_NODISCARD Result createShaderInstrumentationARM( ShaderInstrumentationCreateInfoARM const * pCreateInfo, AllocationCallbacks const * pAllocator, ShaderInstrumentationARM * pInstrumentation, @@ -20315,8 +28067,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createShaderInstrumentationARM( ShaderInstrumentationCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20324,8 +28081,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateShaderInstrumentationARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createShaderInstrumentationARMUnique( ShaderInstrumentationCreateInfoARM const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20335,16 +28097,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +#endif void destroyShaderInstrumentationARM( ShaderInstrumentationARM instrumentation, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +# endif void destroyShaderInstrumentationARM( ShaderInstrumentationARM instrumentation VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20352,16 +28124,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +#endif void destroy( ShaderInstrumentationARM instrumentation, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyShaderInstrumentationARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyShaderInstrumentationARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyShaderInstrumentationARM ) ) +# endif void destroy( ShaderInstrumentationARM instrumentation, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20369,8 +28151,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetShaderInstrumentationValuesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInstrumentationValuesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetShaderInstrumentationValuesARM ) ) +#endif VULKAN_HPP_NODISCARD Result getShaderInstrumentationValuesARM( ShaderInstrumentationARM instrumentation, uint32_t * pMetricBlockCount, void * pMetricValues, @@ -20379,8 +28166,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkClearShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkClearShaderInstrumentationMetricsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkClearShaderInstrumentationMetricsARM ) ) +#endif void clearShaderInstrumentationMetricsARM( ShaderInstrumentationARM instrumentation, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -20569,34 +28361,59 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkGetPhysicalDeviceFeatures, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures ) ) +#endif void getFeatures( PhysicalDeviceFeatures * pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceFeatures getFeatures( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties ) ) +#endif void getFormatProperties( Format format, FormatProperties * pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD FormatProperties getFormatProperties( Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties ) ) +#endif VULKAN_HPP_NODISCARD Result getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, @@ -20607,8 +28424,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageFormatProperties( Format format, ImageType type, @@ -20620,39 +28442,66 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties ) ) +#endif void getProperties( PhysicalDeviceProperties * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceProperties getProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +#endif void getQueueFamilyProperties( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties * pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties( QueueFamilyPropertiesAllocator const & queueFamilyPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -20660,35 +28509,60 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceMemoryProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties ) ) +#endif void getMemoryProperties( PhysicalDeviceMemoryProperties * pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties getMemoryProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +#endif VULKAN_HPP_NODISCARD Result createDevice( DeviceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Device * pDevice, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDevice( DeviceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDevice ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDeviceUnique( DeviceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -20698,8 +28572,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateDeviceExtensionProperties( char const * pLayerName, uint32_t * pPropertyCount, ExtensionProperties * pProperties, @@ -20707,19 +28586,31 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ExtensionPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceExtensionProperties( Optional layerName VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumerateDeviceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ExtensionPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateDeviceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator const & extensionPropertiesAllocator, @@ -20728,26 +28619,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateDeviceLayerProperties( uint32_t * pPropertyCount, LayerProperties * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template LayerPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumerateDeviceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template LayerPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateDeviceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateDeviceLayerProperties( LayerPropertiesAllocator const & layerPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -20755,8 +28661,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +#endif void getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, @@ -20768,11 +28679,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties( Format format, ImageType type, @@ -20782,11 +28699,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties( Format format, ImageType type, @@ -20801,167 +28724,278 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFeatures2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +#endif void getFeatures2( PhysicalDeviceFeatures2 * pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceFeatures2 getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceFeatures2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getFeatures2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +#endif void getProperties2( PhysicalDeviceProperties2 * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +#endif void getFormatProperties2( Format format, FormatProperties2 * pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2( Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getFormatProperties2( Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +#endif VULKAN_HPP_NODISCARD Result getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getImageFormatProperties2( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +#endif void getQueueFamilyProperties2( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties2 * pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( QueueFamilyProperties2Allocator const & queueFamilyProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2( StructureChainAllocator const & structureChainAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +#endif void getMemoryProperties2( PhysicalDeviceMemoryProperties2 * pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties2 getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2 ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getMemoryProperties2( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +#endif void getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const * pFormatInfo, uint32_t * pPropertyCount, SparseImageFormatProperties2 * pProperties, @@ -20969,21 +29003,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatProperties2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatProperties2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2 ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, SparseImageFormatProperties2Allocator const & sparseImageFormatProperties2Allocator, @@ -20992,48 +29038,78 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferProperties ) ) +#endif void getExternalBufferProperties( PhysicalDeviceExternalBufferInfo const * pExternalBufferInfo, ExternalBufferProperties * pExternalBufferProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferProperties ) ) +# endif VULKAN_HPP_NODISCARD ExternalBufferProperties getExternalBufferProperties( PhysicalDeviceExternalBufferInfo const & externalBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFenceProperties ) ) +#endif void getExternalFenceProperties( PhysicalDeviceExternalFenceInfo const * pExternalFenceInfo, ExternalFenceProperties * pExternalFenceProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFenceProperties ) ) +# endif VULKAN_HPP_NODISCARD ExternalFenceProperties getExternalFenceProperties( PhysicalDeviceExternalFenceInfo const & externalFenceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphoreProperties ) ) +#endif void getExternalSemaphoreProperties( PhysicalDeviceExternalSemaphoreInfo const * pExternalSemaphoreInfo, ExternalSemaphoreProperties * pExternalSemaphoreProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphoreProperties ) ) +# endif VULKAN_HPP_NODISCARD ExternalSemaphoreProperties getExternalSemaphoreProperties( PhysicalDeviceExternalSemaphoreInfo const & externalSemaphoreInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -21043,28 +29119,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +#endif VULKAN_HPP_NODISCARD Result getToolProperties( uint32_t * pToolCount, PhysicalDeviceToolProperties * pToolProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceToolPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceToolPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceToolProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceToolPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceToolPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolProperties( PhysicalDeviceToolPropertiesAllocator const & physicalDeviceToolPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -21074,8 +29167,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceSupportKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Bool32 * pSupported, @@ -21083,32 +29181,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceSupportKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSurfaceSupportKHR( uint32_t queueFamilyIndex, SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceCapabilitiesKHR( SurfaceKHR surface, SurfaceCapabilitiesKHR * pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSurfaceCapabilitiesKHR( SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceFormatsKHR( SurfaceKHR surface, uint32_t * pSurfaceFormatCount, SurfaceFormatKHR * pSurfaceFormats, @@ -21116,26 +29234,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SurfaceFormatKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormatsKHR( SurfaceKHR surface VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SurfaceFormatKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormatsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormatsKHR( SurfaceKHR surface, SurfaceFormatKHRAllocator const & surfaceFormatKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfacePresentModesKHR( SurfaceKHR surface, uint32_t * pPresentModeCount, PresentModeKHR * pPresentModes, @@ -21143,18 +29278,28 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PresentModeKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModesKHR( SurfaceKHR surface VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PresentModeKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModesKHR( SurfaceKHR surface, PresentModeKHRAllocator const & presentModeKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21163,8 +29308,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getPresentRectanglesKHR( SurfaceKHR surface, uint32_t * pRectCount, Rect2D * pRects, @@ -21172,18 +29322,28 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Rect2DAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPresentRectanglesKHR( SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template Rect2DAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDevicePresentRectanglesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getPresentRectanglesKHR( SurfaceKHR surface, Rect2DAllocator const & rect2DAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21192,26 +29352,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPropertiesKHR( uint32_t * pPropertyCount, DisplayPropertiesKHR * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPropertiesKHR( DisplayPropertiesKHRAllocator const & displayPropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -21219,26 +29396,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPlanePropertiesKHR( uint32_t * pPropertyCount, DisplayPlanePropertiesKHR * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPlanePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlanePropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPlanePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlanePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlanePropertiesKHR( DisplayPlanePropertiesKHRAllocator const & displayPlanePropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -21246,8 +29440,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, uint32_t * pDisplayCount, DisplayKHR * pDisplays, @@ -21255,26 +29454,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayPlaneSupportedDisplaysKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex, DisplayKHRAllocator const & displayKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayModePropertiesKHR( DisplayKHR display, uint32_t * pPropertyCount, DisplayModePropertiesKHR * pProperties, @@ -21282,18 +29496,30 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayModePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModePropertiesKHR( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDisplayModePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayModePropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModePropertiesKHR( DisplayKHR display, DisplayModePropertiesKHRAllocator const & displayModePropertiesKHRAllocator, @@ -21301,7 +29527,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createDisplayModeKHR( DisplayKHR display, DisplayModeCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, @@ -21309,7 +29540,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDisplayModeKHR( DisplayKHR display, DisplayModeCreateInfoKHR const & createInfo, @@ -21317,7 +29553,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayModeKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDisplayModeKHRUnique( DisplayKHR display, DisplayModeCreateInfoKHR const & createInfo, @@ -21328,8 +29569,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, DisplayPlaneCapabilitiesKHR * pCapabilities, @@ -21337,8 +29583,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getDisplayPlaneCapabilitiesKHR( DisplayModeKHR mode, uint32_t planeIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21348,8 +29599,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXlibPresentationSupportKHR ) ) +# endif Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display * dpy, VisualID visualID, @@ -21357,8 +29613,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXlibPresentationSupportKHR ) ) +# endif Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID, @@ -21371,8 +29632,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXcbPresentationSupportKHR ) ) +# endif Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t * connection, xcb_visualid_t visual_id, @@ -21380,8 +29646,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceXcbPresentationSupportKHR ) ) +# endif Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id, @@ -21394,16 +29665,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWaylandPresentationSupportKHR ) ) +# endif Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display * display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWaylandPresentationSupportKHR ) ) +# endif Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -21415,8 +29696,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceWin32PresentationSupportKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceWin32PresentationSupportKHR ) ) +# endif Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /*VK_USE_PLATFORM_WIN32_KHR*/ @@ -21424,33 +29710,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getVideoCapabilitiesKHR( VideoProfileInfoKHR const * pVideoProfile, VideoCapabilitiesKHR * pCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getVideoCapabilitiesKHR( VideoProfileInfoKHR const & videoProfile, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoCapabilitiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoCapabilitiesKHR( VideoProfileInfoKHR const & videoProfile, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const * pVideoFormatInfo, uint32_t * pVideoFormatPropertyCount, VideoFormatPropertiesKHR * pVideoFormatProperties, @@ -21458,40 +29764,66 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template VideoFormatPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template VideoFormatPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, VideoFormatPropertiesKHRAllocator const & videoFormatPropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoFormatPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoFormatPropertiesKHR( PhysicalDeviceVideoFormatInfoKHR const & videoFormatInfo, StructureChainAllocator const & structureChainAllocator, @@ -21502,8 +29834,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalImageFormatPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD Result getExternalImageFormatPropertiesNV( Format format, ImageType type, ImageTiling tiling, @@ -21515,8 +29852,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalImageFormatPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getExternalImageFormatPropertiesNV( Format format, ImageType type, @@ -21531,137 +29873,228 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +#endif void getFeatures2KHR( PhysicalDeviceFeatures2 * pFeatures, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceFeatures2 getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFeatures2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getFeatures2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +#endif void getProperties2KHR( PhysicalDeviceProperties2 * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +#endif void getFormatProperties2KHR( Format format, FormatProperties2 * pFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2KHR( Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getFormatProperties2KHR( Format format, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getImageFormatProperties2KHR( PhysicalDeviceImageFormatInfo2 const & imageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +#endif void getQueueFamilyProperties2KHR( uint32_t * pQueueFamilyPropertyCount, QueueFamilyProperties2 * pQueueFamilyProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( QueueFamilyProperties2Allocator const & queueFamilyProperties2Allocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getQueueFamilyProperties2KHR( StructureChainAllocator const & structureChainAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -21669,32 +30102,52 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +#endif void getMemoryProperties2KHR( PhysicalDeviceMemoryProperties2 * pMemoryProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties2 getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; // wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMemoryProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD StructureChain getMemoryProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +#endif void getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const * pFormatInfo, uint32_t * pPropertyCount, SparseImageFormatProperties2 * pProperties, @@ -21702,21 +30155,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatProperties2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename SparseImageFormatProperties2Allocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SparseImageFormatProperties2Allocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSparseImageFormatProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD std::vector getSparseImageFormatProperties2KHR( PhysicalDeviceSparseImageFormatInfo2 const & formatInfo, SparseImageFormatProperties2Allocator const & sparseImageFormatProperties2Allocator, @@ -21727,16 +30192,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferPropertiesKHR ) ) +#endif void getExternalBufferPropertiesKHR( PhysicalDeviceExternalBufferInfo const * pExternalBufferInfo, ExternalBufferProperties * pExternalBufferProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalBufferPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD ExternalBufferProperties getExternalBufferPropertiesKHR( PhysicalDeviceExternalBufferInfo const & externalBufferInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21745,16 +30220,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphorePropertiesKHR ) ) +#endif void getExternalSemaphorePropertiesKHR( PhysicalDeviceExternalSemaphoreInfo const * pExternalSemaphoreInfo, ExternalSemaphoreProperties * pExternalSemaphoreProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalSemaphorePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD ExternalSemaphoreProperties getExternalSemaphorePropertiesKHR( PhysicalDeviceExternalSemaphoreInfo const & externalSemaphoreInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -21764,22 +30249,42 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD Result releaseDisplayEXT( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type releaseDisplayEXT( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD Result release( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkReleaseDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkReleaseDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type release( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ @@ -21788,31 +30293,56 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_acquire_xlib_display === // wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireXlibDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD Result acquireXlibDisplayEXT( Display * dpy, DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireXlibDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireXlibDisplayEXT( Display & dpy, DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD Result getRandROutputDisplayEXT( Display * dpy, RROutput rrOutput, DisplayKHR * pDisplay, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetRandROutputDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getRandROutputDisplayEXTUnique( Display & dpy, RROutput rrOutput, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_NO_SMART_HANDLE */ @@ -21823,16 +30353,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2EXT ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2EXT( SurfaceKHR surface, SurfaceCapabilities2EXT * pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2EXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSurfaceCapabilities2EXT( SurfaceKHR surface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21841,16 +30381,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFencePropertiesKHR ) ) +#endif void getExternalFencePropertiesKHR( PhysicalDeviceExternalFenceInfo const * pExternalFenceInfo, ExternalFenceProperties * pExternalFenceProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalFencePropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD ExternalFenceProperties getExternalFencePropertiesKHR( PhysicalDeviceExternalFenceInfo const & externalFenceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -21859,8 +30409,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, uint32_t * pCounterCount, @@ -21870,6 +30425,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename PerformanceCounterDescriptionKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, @@ -21877,11 +30433,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PerformanceCounterKHRAllocator = std::allocator, + IsAllocator PerformanceCounterDescriptionKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename PerformanceCounterDescriptionKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, @@ -21889,6 +30452,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PerformanceCounterKHRAllocator = std::allocator, + IsAllocator PerformanceCounterDescriptionKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex, @@ -21899,16 +30468,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR ) ) +#endif void getQueueFamilyPerformanceQueryPassesKHR( QueryPoolPerformanceCreateInfoKHR const * pPerformanceQueryCreateInfo, uint32_t * pNumPasses, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR ) ) +# endif VULKAN_HPP_NODISCARD uint32_t getQueueFamilyPerformanceQueryPassesKHR( QueryPoolPerformanceCreateInfoKHR const & performanceQueryCreateInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -21918,33 +30497,53 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, SurfaceCapabilities2KHR * pSurfaceCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceCapabilities2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, uint32_t * pSurfaceFormatCount, SurfaceFormat2KHR * pSurfaceFormats, @@ -21952,38 +30551,64 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SurfaceFormat2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template SurfaceFormat2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, SurfaceFormat2KHRAllocator const & surfaceFormat2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfaceFormats2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfaceFormats2KHR( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, StructureChainAllocator const & structureChainAllocator, @@ -21994,26 +30619,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayProperties2KHR( uint32_t * pPropertyCount, DisplayProperties2KHR * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayProperties2KHR( DisplayProperties2KHRAllocator const & displayProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22021,26 +30663,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPlaneProperties2KHR( uint32_t * pPropertyCount, DisplayPlaneProperties2KHR * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPlaneProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneProperties2KHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayPlaneProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceDisplayPlaneProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayPlaneProperties2KHR( DisplayPlaneProperties2KHRAllocator const & displayPlaneProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22048,8 +30707,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayModeProperties2KHR( DisplayKHR display, uint32_t * pPropertyCount, DisplayModeProperties2KHR * pProperties, @@ -22057,54 +30721,90 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayModeProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DisplayModeProperties2KHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( DisplayKHR display, DisplayModeProperties2KHRAllocator const & displayModeProperties2KHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetDisplayModeProperties2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template StructureChainAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetDisplayModeProperties2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDisplayModeProperties2KHR( DisplayKHR display, StructureChainAllocator const & structureChainAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilities2KHR ) ) +#endif VULKAN_HPP_NODISCARD Result getDisplayPlaneCapabilities2KHR( DisplayPlaneInfo2KHR const * pDisplayPlaneInfo, DisplayPlaneCapabilities2KHR * pCapabilities, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDisplayPlaneCapabilities2KHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getDisplayPlaneCapabilities2KHR( DisplayPlaneInfo2KHR const & displayPlaneInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -22113,24 +30813,39 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDescriptorSizeEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDescriptorSizeEXT ) ) +#endif DeviceSize getDescriptorSizeEXT( DescriptorType descriptorType, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; //=== VK_EXT_sample_locations === // wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMultisamplePropertiesEXT ) ) +#endif void getMultisamplePropertiesEXT( SampleCountFlagBits samples, MultisamplePropertiesEXT * pMultisampleProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceMultisamplePropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD MultisamplePropertiesEXT getMultisamplePropertiesEXT( SampleCountFlagBits samples, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -22139,26 +30854,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getCalibrateableTimeDomainsEXT( uint32_t * pTimeDomainCount, TimeDomainKHR * pTimeDomains, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TimeDomainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TimeDomainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsEXT( TimeDomainKHRAllocator const & timeDomainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22168,30 +30898,49 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getFragmentShadingRatesKHR( uint32_t * pFragmentShadingRateCount, PhysicalDeviceFragmentShadingRateKHR * pFragmentShadingRates, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template < + IsAllocator PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getFragmentShadingRatesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template < + IsAllocator PhysicalDeviceFragmentShadingRateKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceFragmentShadingRatesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getFragmentShadingRatesKHR( PhysicalDeviceFragmentShadingRateKHRAllocator const & physicalDeviceFragmentShadingRateKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22201,28 +30950,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getToolPropertiesEXT( uint32_t * pToolCount, PhysicalDeviceToolProperties * pToolProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceToolPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceToolPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolPropertiesEXT( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceToolPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceToolPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceToolPropertiesEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getToolPropertiesEXT( PhysicalDeviceToolPropertiesAllocator const & physicalDeviceToolPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22232,28 +30998,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD Result getCooperativeMatrixPropertiesNV( uint32_t * pPropertyCount, CooperativeMatrixPropertiesNV * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesNV( CooperativeMatrixPropertiesNVAllocator const & cooperativeMatrixPropertiesNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22263,8 +31046,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +#endif VULKAN_HPP_NODISCARD Result getSupportedFramebufferMixedSamplesCombinationsNV( uint32_t * pCombinationCount, FramebufferMixedSamplesCombinationNV * pCombinations, @@ -22272,22 +31060,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename FramebufferMixedSamplesCombinationNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template < + IsAllocator FramebufferMixedSamplesCombinationNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSupportedFramebufferMixedSamplesCombinationsNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename FramebufferMixedSamplesCombinationNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template < + IsAllocator FramebufferMixedSamplesCombinationNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSupportedFramebufferMixedSamplesCombinationsNV( FramebufferMixedSamplesCombinationNVAllocator const & framebufferMixedSamplesCombinationNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22298,8 +31100,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD Result getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const * pSurfaceInfo, uint32_t * pPresentModeCount, PresentModeKHR * pPresentModes, @@ -22307,18 +31114,28 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PresentModeKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PresentModeKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceSurfacePresentModes2EXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getSurfacePresentModes2EXT( PhysicalDeviceSurfaceInfo2KHR const & surfaceInfo, PresentModeKHRAllocator const & presentModeKHRAllocator, @@ -22330,31 +31147,56 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD Result acquireDrmDisplayEXT( int32_t drmFd, DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #else // wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireDrmDisplayEXT( int32_t drmFd, DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +#endif VULKAN_HPP_NODISCARD Result getDrmDisplayEXT( int32_t drmFd, uint32_t connectorId, DisplayKHR * display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getDrmDisplayEXT( int32_t drmFd, uint32_t connectorId, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetDrmDisplayEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getDrmDisplayEXTUnique( int32_t drmFd, uint32_t connectorId, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_NO_SMART_HANDLE */ @@ -22364,8 +31206,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const * pQualityLevelInfo, VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties, @@ -22373,18 +31220,28 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const & qualityLevelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getVideoEncodeQualityLevelPropertiesKHR( PhysicalDeviceVideoEncodeQualityLevelInfoKHR const & qualityLevelInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22395,29 +31252,54 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD Result acquireWinrtDisplayNV( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # else // wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkAcquireWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD_WHEN_NO_EXCEPTIONS typename ResultValueType::type acquireWinrtDisplayNV( DisplayKHR display, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/ // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD Result getWinrtDisplayNV( uint32_t deviceRelativeId, DisplayKHR * pDisplay, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getWinrtDisplayNV( uint32_t deviceRelativeId, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetWinrtDisplayNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getWinrtDisplayNVUnique( uint32_t deviceRelativeId, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # endif /* VULKAN_HPP_NO_SMART_HANDLE */ @@ -22429,16 +31311,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDirectFBPresentationSupportEXT ) ) +# endif Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB * dfb, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceDirectFBPresentationSupportEXT ) ) +# endif Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -22450,16 +31342,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceScreenPresentationSupportQNX ) ) +# endif Bool32 getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, struct _screen_window * window, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceScreenPresentationSupportQNX ) ) +# endif Bool32 getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, struct _screen_window & window, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -22470,16 +31372,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalTensorPropertiesARM ) ) +#endif void getExternalTensorPropertiesARM( PhysicalDeviceExternalTensorInfoARM const * pExternalTensorInfo, ExternalTensorPropertiesARM * pExternalTensorProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceExternalTensorPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD ExternalTensorPropertiesARM getExternalTensorPropertiesARM( PhysicalDeviceExternalTensorInfoARM const & externalTensorInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -22488,8 +31400,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +#endif VULKAN_HPP_NODISCARD Result getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const * pOpticalFlowImageFormatInfo, uint32_t * pFormatCount, OpticalFlowImageFormatPropertiesNV * pImageFormatProperties, @@ -22497,21 +31414,33 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template OpticalFlowImageFormatPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const & opticalFlowImageFormatInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template OpticalFlowImageFormatPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceOpticalFlowImageFormatsNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getOpticalFlowImageFormatsNV( OpticalFlowImageFormatInfoNV const & opticalFlowImageFormatInfo, OpticalFlowImageFormatPropertiesNVAllocator const & opticalFlowImageFormatPropertiesNVAllocator, @@ -22522,28 +31451,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD Result getCooperativeVectorPropertiesNV( uint32_t * pPropertyCount, CooperativeVectorPropertiesNV * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeVectorPropertiesNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeVectorPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeVectorPropertiesNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeVectorPropertiesNVAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeVectorPropertiesNVAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeVectorPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeVectorPropertiesNV( CooperativeVectorPropertiesNVAllocator const & cooperativeVectorPropertiesNVAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22553,28 +31499,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getCooperativeMatrixPropertiesKHR( uint32_t * pPropertyCount, CooperativeMatrixPropertiesKHR * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename CooperativeMatrixPropertiesKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixPropertiesKHRAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixPropertiesKHR( CooperativeMatrixPropertiesKHRAllocator const & cooperativeMatrixPropertiesKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22584,8 +31547,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD Result getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex, uint32_t * pQueueFamilyDataGraphPropertyCount, QueueFamilyDataGraphPropertiesARM * pQueueFamilyDataGraphProperties, @@ -22593,20 +31561,32 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyDataGraphPropertiesARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template QueueFamilyDataGraphPropertiesARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARMAllocator const & queueFamilyDataGraphPropertiesARMAllocator, @@ -22615,8 +31595,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM ) ) +#endif void getQueueFamilyDataGraphProcessingEnginePropertiesARM( PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM const * pQueueFamilyDataGraphProcessingEngineInfo, QueueFamilyDataGraphProcessingEnginePropertiesARM * pQueueFamilyDataGraphProcessingEngineProperties, @@ -22624,8 +31609,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD QueueFamilyDataGraphProcessingEnginePropertiesARM getQueueFamilyDataGraphProcessingEnginePropertiesARM( PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM const & queueFamilyDataGraphProcessingEngineInfo, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -22635,8 +31625,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM ) ) +#endif VULKAN_HPP_NODISCARD Result getQueueFamilyDataGraphEngineOperationPropertiesARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const * pQueueFamilyDataGraphProperties, @@ -22645,8 +31640,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type getQueueFamilyDataGraphEngineOperationPropertiesARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const & queueFamilyDataGraphProperties, @@ -22657,26 +31657,41 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result getCalibrateableTimeDomainsKHR( uint32_t * pTimeDomainCount, TimeDomainKHR * pTimeDomains, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TimeDomainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template TimeDomainKHRAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCalibrateableTimeDomainsKHR( TimeDomainKHRAllocator const & timeDomainKHRAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -22686,8 +31701,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +#endif VULKAN_HPP_NODISCARD Result getCooperativeMatrixFlexibleDimensionsPropertiesNV( uint32_t * pPropertyCount, CooperativeMatrixFlexibleDimensionsPropertiesNV * pProperties, @@ -22695,23 +31715,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixFlexibleDimensionsPropertiesNVAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixFlexibleDimensionsPropertiesNV( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template CooperativeMatrixFlexibleDimensionsPropertiesNVAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getCooperativeMatrixFlexibleDimensionsPropertiesNV( @@ -22723,8 +31757,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex, uint32_t * pCounterCount, @@ -22734,6 +31773,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename PerformanceCounterDescriptionARMAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, @@ -22741,11 +31781,18 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PerformanceCounterARMAllocator = std::allocator, + IsAllocator PerformanceCounterDescriptionARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename PerformanceCounterDescriptionARMAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, @@ -22753,6 +31800,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PerformanceCounterARMAllocator = std::allocator, + IsAllocator PerformanceCounterDescriptionARMAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType, std::vector>>::type enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex, @@ -22765,8 +31818,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateShaderInstrumentationMetricsARM( uint32_t * pDescriptionCount, ShaderInstrumentationMetricDescriptionARM * pDescriptions, @@ -22774,23 +31832,37 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if< std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ShaderInstrumentationMetricDescriptionARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateShaderInstrumentationMetricsARM( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if< std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ShaderInstrumentationMetricDescriptionARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateShaderInstrumentationMetricsARM( ShaderInstrumentationMetricDescriptionARMAllocator const & shaderInstrumentationMetricDescriptionARMAllocator, @@ -22801,8 +31873,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +#endif VULKAN_HPP_NODISCARD Result getQueueFamilyDataGraphOpticalFlowImageFormatsARM( uint32_t queueFamilyIndex, QueueFamilyDataGraphPropertiesARM const * pQueueFamilyDataGraphProperties, @@ -22813,12 +31890,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if< std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphOpticalFlowImageFormatPropertiesARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getQueueFamilyDataGraphOpticalFlowImageFormatsARM( uint32_t queueFamilyIndex, @@ -22827,12 +31911,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if< std::is_same::value, int>::type = 0, typename std::enable_if::type = true> +# else + template DataGraphOpticalFlowImageFormatPropertiesARMAllocator = + std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type getQueueFamilyDataGraphOpticalFlowImageFormatsARM( @@ -22843,21 +31934,82 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ + //=== VK_EXT_cooperative_matrix_maintenance1 === + + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +#if VULKAN_HPP_CPP_VERSION < 20 + template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +#endif + VULKAN_HPP_NODISCARD Result getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const * pCooperativeMatrixInfo, + uint32_t * pPropertyCount, + CooperativeMatrixProperties2EXT * pProperties, + Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; +#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 + template , + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, + typename std::enable_if::value, + int>::type = 0, + typename std::enable_if::type = true> +# else + template CooperativeMatrixProperties2EXTAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +# endif + VULKAN_HPP_NODISCARD typename ResultValueType>::type + getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo, + Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html +# if VULKAN_HPP_CPP_VERSION < 20 + template , + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, + typename std::enable_if::value, + int>::type = 0, + typename std::enable_if::type = true> +# else + template CooperativeMatrixProperties2EXTAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkGetPhysicalDeviceCooperativeMatrixProperties2EXT ) ) +# endif + VULKAN_HPP_NODISCARD typename ResultValueType>::type + getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo, + CooperativeMatrixProperties2EXTAllocator const & cooperativeMatrixProperties2EXTAllocator, + Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; +#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === // wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ) ) +# endif Bool32 getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, struct ubm_device * device, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetPhysicalDeviceUbmPresentationSupportSEC, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceUbmPresentationSupportSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetPhysicalDeviceUbmPresentationSupportSEC ) ) +# endif VULKAN_HPP_NODISCARD std::pair getUbmPresentationSupportSEC( uint32_t queueFamilyIndex, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -22956,43 +32108,78 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkDestroyInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyInstance.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyInstance ) ) +#endif void destroy( AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyInstance ) ) +# endif void destroy( Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +#endif VULKAN_HPP_NODISCARD Result enumeratePhysicalDevices( uint32_t * pPhysicalDeviceCount, PhysicalDevice * pPhysicalDevices, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDevices( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDevices ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDevices( PhysicalDeviceAllocator const & physicalDeviceAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkGetInstanceProcAddr ) ) +#endif PFN_vkVoidFunction getProcAddr( char const * pName, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkGetInstanceProcAddr ) ) +# endif PFN_VoidFunction getProcAddr( std::string const & name, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -23000,28 +32187,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +#endif VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroups( uint32_t * pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceGroupPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceGroupPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroups( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDeviceGroups, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceGroupPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceGroupPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroups ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroups( PhysicalDeviceGroupPropertiesAllocator const & physicalDeviceGroupPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -23030,26 +32234,46 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_surface === // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +#endif void destroySurfaceKHR( SurfaceKHR surface, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +# endif void destroySurfaceKHR( SurfaceKHR surface VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +#endif void destroy( SurfaceKHR surface, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroySurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroySurfaceKHR ) ) +# endif void destroy( SurfaceKHR surface, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -23059,8 +32283,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +#endif VULKAN_HPP_NODISCARD Result createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, @@ -23068,8 +32297,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23077,8 +32311,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDisplayPlaneSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDisplayPlaneSurfaceKHRUnique( DisplaySurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23090,21 +32329,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_xlib_surface === // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD Result createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXlibSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createXlibSurfaceKHRUnique( XlibSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23117,21 +32371,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_xcb_surface === // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD Result createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateXcbSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createXcbSurfaceKHRUnique( XcbSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23144,21 +32413,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_wayland_surface === // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD Result createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWaylandSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createWaylandSurfaceKHRUnique( WaylandSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23171,21 +32455,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_android_surface === // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD Result createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateAndroidSurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createAndroidSurfaceKHRUnique( AndroidSurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23198,21 +32497,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_KHR_win32_surface === // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD Result createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateWin32SurfaceKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createWin32SurfaceKHRUnique( Win32SurfaceCreateInfoKHR const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23225,8 +32539,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, DebugReportCallbackEXT * pCallback, @@ -23234,8 +32553,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23243,8 +32567,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDebugReportCallbackEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDebugReportCallbackEXTUnique( DebugReportCallbackCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23254,16 +32583,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +#endif void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +# endif void destroyDebugReportCallbackEXT( DebugReportCallbackEXT callback VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -23271,23 +32610,38 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +#endif void destroy( DebugReportCallbackEXT callback, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugReportCallbackEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugReportCallbackEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugReportCallbackEXT ) ) +# endif void destroy( DebugReportCallbackEXT callback, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDebugReportMessageEXT ) ) +#endif void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, @@ -23298,7 +32652,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDebugReportMessageEXT ) ) +# endif void debugReportMessageEXT( DebugReportFlagsEXT flags, DebugReportObjectTypeEXT objectType, uint64_t object, @@ -23314,8 +32673,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD Result createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, @@ -23323,8 +32687,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23332,8 +32701,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateStreamDescriptorSurfaceGGP ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createStreamDescriptorSurfaceGGPUnique( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23346,21 +32720,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_NN_vi_surface === // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD Result createViSurfaceNN( ViSurfaceCreateInfoNN const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createViSurfaceNN( ViSurfaceCreateInfoNN const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateViSurfaceNN ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createViSurfaceNNUnique( ViSurfaceCreateInfoNN const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23373,28 +32762,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +#endif VULKAN_HPP_NODISCARD Result enumeratePhysicalDeviceGroupsKHR( uint32_t * pPhysicalDeviceGroupCount, PhysicalDeviceGroupProperties * pPhysicalDeviceGroupProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceGroupPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceGroupPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroupsKHR( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html +# if VULKAN_HPP_CPP_VERSION < 20 template < typename PhysicalDeviceGroupPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template PhysicalDeviceGroupPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumeratePhysicalDeviceGroupsKHR ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumeratePhysicalDeviceGroupsKHR( PhysicalDeviceGroupPropertiesAllocator const & physicalDeviceGroupPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; @@ -23404,21 +32810,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_MVK_ios_surface === // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD Result createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateIOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createIOSSurfaceMVKUnique( IOSSurfaceCreateInfoMVK const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23431,21 +32852,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_MVK_macos_surface === // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD Result createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMacOSSurfaceMVK ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createMacOSSurfaceMVKUnique( MacOSSurfaceCreateInfoMVK const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23458,8 +32894,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, DebugUtilsMessengerEXT * pMessenger, @@ -23467,8 +32908,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23476,8 +32922,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDebugUtilsMessengerEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDebugUtilsMessengerEXTUnique( DebugUtilsMessengerCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23487,16 +32938,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +#endif void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +# endif void destroyDebugUtilsMessengerEXT( DebugUtilsMessengerEXT messenger VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -23504,16 +32965,26 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +#endif void destroy( DebugUtilsMessengerEXT messenger, AllocationCallbacks const * pAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkDestroyDebugUtilsMessengerEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDebugUtilsMessengerEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkDestroyDebugUtilsMessengerEXT ) ) +# endif void destroy( DebugUtilsMessengerEXT messenger, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; @@ -23521,7 +32992,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkSubmitDebugUtilsMessageEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkSubmitDebugUtilsMessageEXT ) ) +#endif void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, DebugUtilsMessengerCallbackDataEXT const * pCallbackData, @@ -23529,7 +33005,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkSubmitDebugUtilsMessageEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkSubmitDebugUtilsMessageEXT ) ) +# endif void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, DebugUtilsMessageTypeFlagsEXT messageTypes, DebugUtilsMessengerCallbackDataEXT const & callbackData, @@ -23541,8 +33022,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD Result createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, @@ -23550,8 +33036,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23559,8 +33050,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateImagePipeSurfaceFUCHSIA ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createImagePipeSurfaceFUCHSIAUnique( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23573,21 +33069,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_metal_surface === // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD Result createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateMetalSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createMetalSurfaceEXTUnique( MetalSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23599,21 +33110,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_headless_surface === // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +#endif VULKAN_HPP_NODISCARD Result createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateHeadlessSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createHeadlessSurfaceEXTUnique( HeadlessSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23625,21 +33151,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_EXT_directfb_surface === // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD Result createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateDirectFBSurfaceEXT ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createDirectFBSurfaceEXTUnique( DirectFBSurfaceCreateInfoEXT const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23652,21 +33193,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_QNX_screen_surface === // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD Result createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateScreenSurfaceQNX ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createScreenSurfaceQNXUnique( ScreenSurfaceCreateInfoQNX const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23679,21 +33235,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_OHOS_surface === // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD Result createSurfaceOHOS( SurfaceCreateInfoOHOS const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createSurfaceOHOS( SurfaceCreateInfoOHOS const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateSurfaceOHOS ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createSurfaceOHOSUnique( SurfaceCreateInfoOHOS const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23706,21 +33277,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_SEC_ubm_surface === // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD Result createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const * pCreateInfo, AllocationCallbacks const * pAllocator, SurfaceKHR * pSurface, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT; # ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createUbmSurfaceSEC( UbmSurfaceCreateInfoSEC const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateUbmSurfaceSEC, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateUbmSurfaceSEC.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateUbmSurfaceSEC ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createUbmSurfaceSECUnique( UbmSurfaceCreateInfoSEC const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23777,21 +33363,36 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_0 === // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +#endif VULKAN_HPP_NODISCARD Result createInstance( InstanceCreateInfo const * pCreateInfo, AllocationCallbacks const * pAllocator, Instance * pInstance, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type createInstance( InstanceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); # ifndef VULKAN_HPP_NO_SMART_HANDLE // wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkCreateInstance ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type createInstanceUnique( InstanceCreateInfo const & createInfo, Optional allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), @@ -23801,26 +33402,43 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateInstanceExtensionProperties( char const * pLayerName, uint32_t * pPropertyCount, ExtensionProperties * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ExtensionPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); // wrapper function for command vkEnumerateInstanceExtensionProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template ExtensionPropertiesAllocator = std::allocator, + typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateInstanceExtensionProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceExtensionProperties( Optional layerName, ExtensionPropertiesAllocator const & extensionPropertiesAllocator, @@ -23829,25 +33447,40 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateInstanceLayerProperties( uint32_t * pPropertyCount, LayerProperties * pProperties, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template LayerPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceLayerProperties( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); // wrapper function for command vkEnumerateInstanceLayerProperties, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html +# if VULKAN_HPP_CPP_VERSION < 20 template , typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE, typename std::enable_if::value, int>::type = 0, typename std::enable_if::type = true> +# else + template LayerPropertiesAllocator = std::allocator, typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + requires( IS_DISPATCHED( vkEnumerateInstanceLayerProperties ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType>::type enumerateInstanceLayerProperties( LayerPropertiesAllocator const & layerPropertiesAllocator, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ @@ -23855,79 +33488,133 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_VERSION_1_1 === // wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html +#if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +#else + template + requires( IS_DISPATCHED( vkEnumerateInstanceVersion ) ) +#endif VULKAN_HPP_NODISCARD Result enumerateInstanceVersion( uint32_t * pApiVersion, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) VULKAN_HPP_NOEXCEPT; #ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE // wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html +# if VULKAN_HPP_CPP_VERSION < 20 template ::type = true> +# else + template + requires( IS_DISPATCHED( vkEnumerateInstanceVersion ) ) +# endif VULKAN_HPP_NODISCARD typename ResultValueType::type enumerateInstanceVersion( Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ); #endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */ // operators to compare VULKAN_HPP_NAMESPACE::-handles +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator==( T const & lhs, T const & rhs ) { return static_cast( lhs ) == static_cast( rhs ); } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator!=( T const & lhs, T const & rhs ) { return static_cast( lhs ) != static_cast( rhs ); } #if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template +# endif auto operator<=>( T const & lhs, T const & rhs ) { return static_cast( lhs ) <=> static_cast( rhs ); } #else +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template +# endif bool operator<( T const & lhs, T const & rhs ) { return static_cast( lhs ) < static_cast( rhs ); } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template +# endif bool operator<=( T const & lhs, T const & rhs ) { return static_cast( lhs ) <= static_cast( rhs ); } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template +# endif bool operator>( T const & lhs, T const & rhs ) { return static_cast( lhs ) > static_cast( rhs ); } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +# else + template +# endif bool operator>=( T const & lhs, T const & rhs ) { return static_cast( lhs ) >= static_cast( rhs ); } #endif +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator==( T const & v, std::nullptr_t ) { return !v; } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator==( std::nullptr_t, T const & v ) { return !v; } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator!=( T const & v, std::nullptr_t ) { return !!v; } +#if VULKAN_HPP_CPP_VERSION < 20 template ::value, int>::type = 0> +#else + template +#endif bool operator!=( std::nullptr_t, T const & v ) { return !!v; diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_hash.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_hash.hpp index eeff293..64e400f 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_hash.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_hash.hpp @@ -2256,6 +2256,20 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::BufferDeviceAddressAlignmentAllocateInfoVALVE const & bufferDeviceAddressAlignmentAllocateInfoVALVE ) const + VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, bufferDeviceAddressAlignmentAllocateInfoVALVE.sType ); + VULKAN_HPP_HASH_COMBINE( seed, bufferDeviceAddressAlignmentAllocateInfoVALVE.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, bufferDeviceAddressAlignmentAllocateInfoVALVE.alignment ); + return seed; + } + }; + template <> struct hash { @@ -3123,6 +3137,25 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::CooperativeMatrixProperties2EXT const & cooperativeMatrixProperties2EXT ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.sType ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.MGranularity ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.NGranularity ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.KGranularity ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.AType ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.BType ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.CType ); + VULKAN_HPP_HASH_COMBINE( seed, cooperativeMatrixProperties2EXT.ResultType ); + return seed; + } + }; + template <> struct hash { @@ -8071,6 +8104,19 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::ImageTilingControlCreateInfoEXT const & imageTilingControlCreateInfoEXT ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, imageTilingControlCreateInfoEXT.sType ); + VULKAN_HPP_HASH_COMBINE( seed, imageTilingControlCreateInfoEXT.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, imageTilingControlCreateInfoEXT.tilingControl ); + return seed; + } + }; + template <> struct hash { @@ -10230,6 +10276,34 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & + physicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE.bufferDeviceAddressAllocationAlignment ); + return seed; + } + }; + + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & + physicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE.maxBufferDeviceAddressAllocationAlignment ); + return seed; + } + }; + template <> struct hash { @@ -10568,6 +10642,41 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t + operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeMatrixInfo2EXT const & physicalDeviceCooperativeMatrixInfo2EXT ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.scope ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.invocations ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.subgroupSize ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixInfo2EXT.flags ); + return seed; + } + }; + + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & + physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT ) const VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.cooperativeMatrixProperties2 ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.cooperativeMatrixReductions ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.cooperativeMatrixConversions ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.cooperativeMatrixPerElementOperations ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.cooperativeMatrixGetCoordinate ); + return seed; + } + }; + template <> struct hash { @@ -12612,6 +12721,20 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDeviceImageTilingControlFeaturesEXT const & physicalDeviceImageTilingControlFeaturesEXT ) const + VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceImageTilingControlFeaturesEXT.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceImageTilingControlFeaturesEXT.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDeviceImageTilingControlFeaturesEXT.imageTilingControl ); + return seed; + } + }; + template <> struct hash { @@ -14039,15 +14162,15 @@ VULKAN_HPP_EXPORT namespace std }; template <> - struct hash + struct hash { - std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & - physicalDevicePipelineLibraryGroupHandlesFeaturesEXT ) const VULKAN_HPP_NOEXCEPT + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & + physicalDevicePipelineLibraryGroupHandlesFeaturesKHR ) const VULKAN_HPP_NOEXCEPT { std::size_t seed = 0; - VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesEXT.sType ); - VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesEXT.pNext ); - VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesEXT.pipelineLibraryGroupHandles ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesKHR.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesKHR.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePipelineLibraryGroupHandlesFeaturesKHR.pipelineLibraryGroupHandles ); return seed; } }; @@ -14342,6 +14465,20 @@ VULKAN_HPP_EXPORT namespace std } }; + template <> + struct hash + { + std::size_t operator()( VULKAN_HPP_NAMESPACE::PhysicalDevicePrivateDataBaseHandleFeaturesNV const & physicalDevicePrivateDataBaseHandleFeaturesNV ) const + VULKAN_HPP_NOEXCEPT + { + std::size_t seed = 0; + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePrivateDataBaseHandleFeaturesNV.sType ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePrivateDataBaseHandleFeaturesNV.pNext ); + VULKAN_HPP_HASH_COMBINE( seed, physicalDevicePrivateDataBaseHandleFeaturesNV.privateDataBaseHandle ); + return seed; + } + }; + template <> struct hash { diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_raii.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_raii.hpp index 933b6f2..a0d4c14 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_raii.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_raii.hpp @@ -414,6 +414,10 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM = PFN_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM" ) ); + //=== VK_EXT_cooperative_matrix_maintenance1 === + vkGetPhysicalDeviceCooperativeMatrixProperties2EXT = + PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixProperties2EXT" ) ); + # if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === vkCreateUbmSurfaceSEC = PFN_vkCreateUbmSurfaceSEC( vkGetInstanceProcAddr( instance, "vkCreateUbmSurfaceSEC" ) ); @@ -733,6 +737,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE //=== VK_ARM_data_graph_optical_flow === PFN_vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM = 0; + //=== VK_EXT_cooperative_matrix_maintenance1 === + PFN_vkGetPhysicalDeviceCooperativeMatrixProperties2EXT vkGetPhysicalDeviceCooperativeMatrixProperties2EXT = 0; + # if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === PFN_vkCreateUbmSurfaceSEC vkCreateUbmSurfaceSEC = 0; @@ -3337,6 +3344,11 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = false; }; +# if 20 <= VULKAN_HPP_CPP_VERSION + template + concept VulkanRAIIHandleType = isVulkanRAIIHandleType::value; +# endif + class Context { public: @@ -4412,6 +4424,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE QueueFamilyDataGraphPropertiesARM const & queueFamilyDataGraphProperties, DataGraphOpticalFlowImageFormatInfoARM const & opticalFlowImageFormatInfo ) const; + //=== VK_EXT_cooperative_matrix_maintenance1 === + + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html + VULKAN_HPP_NODISCARD typename ResultValueType>::type + getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo ) const; + # if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === @@ -15863,51 +15882,78 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE }; // operators to compare VULKAN_HPP_NAMESPACE::raii-handles -# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif +# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) auto operator<=>( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT { return *a <=> *b; } # else - template ::value, bool>::type = 0> bool operator<( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT { return *a < *b; } # endif +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator==( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT { return *a == *b; } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator!=( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT { return *a != *b; } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator==( T const & v, std::nullptr_t ) VULKAN_HPP_NOEXCEPT { return !*v; } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator==( std::nullptr_t, T const & v ) VULKAN_HPP_NOEXCEPT { return !*v; } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator!=( T const & v, std::nullptr_t ) VULKAN_HPP_NOEXCEPT { return *v; } +# if VULKAN_HPP_CPP_VERSION < 20 template ::value, bool>::type = 0> +# else + template +# endif bool operator!=( std::nullptr_t, T const & v ) VULKAN_HPP_NOEXCEPT { return *v; @@ -30091,6 +30137,45 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE reinterpret_cast( ¶meters ) ); } + //=== VK_EXT_cooperative_matrix_maintenance1 === + + // wrapper function for command vkGetPhysicalDeviceCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixProperties2EXT.html + VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType>::type + PhysicalDevice::getCooperativeMatrixProperties2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & cooperativeMatrixInfo ) const + { + VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixProperties2EXT && + "Function requires " ); + + std::vector properties; + uint32_t propertyCount; + Result result; + do + { + result = static_cast( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( + static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + nullptr ) ); + if ( ( result == Result::eSuccess ) && propertyCount ) + { + properties.resize( propertyCount ); + result = static_cast( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixProperties2EXT( + static_cast( m_physicalDevice ), + reinterpret_cast( &cooperativeMatrixInfo ), + &propertyCount, + reinterpret_cast( properties.data() ) ) ); + } + } while ( result == Result::eIncomplete ); + VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixProperties2EXT" ); + VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); + if ( propertyCount < properties.size() ) + { + properties.resize( propertyCount ); + } + return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); + } + # if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_static_assertions.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_static_assertions.hpp index da03714..d19a764 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_static_assertions.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_static_assertions.hpp @@ -8136,16 +8136,6 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "PhysicalDeviceShaderCoreBuiltinsPropertiesARM is not nothrow_move_constructible!" ); -//=== VK_EXT_pipeline_library_group_handles === - -VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT ) == - sizeof( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT ), - "struct and wrapper have different size!" ); -VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, - "struct wrapper is not a standard layout!" ); -VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, - "PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT is not nothrow_move_constructible!" ); - //=== VK_EXT_dynamic_rendering_unused_attachments === VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT ) == @@ -10386,6 +10376,16 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "PhysicalDeviceComputeOccupancyPriorityFeaturesNV is not nothrow_move_constructible!" ); +//=== VK_KHR_pipeline_library_group_handles === + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR ) == + sizeof( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR is not nothrow_move_constructible!" ); + //=== VK_KHR_maintenance11 === VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceMaintenance11FeaturesKHR ) == sizeof( VkPhysicalDeviceMaintenance11FeaturesKHR ), @@ -10403,6 +10403,29 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "QueueFamilyOptimalImageTransferGranularityPropertiesKHR is not nothrow_move_constructible!" ); +//=== VK_EXT_cooperative_matrix_maintenance1 === + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::CooperativeMatrixProperties2EXT ) == sizeof( VkCooperativeMatrixProperties2EXT ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "CooperativeMatrixProperties2EXT is not nothrow_move_constructible!" ); + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeMatrixInfo2EXT ) == sizeof( VkPhysicalDeviceCooperativeMatrixInfo2EXT ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDeviceCooperativeMatrixInfo2EXT is not nothrow_move_constructible!" ); + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT ) == + sizeof( VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT is not nothrow_move_constructible!" ); + //=== VK_EXT_shader_subgroup_partitioned === VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT ) == @@ -10539,6 +10562,22 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "PhysicalDevicePrimitiveRestartIndexFeaturesEXT is not nothrow_move_constructible!" ); +//=== VK_EXT_image_tiling_control === + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceImageTilingControlFeaturesEXT ) == + sizeof( VkPhysicalDeviceImageTilingControlFeaturesEXT ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDeviceImageTilingControlFeaturesEXT is not nothrow_move_constructible!" ); + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::ImageTilingControlCreateInfoEXT ) == sizeof( VkImageTilingControlCreateInfoEXT ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "ImageTilingControlCreateInfoEXT is not nothrow_move_constructible!" ); + //=== VK_NV_cooperative_matrix_decode_vector === VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV ) == @@ -10549,4 +10588,40 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, "PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV is not nothrow_move_constructible!" ); +//=== VK_NV_private_data_base_handle === + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDevicePrivateDataBaseHandleFeaturesNV ) == + sizeof( VkPhysicalDevicePrivateDataBaseHandleFeaturesNV ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDevicePrivateDataBaseHandleFeaturesNV is not nothrow_move_constructible!" ); + +//=== VK_VALVE_buffer_device_address_allocation_alignment === + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE ) == + sizeof( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE is not nothrow_move_constructible!" ); + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE ) == + sizeof( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE is not nothrow_move_constructible!" ); + +VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::BufferDeviceAddressAlignmentAllocateInfoVALVE ) == + sizeof( VkBufferDeviceAddressAlignmentAllocateInfoVALVE ), + "struct and wrapper have different size!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout::value, + "struct wrapper is not a standard layout!" ); +VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible::value, + "BufferDeviceAddressAlignmentAllocateInfoVALVE is not nothrow_move_constructible!" ); + #endif diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_structs.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_structs.hpp index 3560b16..bdf1fa6 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_structs.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_structs.hpp @@ -19265,6 +19265,130 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using BufferCopy2KHR = BufferCopy2; + // wrapper struct for struct VkBufferDeviceAddressAlignmentAllocateInfoVALVE, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkBufferDeviceAddressAlignmentAllocateInfoVALVE.html + struct BufferDeviceAddressAlignmentAllocateInfoVALVE + { + using NativeType = VkBufferDeviceAddressAlignmentAllocateInfoVALVE; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBufferDeviceAddressAlignmentAllocateInfoVALVE; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR BufferDeviceAddressAlignmentAllocateInfoVALVE( uint32_t alignment_ = {}, void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , alignment{ alignment_ } + { + } + + VULKAN_HPP_CONSTEXPR + BufferDeviceAddressAlignmentAllocateInfoVALVE( BufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + BufferDeviceAddressAlignmentAllocateInfoVALVE( VkBufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT + : BufferDeviceAddressAlignmentAllocateInfoVALVE( *reinterpret_cast( &rhs ) ) + { + } + + BufferDeviceAddressAlignmentAllocateInfoVALVE & operator=( BufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + BufferDeviceAddressAlignmentAllocateInfoVALVE & operator=( VkBufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressAlignmentAllocateInfoVALVE & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressAlignmentAllocateInfoVALVE && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressAlignmentAllocateInfoVALVE & setAlignment( uint32_t alignment_ ) & VULKAN_HPP_NOEXCEPT + { + alignment = alignment_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 BufferDeviceAddressAlignmentAllocateInfoVALVE && setAlignment( uint32_t alignment_ ) && VULKAN_HPP_NOEXCEPT + { + alignment = alignment_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkBufferDeviceAddressAlignmentAllocateInfoVALVE const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferDeviceAddressAlignmentAllocateInfoVALVE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkBufferDeviceAddressAlignmentAllocateInfoVALVE const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkBufferDeviceAddressAlignmentAllocateInfoVALVE *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, alignment ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( BufferDeviceAddressAlignmentAllocateInfoVALVE const & ) const = default; +#else + bool operator==( BufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( alignment == rhs.alignment ); +# endif + } + + bool operator!=( BufferDeviceAddressAlignmentAllocateInfoVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::eBufferDeviceAddressAlignmentAllocateInfoVALVE; + void * pNext = {}; + uint32_t alignment = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = BufferDeviceAddressAlignmentAllocateInfoVALVE; + }; +#endif + + template <> + struct CppType + { + using Type = BufferDeviceAddressAlignmentAllocateInfoVALVE; + }; + // wrapper struct for struct VkBufferDeviceAddressCreateInfoEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkBufferDeviceAddressCreateInfoEXT.html struct BufferDeviceAddressCreateInfoEXT @@ -29424,6 +29548,133 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = CooperativeMatrixFlexibleDimensionsPropertiesNV; }; + // wrapper struct for struct VkCooperativeMatrixProperties2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeMatrixProperties2EXT.html + struct CooperativeMatrixProperties2EXT + { + using NativeType = VkCooperativeMatrixProperties2EXT; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eCooperativeMatrixProperties2EXT; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR CooperativeMatrixProperties2EXT( uint32_t MGranularity_ = {}, + uint32_t NGranularity_ = {}, + uint32_t KGranularity_ = {}, + ComponentTypeKHR AType_ = ComponentTypeKHR::eFloat16, + ComponentTypeKHR BType_ = ComponentTypeKHR::eFloat16, + ComponentTypeKHR CType_ = ComponentTypeKHR::eFloat16, + ComponentTypeKHR ResultType_ = ComponentTypeKHR::eFloat16, + void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , MGranularity{ MGranularity_ } + , NGranularity{ NGranularity_ } + , KGranularity{ KGranularity_ } + , AType{ AType_ } + , BType{ BType_ } + , CType{ CType_ } + , ResultType{ ResultType_ } + { + } + + VULKAN_HPP_CONSTEXPR CooperativeMatrixProperties2EXT( CooperativeMatrixProperties2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + CooperativeMatrixProperties2EXT( VkCooperativeMatrixProperties2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + : CooperativeMatrixProperties2EXT( *reinterpret_cast( &rhs ) ) + { + } + + CooperativeMatrixProperties2EXT & operator=( CooperativeMatrixProperties2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + CooperativeMatrixProperties2EXT & operator=( VkCooperativeMatrixProperties2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + + operator VkCooperativeMatrixProperties2EXT const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCooperativeMatrixProperties2EXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkCooperativeMatrixProperties2EXT const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkCooperativeMatrixProperties2EXT *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple + reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, MGranularity, NGranularity, KGranularity, AType, BType, CType, ResultType ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( CooperativeMatrixProperties2EXT const & ) const = default; +#else + bool operator==( CooperativeMatrixProperties2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( MGranularity == rhs.MGranularity ) && ( NGranularity == rhs.NGranularity ) && + ( KGranularity == rhs.KGranularity ) && ( AType == rhs.AType ) && ( BType == rhs.BType ) && ( CType == rhs.CType ) && + ( ResultType == rhs.ResultType ); +# endif + } + + bool operator!=( CooperativeMatrixProperties2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::eCooperativeMatrixProperties2EXT; + void * pNext = {}; + uint32_t MGranularity = {}; + uint32_t NGranularity = {}; + uint32_t KGranularity = {}; + ComponentTypeKHR AType = ComponentTypeKHR::eFloat16; + ComponentTypeKHR BType = ComponentTypeKHR::eFloat16; + ComponentTypeKHR CType = ComponentTypeKHR::eFloat16; + ComponentTypeKHR ResultType = ComponentTypeKHR::eFloat16; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = CooperativeMatrixProperties2EXT; + }; +#endif + + template <> + struct CppType + { + using Type = CooperativeMatrixProperties2EXT; + }; + // wrapper struct for struct VkCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkCooperativeMatrixPropertiesKHR.html struct CooperativeMatrixPropertiesKHR @@ -56538,6 +56789,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = DeviceOrHostAddressConstAMDX; }; # endif + #endif /*VK_ENABLE_BETA_EXTENSIONS*/ // wrapper struct for struct VkDevicePipelineBinaryInternalCacheControlKHR, see @@ -81925,6 +82177,130 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = ImageSwapchainCreateInfoKHR; }; + // wrapper struct for struct VkImageTilingControlCreateInfoEXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkImageTilingControlCreateInfoEXT.html + struct ImageTilingControlCreateInfoEXT + { + using NativeType = VkImageTilingControlCreateInfoEXT; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageTilingControlCreateInfoEXT; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR ImageTilingControlCreateInfoEXT( ImageTilingControlEXT tilingControl_ = ImageTilingControlEXT::eDefault, + void const * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , tilingControl{ tilingControl_ } + { + } + + VULKAN_HPP_CONSTEXPR ImageTilingControlCreateInfoEXT( ImageTilingControlCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + ImageTilingControlCreateInfoEXT( VkImageTilingControlCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + : ImageTilingControlCreateInfoEXT( *reinterpret_cast( &rhs ) ) + { + } + + ImageTilingControlCreateInfoEXT & operator=( ImageTilingControlCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + ImageTilingControlCreateInfoEXT & operator=( VkImageTilingControlCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 ImageTilingControlCreateInfoEXT & setPNext( void const * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 ImageTilingControlCreateInfoEXT && setPNext( void const * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 ImageTilingControlCreateInfoEXT & setTilingControl( ImageTilingControlEXT tilingControl_ ) & VULKAN_HPP_NOEXCEPT + { + tilingControl = tilingControl_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 ImageTilingControlCreateInfoEXT && setTilingControl( ImageTilingControlEXT tilingControl_ ) && VULKAN_HPP_NOEXCEPT + { + tilingControl = tilingControl_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkImageTilingControlCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageTilingControlCreateInfoEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkImageTilingControlCreateInfoEXT const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkImageTilingControlCreateInfoEXT *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, tilingControl ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( ImageTilingControlCreateInfoEXT const & ) const = default; +#else + bool operator==( ImageTilingControlCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( tilingControl == rhs.tilingControl ); +# endif + } + + bool operator!=( ImageTilingControlCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::eImageTilingControlCreateInfoEXT; + void const * pNext = {}; + ImageTilingControlEXT tilingControl = ImageTilingControlEXT::eDefault; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = ImageTilingControlCreateInfoEXT; + }; +#endif + + template <> + struct CppType + { + using Type = ImageTilingControlCreateInfoEXT; + }; + // wrapper struct for struct VkImageUsageFlags2CreateInfoKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkImageUsageFlags2CreateInfoKHR.html struct ImageUsageFlags2CreateInfoKHR @@ -102956,6 +103332,272 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = PhysicalDeviceBorderColorSwizzleFeaturesEXT; }; + // wrapper struct for struct VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE.html + struct PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE + { + using NativeType = VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE( Bool32 bufferDeviceAddressAllocationAlignment_ = {}, + void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , bufferDeviceAddressAllocationAlignment{ bufferDeviceAddressAllocationAlignment_ } + { + } + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE( + PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) + VULKAN_HPP_NOEXCEPT + : PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE( + *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE & + operator=( PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE & + operator=( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE & + setBufferDeviceAddressAllocationAlignment( Bool32 bufferDeviceAddressAllocationAlignment_ ) & + VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressAllocationAlignment = bufferDeviceAddressAllocationAlignment_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE && + setBufferDeviceAddressAllocationAlignment( Bool32 bufferDeviceAddressAllocationAlignment_ ) && + VULKAN_HPP_NOEXCEPT + { + bufferDeviceAddressAllocationAlignment = bufferDeviceAddressAllocationAlignment_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, bufferDeviceAddressAllocationAlignment ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & ) const = default; +#else + bool operator==( PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( bufferDeviceAddressAllocationAlignment == rhs.bufferDeviceAddressAllocationAlignment ); +# endif + } + + bool operator!=( PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + void * pNext = {}; + Bool32 bufferDeviceAddressAllocationAlignment = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE; + }; + + // wrapper struct for struct VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE.html + struct PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE + { + using NativeType = VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE( uint32_t maxBufferDeviceAddressAllocationAlignment_ = {}, + void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , maxBufferDeviceAddressAllocationAlignment{ maxBufferDeviceAddressAllocationAlignment_ } + { + } + + VULKAN_HPP_CONSTEXPR PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE( + PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) + VULKAN_HPP_NOEXCEPT + : PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE( + *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE & + operator=( PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE & + operator=( VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE & + setMaxBufferDeviceAddressAllocationAlignment( uint32_t maxBufferDeviceAddressAllocationAlignment_ ) & + VULKAN_HPP_NOEXCEPT + { + maxBufferDeviceAddressAllocationAlignment = maxBufferDeviceAddressAllocationAlignment_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE && + setMaxBufferDeviceAddressAllocationAlignment( uint32_t maxBufferDeviceAddressAllocationAlignment_ ) && + VULKAN_HPP_NOEXCEPT + { + maxBufferDeviceAddressAllocationAlignment = maxBufferDeviceAddressAllocationAlignment_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, maxBufferDeviceAddressAllocationAlignment ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & ) const = default; +#else + bool operator==( PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( maxBufferDeviceAddressAllocationAlignment == rhs.maxBufferDeviceAddressAllocationAlignment ); +# endif + } + + bool operator!=( PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + void * pNext = {}; + uint32_t maxBufferDeviceAddressAllocationAlignment = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE; + }; + // wrapper struct for struct VkPhysicalDeviceBufferDeviceAddressFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceBufferDeviceAddressFeatures.html struct PhysicalDeviceBufferDeviceAddressFeatures @@ -105886,6 +106528,388 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = PhysicalDeviceCooperativeMatrixFeaturesNV; }; + // wrapper struct for struct VkPhysicalDeviceCooperativeMatrixInfo2EXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceCooperativeMatrixInfo2EXT.html + struct PhysicalDeviceCooperativeMatrixInfo2EXT + { + using NativeType = VkPhysicalDeviceCooperativeMatrixInfo2EXT; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCooperativeMatrixInfo2EXT; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixInfo2EXT( ScopeKHR scope_ = ScopeKHR::eDevice, + uint32_t invocations_ = {}, + uint32_t subgroupSize_ = {}, + CooperativeMatrixFlagsEXT flags_ = {}, + void const * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , scope{ scope_ } + , invocations{ invocations_ } + , subgroupSize{ subgroupSize_ } + , flags{ flags_ } + { + } + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixInfo2EXT( PhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCooperativeMatrixInfo2EXT( VkPhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + : PhysicalDeviceCooperativeMatrixInfo2EXT( *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDeviceCooperativeMatrixInfo2EXT & operator=( PhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDeviceCooperativeMatrixInfo2EXT & operator=( VkPhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT & setPNext( void const * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT && setPNext( void const * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT & setScope( ScopeKHR scope_ ) & VULKAN_HPP_NOEXCEPT + { + scope = scope_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT && setScope( ScopeKHR scope_ ) && VULKAN_HPP_NOEXCEPT + { + scope = scope_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT & setInvocations( uint32_t invocations_ ) & VULKAN_HPP_NOEXCEPT + { + invocations = invocations_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT && setInvocations( uint32_t invocations_ ) && VULKAN_HPP_NOEXCEPT + { + invocations = invocations_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT & setSubgroupSize( uint32_t subgroupSize_ ) & VULKAN_HPP_NOEXCEPT + { + subgroupSize = subgroupSize_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT && setSubgroupSize( uint32_t subgroupSize_ ) && VULKAN_HPP_NOEXCEPT + { + subgroupSize = subgroupSize_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT & setFlags( CooperativeMatrixFlagsEXT flags_ ) & VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixInfo2EXT && setFlags( CooperativeMatrixFlagsEXT flags_ ) && VULKAN_HPP_NOEXCEPT + { + flags = flags_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDeviceCooperativeMatrixInfo2EXT const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixInfo2EXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixInfo2EXT const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixInfo2EXT *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple + reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, scope, invocations, subgroupSize, flags ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDeviceCooperativeMatrixInfo2EXT const & ) const = default; +#else + bool operator==( PhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( scope == rhs.scope ) && ( invocations == rhs.invocations ) && + ( subgroupSize == rhs.subgroupSize ) && ( flags == rhs.flags ); +# endif + } + + bool operator!=( PhysicalDeviceCooperativeMatrixInfo2EXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixInfo2EXT; + void const * pNext = {}; + ScopeKHR scope = ScopeKHR::eDevice; + uint32_t invocations = {}; + uint32_t subgroupSize = {}; + CooperativeMatrixFlagsEXT flags = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixInfo2EXT; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixInfo2EXT; + }; + + // wrapper struct for struct VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT.html + struct PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT + { + using NativeType = VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT( Bool32 cooperativeMatrixProperties2_ = {}, + Bool32 cooperativeMatrixReductions_ = {}, + Bool32 cooperativeMatrixConversions_ = {}, + Bool32 cooperativeMatrixPerElementOperations_ = {}, + Bool32 cooperativeMatrixGetCoordinate_ = {}, + void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , cooperativeMatrixProperties2{ cooperativeMatrixProperties2_ } + , cooperativeMatrixReductions{ cooperativeMatrixReductions_ } + , cooperativeMatrixConversions{ cooperativeMatrixConversions_ } + , cooperativeMatrixPerElementOperations{ cooperativeMatrixPerElementOperations_ } + , cooperativeMatrixGetCoordinate{ cooperativeMatrixGetCoordinate_ } + { + } + + VULKAN_HPP_CONSTEXPR PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT( PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) + VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT( VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + : PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT( *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & + operator=( PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & + operator=( VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & setCooperativeMatrixProperties2( Bool32 cooperativeMatrixProperties2_ ) & + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixProperties2 = cooperativeMatrixProperties2_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && setCooperativeMatrixProperties2( Bool32 cooperativeMatrixProperties2_ ) && + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixProperties2 = cooperativeMatrixProperties2_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & setCooperativeMatrixReductions( Bool32 cooperativeMatrixReductions_ ) & + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixReductions = cooperativeMatrixReductions_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && setCooperativeMatrixReductions( Bool32 cooperativeMatrixReductions_ ) && + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixReductions = cooperativeMatrixReductions_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & setCooperativeMatrixConversions( Bool32 cooperativeMatrixConversions_ ) & + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixConversions = cooperativeMatrixConversions_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && setCooperativeMatrixConversions( Bool32 cooperativeMatrixConversions_ ) && + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixConversions = cooperativeMatrixConversions_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & + setCooperativeMatrixPerElementOperations( Bool32 cooperativeMatrixPerElementOperations_ ) & + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixPerElementOperations = cooperativeMatrixPerElementOperations_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && + setCooperativeMatrixPerElementOperations( Bool32 cooperativeMatrixPerElementOperations_ ) && + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixPerElementOperations = cooperativeMatrixPerElementOperations_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT & + setCooperativeMatrixGetCoordinate( Bool32 cooperativeMatrixGetCoordinate_ ) & + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixGetCoordinate = cooperativeMatrixGetCoordinate_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT && + setCooperativeMatrixGetCoordinate( Bool32 cooperativeMatrixGetCoordinate_ ) && + VULKAN_HPP_NOEXCEPT + { + cooperativeMatrixGetCoordinate = cooperativeMatrixGetCoordinate_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple + reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, + pNext, + cooperativeMatrixProperties2, + cooperativeMatrixReductions, + cooperativeMatrixConversions, + cooperativeMatrixPerElementOperations, + cooperativeMatrixGetCoordinate ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & ) const = default; +#else + bool operator==( PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( cooperativeMatrixProperties2 == rhs.cooperativeMatrixProperties2 ) && + ( cooperativeMatrixReductions == rhs.cooperativeMatrixReductions ) && ( cooperativeMatrixConversions == rhs.cooperativeMatrixConversions ) && + ( cooperativeMatrixPerElementOperations == rhs.cooperativeMatrixPerElementOperations ) && + ( cooperativeMatrixGetCoordinate == rhs.cooperativeMatrixGetCoordinate ); +# endif + } + + bool operator!=( PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + void * pNext = {}; + Bool32 cooperativeMatrixProperties2 = {}; + Bool32 cooperativeMatrixReductions = {}; + Bool32 cooperativeMatrixConversions = {}; + Bool32 cooperativeMatrixPerElementOperations = {}; + Bool32 cooperativeMatrixGetCoordinate = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT; + }; + // wrapper struct for struct VkPhysicalDeviceCooperativeMatrixPropertiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceCooperativeMatrixPropertiesKHR.html struct PhysicalDeviceCooperativeMatrixPropertiesKHR @@ -123571,6 +124595,129 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = PhysicalDeviceImageSlicedViewOf3DFeaturesEXT; }; + // wrapper struct for struct VkPhysicalDeviceImageTilingControlFeaturesEXT, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceImageTilingControlFeaturesEXT.html + struct PhysicalDeviceImageTilingControlFeaturesEXT + { + using NativeType = VkPhysicalDeviceImageTilingControlFeaturesEXT; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceImageTilingControlFeaturesEXT; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageTilingControlFeaturesEXT( Bool32 imageTilingControl_ = {}, void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , imageTilingControl{ imageTilingControl_ } + { + } + + VULKAN_HPP_CONSTEXPR PhysicalDeviceImageTilingControlFeaturesEXT( PhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDeviceImageTilingControlFeaturesEXT( VkPhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + : PhysicalDeviceImageTilingControlFeaturesEXT( *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDeviceImageTilingControlFeaturesEXT & operator=( PhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDeviceImageTilingControlFeaturesEXT & operator=( VkPhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageTilingControlFeaturesEXT & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageTilingControlFeaturesEXT && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageTilingControlFeaturesEXT & setImageTilingControl( Bool32 imageTilingControl_ ) & VULKAN_HPP_NOEXCEPT + { + imageTilingControl = imageTilingControl_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageTilingControlFeaturesEXT && setImageTilingControl( Bool32 imageTilingControl_ ) && VULKAN_HPP_NOEXCEPT + { + imageTilingControl = imageTilingControl_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDeviceImageTilingControlFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageTilingControlFeaturesEXT &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageTilingControlFeaturesEXT const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDeviceImageTilingControlFeaturesEXT *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, imageTilingControl ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDeviceImageTilingControlFeaturesEXT const & ) const = default; +#else + bool operator==( PhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( imageTilingControl == rhs.imageTilingControl ); +# endif + } + + bool operator!=( PhysicalDeviceImageTilingControlFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDeviceImageTilingControlFeaturesEXT; + void * pNext = {}; + Bool32 imageTilingControl = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDeviceImageTilingControlFeaturesEXT; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDeviceImageTilingControlFeaturesEXT; + }; + // wrapper struct for struct VkPhysicalDeviceImageViewImageFormatInfoEXT, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDeviceImageViewImageFormatInfoEXT.html struct PhysicalDeviceImageViewImageFormatInfoEXT @@ -134535,17 +135682,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = PhysicalDevicePipelineExecutablePropertiesFeaturesKHR; }; - // wrapper struct for struct VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT, see - // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT.html - struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT + // wrapper struct for struct VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR.html + struct PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR { - using NativeType = VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; + using NativeType = VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; static bool const allowDuplicate = false; - static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; #if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) - VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT( Bool32 pipelineLibraryGroupHandles_ = {}, + VULKAN_HPP_CONSTEXPR PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR( Bool32 pipelineLibraryGroupHandles_ = {}, void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT : pNext{ pNext_ } , pipelineLibraryGroupHandles{ pipelineLibraryGroupHandles_ } @@ -134553,44 +135700,44 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } VULKAN_HPP_CONSTEXPR - PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT( PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR( PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; - PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT - : PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT( *reinterpret_cast( &rhs ) ) + PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT + : PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR( *reinterpret_cast( &rhs ) ) { } - PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT & - operator=( PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default; + PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR & + operator=( PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default; #endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ - PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT & operator=( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT + PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR & operator=( VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) VULKAN_HPP_NOEXCEPT { - *this = *reinterpret_cast( &rhs ); + *this = *reinterpret_cast( &rhs ); return *this; } #if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT { pNext = pNext_; return *this; } - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT { pNext = pNext_; return std::move( *this ); } - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT & setPipelineLibraryGroupHandles( Bool32 pipelineLibraryGroupHandles_ ) & + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR & setPipelineLibraryGroupHandles( Bool32 pipelineLibraryGroupHandles_ ) & VULKAN_HPP_NOEXCEPT { pipelineLibraryGroupHandles = pipelineLibraryGroupHandles_; return *this; } - VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT && setPipelineLibraryGroupHandles( Bool32 pipelineLibraryGroupHandles_ ) && + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR && setPipelineLibraryGroupHandles( Bool32 pipelineLibraryGroupHandles_ ) && VULKAN_HPP_NOEXCEPT { pipelineLibraryGroupHandles = pipelineLibraryGroupHandles_; @@ -134598,24 +135745,24 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } #endif /*VULKAN_HPP_NO_SETTERS*/ - operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT + operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const &() const VULKAN_HPP_NOEXCEPT { - return *reinterpret_cast( this ); + return *reinterpret_cast( this ); } - operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT &() VULKAN_HPP_NOEXCEPT + operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR &() VULKAN_HPP_NOEXCEPT { - return *reinterpret_cast( this ); + return *reinterpret_cast( this ); } - operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const *() const VULKAN_HPP_NOEXCEPT + operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const *() const VULKAN_HPP_NOEXCEPT { - return reinterpret_cast( this ); + return reinterpret_cast( this ); } - operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT *() VULKAN_HPP_NOEXCEPT + operator VkPhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR *() VULKAN_HPP_NOEXCEPT { - return reinterpret_cast( this ); + return reinterpret_cast( this ); } #if defined( VULKAN_HPP_USE_REFLECT ) @@ -134626,9 +135773,9 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE #endif #if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) - auto operator<=>( PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & ) const = default; + auto operator<=>( PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & ) const = default; #else - bool operator==( PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + bool operator==( PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT { # if defined( VULKAN_HPP_USE_REFLECT ) return this->reflect() == rhs.reflect(); @@ -134637,32 +135784,34 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE # endif } - bool operator!=( PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT + bool operator!=( PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT { return !operator==( rhs ); } #endif public: - StructureType sType = StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; + StructureType sType = StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; void * pNext = {}; Bool32 pipelineLibraryGroupHandles = {}; }; #if 20 <= VULKAN_HPP_CPP_VERSION template <> - struct CppType + struct CppType { - using Type = PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; + using Type = PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; }; #endif template <> - struct CppType + struct CppType { - using Type = PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT; + using Type = PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; }; + using PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT = PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR; + // wrapper struct for struct VkPhysicalDevicePipelineOpacityMicromapFeaturesARM, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevicePipelineOpacityMicromapFeaturesARM.html struct PhysicalDevicePipelineOpacityMicromapFeaturesARM @@ -137335,6 +138484,130 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE using Type = PhysicalDevicePrimitivesGeneratedQueryFeaturesEXT; }; + // wrapper struct for struct VkPhysicalDevicePrivateDataBaseHandleFeaturesNV, see + // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevicePrivateDataBaseHandleFeaturesNV.html + struct PhysicalDevicePrivateDataBaseHandleFeaturesNV + { + using NativeType = VkPhysicalDevicePrivateDataBaseHandleFeaturesNV; + + static bool const allowDuplicate = false; + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDevicePrivateDataBaseHandleFeaturesNV; + +#if !defined( VULKAN_HPP_NO_CONSTRUCTORS ) && !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) + VULKAN_HPP_CONSTEXPR PhysicalDevicePrivateDataBaseHandleFeaturesNV( Bool32 privateDataBaseHandle_ = {}, void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT + : pNext{ pNext_ } + , privateDataBaseHandle{ privateDataBaseHandle_ } + { + } + + VULKAN_HPP_CONSTEXPR + PhysicalDevicePrivateDataBaseHandleFeaturesNV( PhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; + + PhysicalDevicePrivateDataBaseHandleFeaturesNV( VkPhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + : PhysicalDevicePrivateDataBaseHandleFeaturesNV( *reinterpret_cast( &rhs ) ) + { + } + + PhysicalDevicePrivateDataBaseHandleFeaturesNV & operator=( PhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; +#endif /*VULKAN_HPP_NO_CONSTRUCTORS*/ + + PhysicalDevicePrivateDataBaseHandleFeaturesNV & operator=( VkPhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT + { + *this = *reinterpret_cast( &rhs ); + return *this; + } + +#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePrivateDataBaseHandleFeaturesNV & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePrivateDataBaseHandleFeaturesNV && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT + { + pNext = pNext_; + return std::move( *this ); + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePrivateDataBaseHandleFeaturesNV & setPrivateDataBaseHandle( Bool32 privateDataBaseHandle_ ) & VULKAN_HPP_NOEXCEPT + { + privateDataBaseHandle = privateDataBaseHandle_; + return *this; + } + + VULKAN_HPP_CONSTEXPR_14 PhysicalDevicePrivateDataBaseHandleFeaturesNV && setPrivateDataBaseHandle( Bool32 privateDataBaseHandle_ ) && VULKAN_HPP_NOEXCEPT + { + privateDataBaseHandle = privateDataBaseHandle_; + return std::move( *this ); + } +#endif /*VULKAN_HPP_NO_SETTERS*/ + + operator VkPhysicalDevicePrivateDataBaseHandleFeaturesNV const &() const VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePrivateDataBaseHandleFeaturesNV &() VULKAN_HPP_NOEXCEPT + { + return *reinterpret_cast( this ); + } + + operator VkPhysicalDevicePrivateDataBaseHandleFeaturesNV const *() const VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + + operator VkPhysicalDevicePrivateDataBaseHandleFeaturesNV *() VULKAN_HPP_NOEXCEPT + { + return reinterpret_cast( this ); + } + +#if defined( VULKAN_HPP_USE_REFLECT ) + std::tuple reflect() const VULKAN_HPP_NOEXCEPT + { + return std::tie( sType, pNext, privateDataBaseHandle ); + } +#endif + +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) + auto operator<=>( PhysicalDevicePrivateDataBaseHandleFeaturesNV const & ) const = default; +#else + bool operator==( PhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT + { +# if defined( VULKAN_HPP_USE_REFLECT ) + return this->reflect() == rhs.reflect(); +# else + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( privateDataBaseHandle == rhs.privateDataBaseHandle ); +# endif + } + + bool operator!=( PhysicalDevicePrivateDataBaseHandleFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT + { + return !operator==( rhs ); + } +#endif + + public: + StructureType sType = StructureType::ePhysicalDevicePrivateDataBaseHandleFeaturesNV; + void * pNext = {}; + Bool32 privateDataBaseHandle = {}; + }; + +#if 20 <= VULKAN_HPP_CPP_VERSION + template <> + struct CppType + { + using Type = PhysicalDevicePrivateDataBaseHandleFeaturesNV; + }; +#endif + + template <> + struct CppType + { + using Type = PhysicalDevicePrivateDataBaseHandleFeaturesNV; + }; + // wrapper struct for struct VkPhysicalDevicePrivateDataFeatures, see // https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevicePrivateDataFeatures.html struct PhysicalDevicePrivateDataFeatures @@ -207330,50 +208603,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return *this; } -#if !defined( VULKAN_HPP_NO_SETTERS ) && !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR & setPNext( void * pNext_ ) & VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return *this; - } - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR && setPNext( void * pNext_ ) && VULKAN_HPP_NOEXCEPT - { - pNext = pNext_; - return std::move( *this ); - } - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR & setMaxPerPartitionFeedbackEntries( uint32_t maxPerPartitionFeedbackEntries_ ) & - VULKAN_HPP_NOEXCEPT - { - maxPerPartitionFeedbackEntries = maxPerPartitionFeedbackEntries_; - return *this; - } - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR && setMaxPerPartitionFeedbackEntries( uint32_t maxPerPartitionFeedbackEntries_ ) && - VULKAN_HPP_NOEXCEPT - { - maxPerPartitionFeedbackEntries = maxPerPartitionFeedbackEntries_; - return std::move( *this ); - } - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR & - setSupportedPerPartitionEncodeFeedbackFlags( VideoEncodePerPartitionFeedbackFlagsKHR supportedPerPartitionEncodeFeedbackFlags_ ) & - VULKAN_HPP_NOEXCEPT - { - supportedPerPartitionEncodeFeedbackFlags = supportedPerPartitionEncodeFeedbackFlags_; - return *this; - } - - VULKAN_HPP_CONSTEXPR_14 VideoEncodeFeedback2CapabilitiesKHR && - setSupportedPerPartitionEncodeFeedbackFlags( VideoEncodePerPartitionFeedbackFlagsKHR supportedPerPartitionEncodeFeedbackFlags_ ) && - VULKAN_HPP_NOEXCEPT - { - supportedPerPartitionEncodeFeedbackFlags = supportedPerPartitionEncodeFeedbackFlags_; - return std::move( *this ); - } -#endif /*VULKAN_HPP_NO_SETTERS*/ - operator VkVideoEncodeFeedback2CapabilitiesKHR const &() const VULKAN_HPP_NOEXCEPT { return *reinterpret_cast( this ); diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_to_string.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_to_string.hpp index b62bdc1..656678c 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_to_string.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_to_string.hpp @@ -1650,9 +1650,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return result; } - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( PrivateDataSlotCreateFlags ) + VULKAN_HPP_INLINE std::string to_string( PrivateDataSlotCreateFlags value ) { - return "{}"; + std::string result = "{"; + if ( value & PrivateDataSlotCreateFlagBits::eBaseObjectHandleNV ) + result += " BaseObjectHandleNV |"; + + if ( result.size() > 1 ) + result.back() = '}'; + else + result = "{}"; + return result; } VULKAN_HPP_INLINE std::string to_string( PipelineStageFlags2 value ) @@ -4653,6 +4661,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE return result; } + //=== VK_EXT_cooperative_matrix_maintenance1 === + + VULKAN_HPP_INLINE std::string to_string( CooperativeMatrixFlagsEXT value ) + { + std::string result = "{"; + if ( value & CooperativeMatrixFlagBitsEXT::eSaturatingAccumulation ) + result += " SaturatingAccumulation |"; + + if ( result.size() > 1 ) + result.back() = '}'; + else + result = "{}"; + return result; + } + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === @@ -5900,7 +5923,6 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE case StructureType::eLayerSettingsCreateInfoEXT : return "LayerSettingsCreateInfoEXT"; case StructureType::ePhysicalDeviceShaderCoreBuiltinsFeaturesARM : return "PhysicalDeviceShaderCoreBuiltinsFeaturesARM"; case StructureType::ePhysicalDeviceShaderCoreBuiltinsPropertiesARM : return "PhysicalDeviceShaderCoreBuiltinsPropertiesARM"; - case StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT : return "PhysicalDevicePipelineLibraryGroupHandlesFeaturesEXT"; case StructureType::ePhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT : return "PhysicalDeviceDynamicRenderingUnusedAttachmentsFeaturesEXT"; case StructureType::ePhysicalDeviceInternallySynchronizedQueuesFeaturesKHR : return "PhysicalDeviceInternallySynchronizedQueuesFeaturesKHR"; case StructureType::eLatencySleepModeInfoNV : return "LatencySleepModeInfoNV"; @@ -6159,8 +6181,12 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE case StructureType::ePhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT: return "PhysicalDeviceShaderUniformBufferUnsizedArrayFeaturesEXT"; case StructureType::eComputeOccupancyPriorityParametersNV : return "ComputeOccupancyPriorityParametersNV"; case StructureType::ePhysicalDeviceComputeOccupancyPriorityFeaturesNV : return "PhysicalDeviceComputeOccupancyPriorityFeaturesNV"; + case StructureType::ePhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR : return "PhysicalDevicePipelineLibraryGroupHandlesFeaturesKHR"; case StructureType::ePhysicalDeviceMaintenance11FeaturesKHR : return "PhysicalDeviceMaintenance11FeaturesKHR"; case StructureType::eQueueFamilyOptimalImageTransferGranularityPropertiesKHR : return "QueueFamilyOptimalImageTransferGranularityPropertiesKHR"; + case StructureType::ePhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT : return "PhysicalDeviceCooperativeMatrixMaintenance1FeaturesEXT"; + case StructureType::ePhysicalDeviceCooperativeMatrixInfo2EXT : return "PhysicalDeviceCooperativeMatrixInfo2EXT"; + case StructureType::eCooperativeMatrixProperties2EXT : return "CooperativeMatrixProperties2EXT"; case StructureType::ePhysicalDeviceShaderSubgroupPartitionedFeaturesEXT : return "PhysicalDeviceShaderSubgroupPartitionedFeaturesEXT"; #if defined( VK_USE_PLATFORM_UBM_SEC ) case StructureType::eUbmSurfaceCreateInfoSEC: return "UbmSurfaceCreateInfoSEC"; @@ -6181,8 +6207,16 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE case StructureType::ePhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM: return "PhysicalDeviceDataGraphNeuralAcceleratorStatisticsFeaturesARM"; case StructureType::ePhysicalDevicePrimitiveRestartIndexFeaturesEXT : return "PhysicalDevicePrimitiveRestartIndexFeaturesEXT"; + case StructureType::ePhysicalDeviceImageTilingControlFeaturesEXT : return "PhysicalDeviceImageTilingControlFeaturesEXT"; + case StructureType::eImageTilingControlCreateInfoEXT : return "ImageTilingControlCreateInfoEXT"; case StructureType::ePhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV: return "PhysicalDeviceCooperativeMatrixDecodeVectorFeaturesNV"; - default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; + case StructureType::ePhysicalDevicePrivateDataBaseHandleFeaturesNV : return "PhysicalDevicePrivateDataBaseHandleFeaturesNV"; + case StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE: + return "PhysicalDeviceBufferDeviceAddressAllocationAlignmentFeaturesVALVE"; + case StructureType::ePhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE: + return "PhysicalDeviceBufferDeviceAddressAllocationAlignmentPropertiesVALVE"; + case StructureType::eBufferDeviceAddressAlignmentAllocateInfoVALVE: return "BufferDeviceAddressAlignmentAllocateInfoVALVE"; + default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; } } @@ -8234,6 +8268,7 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE case DriverId::eMesaKosmickrisp : return "MesaKosmickrisp"; case DriverId::eMesaGfxstream : return "MesaGfxstream"; case DriverId::eApeSoft : return "ApeSoft"; + case DriverId::eReserved31 : return "Reserved31"; default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; } } @@ -8326,9 +8361,13 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } } - VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( PrivateDataSlotCreateFlagBits ) + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( PrivateDataSlotCreateFlagBits value ) { - return "(void)"; + switch ( value ) + { + case PrivateDataSlotCreateFlagBits::eBaseObjectHandleNV: return "BaseObjectHandleNV"; + default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; + } } VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( PipelineStageFlagBits2 value ) @@ -11913,6 +11952,17 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } } + //=== VK_EXT_cooperative_matrix_maintenance1 === + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( CooperativeMatrixFlagBitsEXT value ) + { + switch ( value ) + { + case CooperativeMatrixFlagBitsEXT::eSaturatingAccumulation: return "SaturatingAccumulation"; + default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; + } + } + #if defined( VK_USE_PLATFORM_UBM_SEC ) //=== VK_SEC_ubm_surface === @@ -12017,6 +12067,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } } + //=== VK_EXT_image_tiling_control === + + VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR_20 std::string to_string( ImageTilingControlEXT value ) + { + switch ( value ) + { + case ImageTilingControlEXT::eDefault : return "Default"; + case ImageTilingControlEXT::eMinSize : return "MinSize"; + case ImageTilingControlEXT::eMaxPerformance: return "MaxPerformance"; + default : return "invalid ( " + toHexString( static_cast( value ) ) + " )"; + } + } + } // namespace VULKAN_HPP_NAMESPACE #if defined( __clang__ ) || defined( __GNUC__ ) diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_video.cppm b/Source/ThirdParty/Vulkan/vulkan/vulkan_video.cppm index 8c58f16..26a6a47 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_video.cppm +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_video.cppm @@ -51,6 +51,7 @@ module; export module vulkan_video; +import std; import vulkan; #if defined( __clang__ ) diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan_video.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan_video.hpp index 1646141..9da5f4d 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan_video.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan_video.hpp @@ -173,6 +173,8 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE eBaseline = STD_VIDEO_H264_PROFILE_IDC_BASELINE, eMain = STD_VIDEO_H264_PROFILE_IDC_MAIN, eHigh = STD_VIDEO_H264_PROFILE_IDC_HIGH, + eHigh10 = STD_VIDEO_H264_PROFILE_IDC_HIGH_10, + eHigh422 = STD_VIDEO_H264_PROFILE_IDC_HIGH_422, eHigh444Predictive = STD_VIDEO_H264_PROFILE_IDC_HIGH_444_PREDICTIVE, eInvalid = STD_VIDEO_H264_PROFILE_IDC_INVALID }; @@ -563,19 +565,19 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE { eBt709 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_709, eUnspecified = STD_VIDEO_AV1_COLOR_PRIMARIES_UNSPECIFIED, - eBtUnspecified VULKAN_HPP_DEPRECATED_17( "eBtUnspecified is deprecated, eUnspecified should be used instead." ) = - STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED, - eBt470M = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_M, - eBt470BG = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_B_G, - eBt601 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_601, - eSmpte240 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_240, - eGenericFilm = STD_VIDEO_AV1_COLOR_PRIMARIES_GENERIC_FILM, - eBt2020 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_2020, - eXyz = STD_VIDEO_AV1_COLOR_PRIMARIES_XYZ, - eSmpte431 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_431, - eSmpte432 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432, - eEbu3213 = STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213, - eInvalid = STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID + eBtUnspecified + VULKAN_HPP_DEPRECATED_17( "eBtUnspecified is deprecated, eUnspecified should be used instead." ) = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_UNSPECIFIED, + eBt470M = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_M, + eBt470BG = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_470_B_G, + eBt601 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_601, + eSmpte240 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_240, + eGenericFilm = STD_VIDEO_AV1_COLOR_PRIMARIES_GENERIC_FILM, + eBt2020 = STD_VIDEO_AV1_COLOR_PRIMARIES_BT_2020, + eXyz = STD_VIDEO_AV1_COLOR_PRIMARIES_XYZ, + eSmpte431 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_431, + eSmpte432 = STD_VIDEO_AV1_COLOR_PRIMARIES_SMPTE_432, + eEbu3213 = STD_VIDEO_AV1_COLOR_PRIMARIES_EBU_3213, + eInvalid = STD_VIDEO_AV1_COLOR_PRIMARIES_INVALID }; enum class AV1TransferCharacteristics From cae4d4c124ab0c52364da0a9f663a0d51f3a9a76 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:41:22 +0200 Subject: [PATCH 02/25] add: GCC workaround * This workaround causes a known clang bug to appear, so this one gets his workaround too, fixed in LLVM 23.1.0, keeping it for the time being. Signed-off-by: Dylan Hollemaert --- Source/ThirdParty/Vulkan/vulkan/vulkan.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp b/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp index a056ab2..ae21e4c 100644 --- a/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp +++ b/Source/ThirdParty/Vulkan/vulkan/vulkan.hpp @@ -8717,9 +8717,21 @@ VULKAN_HPP_EXPORT namespace VULKAN_HPP_NAMESPACE } }; +// TODO: Remove those workarounds when toolchains fix the underlying issues +// GCC workaround https://github.com/mingw-w64/mingw-w64/issues/166 +// reason: static variables inside exported inline functions aren't handled properly +// see: https://github.com/msys2/MINGW-packages/issues/25869#issuecomment-4358625035 +// clang workaround (fixed in version 23.1.0) +// reason: inline variables inside modules aren't handled properly +// see: https://github.com/llvm/llvm-project/issues/170099 +#if !defined(__clang__) + inline ErrorCategoryImpl instance; +#endif VULKAN_HPP_INLINE std::error_category const & errorCategory() VULKAN_HPP_NOEXCEPT { +#if defined(__clang__) static ErrorCategoryImpl instance; +#endif return instance; } From 36d4c9460c8613bb7fda37bd31affb3845341055 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:42:15 +0200 Subject: [PATCH 03/25] cmake: Simplifying some things Signed-off-by: Dylan Hollemaert --- Source/Editor/CMakeLists.txt | 9 +-------- Source/Engine/CMakeLists.txt | 1 + Source/ThirdParty/Vulkan/CMakeLists.txt | 5 +++++ 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Source/Editor/CMakeLists.txt b/Source/Editor/CMakeLists.txt index db920ee..86943dc 100644 --- a/Source/Editor/CMakeLists.txt +++ b/Source/Editor/CMakeLists.txt @@ -1,6 +1,7 @@ # SPDX-License-Identifier: MIT add_executable(NexusEditor main.cpp) +set_target_properties(NexusEditor PROPERTIES OUTPUT_NAME "Nexus Engine") add_subdirectory(Application) @@ -9,14 +10,6 @@ target_sources(NexusEditor PUBLIC FILES NexusEditor.cppm ) -if(WIN32 AND MSVC AND CMAKE_BUILD_TYPE MATCHES "^(Debug|RelWithDebInfo)$") - add_custom_command( - TARGET NexusEditor POST_BUILD - COMMAND ${CMAKE_COMMAND} -E rm -f - "$/NexusEditor.ilk" - ) -endif() - if(WIN32) target_sources(NexusEditor PRIVATE ${CMAKE_SOURCE_DIR}/Assets/Windows/NexusEditor.rc diff --git a/Source/Engine/CMakeLists.txt b/Source/Engine/CMakeLists.txt index 40edae3..c8300df 100644 --- a/Source/Engine/CMakeLists.txt +++ b/Source/Engine/CMakeLists.txt @@ -1,6 +1,7 @@ # SPDX-License-Identifier: MIT add_library(NexusEngine SHARED) +set_target_properties(NexusEngine PROPERTIES OUTPUT_NAME Engine) set_target_properties(NexusEngine PROPERTIES PREFIX "") target_compile_definitions(NexusEngine PRIVATE NEXUS_ENGINE_BUILD) diff --git a/Source/ThirdParty/Vulkan/CMakeLists.txt b/Source/ThirdParty/Vulkan/CMakeLists.txt index 7b30936..1d5dd1a 100644 --- a/Source/ThirdParty/Vulkan/CMakeLists.txt +++ b/Source/ThirdParty/Vulkan/CMakeLists.txt @@ -47,5 +47,10 @@ target_sources(Vulkan-HppModule PUBLIC target_link_libraries(Vulkan-HppModule PUBLIC Vulkan::Headers) +if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") + target_compile_options(NexusEngine PRIVATE -Wno-attributes) + target_compile_options(Vulkan-HppModule PRIVATE -Wno-attributes) +endif() + target_include_directories(NexusEngine PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) message(STATUS "Vulkan: Version ${VK_VERSION_STRING}") From ed952b8da11eea2bba9808c9d8b7fc878a140e51 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:43:26 +0200 Subject: [PATCH 04/25] TODO: Remove vectors, matrices and quaternions as they have been done for some time now. Signed-off-by: Dylan Hollemaert --- TODO.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/TODO.md b/TODO.md index 7474ec2..da88550 100644 --- a/TODO.md +++ b/TODO.md @@ -20,9 +20,6 @@ ## Math -* Vectors -* Matrices -* Quaternions * Transforms * Geometric primitives From 30bec6eecf257147d2a9268e517be937a8821628 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:45:34 +0200 Subject: [PATCH 05/25] add: some utilities Signed-off-by: Dylan Hollemaert --- Source/Engine/Core/Utils/Public/Utils.cppm | 35 ++++++++++++++++++++++ Source/Engine/Core/Utils/Public/Utils.inl | 28 +++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 Source/Engine/Core/Utils/Public/Utils.cppm create mode 100644 Source/Engine/Core/Utils/Public/Utils.inl diff --git a/Source/Engine/Core/Utils/Public/Utils.cppm b/Source/Engine/Core/Utils/Public/Utils.cppm new file mode 100644 index 0000000..8d38590 --- /dev/null +++ b/Source/Engine/Core/Utils/Public/Utils.cppm @@ -0,0 +1,35 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.Core.Utils; + +import std; + +export namespace Nexus { + /// Gets the time in seconds since the start of the program + NEXUS_API double GetEngineTime() { + const static auto start = std::chrono::steady_clock::now(); + const auto now = std::chrono::steady_clock::now(); + return std::chrono::duration(now - start).count(); + } + + template + class NEXUS_API ScopeGuard { + public: + explicit ScopeGuard(F&& f); + ~ScopeGuard(); + void Dismiss(); + + private: + F m_Func; + bool m_Active; + }; + + template + NEXUS_API ScopeGuard Defer(F&& f); +} // namespace Nexus + +#include "Utils.inl" diff --git a/Source/Engine/Core/Utils/Public/Utils.inl b/Source/Engine/Core/Utils/Public/Utils.inl new file mode 100644 index 0000000..894e5bd --- /dev/null +++ b/Source/Engine/Core/Utils/Public/Utils.inl @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: MIT + +#pragma once + +namespace Nexus { + template + ScopeGuard::ScopeGuard(F&& f) { + m_Func = std::forward(f); + m_Active = true; + } + + template + ScopeGuard::~ScopeGuard() { + if (m_Active) { + m_Func(); + } + } + + template + void ScopeGuard::Dismiss() { + m_Active = false; + } + + template + [[nodiscard]] ScopeGuard Defer(F&& f) { + return ScopeGuard(std::forward(f)); + } +} // namespace Nexus From 7e8ba6b43ba1d8cbe8d67c5e25f3a4e2f17e0a16 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:46:04 +0200 Subject: [PATCH 06/25] window: make life easier Signed-off-by: Dylan Hollemaert --- Source/Engine/Core/Window/Private/Window.cpp | 28 +++++++++++++++++--- Source/Engine/Core/Window/Public/Window.cppm | 12 +++++++-- 2 files changed, 34 insertions(+), 6 deletions(-) diff --git a/Source/Engine/Core/Window/Private/Window.cpp b/Source/Engine/Core/Window/Private/Window.cpp index e14f6af..ef8ffe4 100644 --- a/Source/Engine/Core/Window/Private/Window.cpp +++ b/Source/Engine/Core/Window/Private/Window.cpp @@ -7,6 +7,8 @@ module; module NE.Engine.Core.Window; +import NE.Engine.Core.Types; + import std; namespace Nexus { @@ -38,10 +40,10 @@ namespace Nexus { return glfwWindowShouldClose(m_window); } - void Window::DrawFrame() {} - - void Window::PollEvents() const { + void Window::PollEvents() { glfwPollEvents(); + glfwGetFramebufferSize(m_window, &m_pixelWidth, &m_pixelHeight); + glfwGetWindowSize(m_window, &m_width, &m_height); } int Window::GetWidth() const { @@ -52,12 +54,26 @@ namespace Nexus { return m_height; } + int Window::GetPixelWidth() const { + return m_pixelWidth; + } + + int Window::GetPixelHeight() const { + return m_pixelHeight; + } + + void* Window::GetHandle() const { + return m_window; + } + void Window::CreateWindow(const std::string_view& title) { GLFWmonitor* monitor = glfwGetPrimaryMonitor(); const GLFWvidmode* mode = glfwGetVideoMode(monitor); m_width = mode->width / 2; m_height = mode->height / 2; + glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); + m_window = glfwCreateWindow(m_width, m_height, title.data(), nullptr, nullptr); } @@ -73,7 +89,7 @@ namespace Nexus { constexpr std::array sizes{16, 32, 48}; std::array icons{}; - for (size_t i = 0; i < sizes.size(); ++i) { + for (usize i = 0; i < sizes.size(); ++i) { const auto path = std::format("Assets/NexusEditor@{}.png", sizes[i]); icons[i].pixels = stbi_load(path.c_str(), &icons[i].width, &icons[i].height, nullptr, STBI_rgb_alpha); } @@ -83,4 +99,8 @@ namespace Nexus { for (const auto& icon : icons) stbi_image_free(icon.pixels); } + + void Window::SetTitle(const std::string_view& title) const { + glfwSetWindowTitle(m_window, title.data()); + } } // namespace Nexus diff --git a/Source/Engine/Core/Window/Public/Window.cppm b/Source/Engine/Core/Window/Public/Window.cppm index f7f3dc7..90a831b 100644 --- a/Source/Engine/Core/Window/Public/Window.cppm +++ b/Source/Engine/Core/Window/Public/Window.cppm @@ -19,12 +19,18 @@ export namespace Nexus { Window& operator=(const Window&) = delete; bool ShouldClose() const; - void DrawFrame(); - void PollEvents() const; + void PollEvents(); + + void SetTitle(const std::string_view& title) const; int GetWidth() const; int GetHeight() const; + int GetPixelWidth() const; + int GetPixelHeight() const; + + void* GetHandle() const; + private: void CreateWindow(const std::string_view& title); void CenterWindow() const; @@ -34,5 +40,7 @@ export namespace Nexus { GLFWwindow* m_window{nullptr}; int m_width{}; int m_height{}; + int m_pixelWidth{}; + int m_pixelHeight{}; }; } // namespace Nexus From 5487fa98d91371ab86c77ad2a4e4f57b5a0424ec Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 13:47:33 +0200 Subject: [PATCH 07/25] add: Vulkan RHI (start of implementation) * It's got: textures, texture views, resizable surface * TODO: Renderer implementation * TODO: Bindless manager Signed-off-by: Dylan Hollemaert --- CMakeLists.txt | 3 + .../Application/Private/Application.cpp | 31 +- Source/Engine/NexusEngine.cppm | 8 + Source/Engine/RHI/CMakeLists.txt | 42 ++ .../RHI/Private/Backend/Vulkan/Context.cpp | 33 ++ .../RHI/Private/Backend/Vulkan/Context.cppm | 56 +++ .../RHI/Private/Backend/Vulkan/Device.cpp | 300 +++++++++++++ .../RHI/Private/Backend/Vulkan/Device.cppm | 72 ++++ .../RHI/Private/Backend/Vulkan/Surface.cpp | 407 ++++++++++++++++++ .../RHI/Private/Backend/Vulkan/Surface.cppm | 59 +++ .../RHI/Private/Backend/Vulkan/Texture.cpp | 100 +++++ .../RHI/Private/Backend/Vulkan/Texture.cppm | 95 ++++ .../Private/Backend/Vulkan/TextureView.cpp | 48 +++ .../Private/Backend/Vulkan/TextureView.cppm | 49 +++ Source/Engine/RHI/Private/Core/Device.cpp | 20 + Source/Engine/RHI/Public/Core/Context.cppm | 203 +++++++++ Source/Engine/RHI/Public/Core/Device.cppm | 28 ++ Source/Engine/RHI/Public/Core/Surface.cppm | 27 ++ Source/Engine/RHI/Public/Core/Texture.cppm | 118 +++++ .../Engine/RHI/Public/Core/TextureView.cppm | 94 ++++ 20 files changed, 1792 insertions(+), 1 deletion(-) create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Context.cpp create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Context.cppm create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Device.cppm create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/Texture.cppm create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cpp create mode 100644 Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cppm create mode 100644 Source/Engine/RHI/Private/Core/Device.cpp create mode 100644 Source/Engine/RHI/Public/Core/Context.cppm create mode 100644 Source/Engine/RHI/Public/Core/Device.cppm create mode 100644 Source/Engine/RHI/Public/Core/Surface.cppm create mode 100644 Source/Engine/RHI/Public/Core/Texture.cppm create mode 100644 Source/Engine/RHI/Public/Core/TextureView.cppm diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a7a0f2..22cea39 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,6 +22,9 @@ endif() project(NexusEngine VERSION 0.0.1 LANGUAGES CXX) +option(NEXUS_RHI_VULKAN "Build Vulkan backend" ON) +option(NEXUS_RHI_DX12 "Build DirectX12 backend" OFF) + add_subdirectory(Source) option(NEXUS_BUILD_TEST "Enable Nexus Engine tests" OFF) diff --git a/Source/Editor/Application/Private/Application.cpp b/Source/Editor/Application/Private/Application.cpp index c7235ab..b89e325 100644 --- a/Source/Editor/Application/Private/Application.cpp +++ b/Source/Editor/Application/Private/Application.cpp @@ -7,13 +7,42 @@ import NexusEngine; namespace Nexus { void Application::run() { + GetEngineTime(); + Logger logger; logger.LogInfo(std::format("Hello {}", Config::engineName)); Window window(std::format("{} v{}", Config::engineName, Config::engineVersion)); + auto m_CurrentWidth = window.GetWidth(); + auto m_CurrentHeight = window.GetHeight(); + const auto device = RHI::Device::Create(); + const auto surface = device->CreateSurface(window); + while (!window.ShouldClose()) { window.PollEvents(); - window.DrawFrame(); + int32 newWidth = window.GetWidth(); + int32 newHeight = window.GetHeight(); + + if (newWidth != m_CurrentWidth || newHeight != m_CurrentHeight) { + m_CurrentWidth = newWidth; + m_CurrentHeight = newHeight; + + if (newWidth > 0 && newHeight > 0) { + surface->Resize(newWidth, newHeight); + } + } + + int32 pixelWidth = window.GetPixelWidth(); + int32 pixelHeight = window.GetPixelHeight(); + + // Skip rendering while minimized + if (pixelWidth == 0 || pixelHeight == 0) { + std::this_thread::sleep_for(std::chrono::microseconds(100)); + continue; + } + surface->BeginFrame(); + surface->EndFrame(); } + logger.LogInfo(std::format("Engine ran for {:.3f} seconds", GetEngineTime())); } } // namespace Nexus diff --git a/Source/Engine/NexusEngine.cppm b/Source/Engine/NexusEngine.cppm index 685f163..fb20230 100644 --- a/Source/Engine/NexusEngine.cppm +++ b/Source/Engine/NexusEngine.cppm @@ -10,6 +10,7 @@ export import NE.Engine.Core.Config; export import NE.Engine.Core.ECS; export import NE.Engine.Core.Log; export import NE.Engine.Core.Types; +export import NE.Engine.Core.Utils; export import NE.Engine.Core.Window; // Math @@ -28,3 +29,10 @@ export import NE.Engine.Network.TCP.StreamReassembler; export import NE.Engine.Network.TCP.TCPClient; export import NE.Engine.Network.TCP.TCPServer; export import NE.Engine.Network.UDP.UDPSocket; + +// RHI +export import NE.Engine.RHI.Context; +export import NE.Engine.RHI.Device; +export import NE.Engine.RHI.Surface; +export import NE.Engine.RHI.Texture; +export import NE.Engine.RHI.TextureView; diff --git a/Source/Engine/RHI/CMakeLists.txt b/Source/Engine/RHI/CMakeLists.txt index 548d2d4..2a03f4b 100644 --- a/Source/Engine/RHI/CMakeLists.txt +++ b/Source/Engine/RHI/CMakeLists.txt @@ -1 +1,43 @@ # SPDX-License-Identifier: MIT + +file(GLOB_RECURSE PRIVATE_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/Private/*.cpp) +list(FILTER PRIVATE_SOURCES EXCLUDE REGEX ".*/Private/Backend/.*\\.cpp$") + +file(GLOB_RECURSE PUBLIC_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/Public/*.cppm) + +file(GLOB_RECURSE PRIVATE_MODULES ${CMAKE_CURRENT_SOURCE_DIR}/Private/*.cppm) +list(FILTER PRIVATE_MODULES EXCLUDE REGEX ".*/Private/Backend/.*\\.cppm$") + +if(NEXUS_RHI_VULKAN) + target_compile_definitions(NexusEngine PRIVATE NEXUS_RHI_VULKAN) + file(GLOB_RECURSE VULKAN_SOURCES + ${CMAKE_CURRENT_SOURCE_DIR}/Private/Backend/Vulkan/*.cpp + ) + file(GLOB_RECURSE VULKAN_MODULES + ${CMAKE_CURRENT_SOURCE_DIR}/Private/Backend/Vulkan/*.cppm + ) + list(APPEND PRIVATE_SOURCES ${VULKAN_SOURCES}) + list(APPEND PRIVATE_MODULES ${VULKAN_MODULES}) +endif() + +if(NEXUS_RHI_DX12) + target_compile_definitions(NexusEngine PRIVATE NEXUS_RHI_DX12) + file(GLOB_RECURSE DX12_SOURCES + ${CMAKE_CURRENT_SOURCE_DIR}/Private/Backend/DX12/*.cpp + ) + file(GLOB_RECURSE DX12_MODULES + ${CMAKE_CURRENT_SOURCE_DIR}/Private/Backend/DX12/*.cppm + ) + list(APPEND PRIVATE_SOURCES ${DX12_SOURCES}) + list(APPEND PRIVATE_MODULES ${DX12_MODULES}) +endif() + +target_sources(NexusEngine PRIVATE ${PRIVATE_SOURCES}) +target_sources(NexusEngine PUBLIC + FILE_SET engine_rhi_modules TYPE CXX_MODULES + FILES ${PUBLIC_MODULES} +) +target_sources(NexusEngine PUBLIC + FILE_SET engine_prv_rhi_modules TYPE CXX_MODULES + FILES ${PRIVATE_MODULES} +) diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Context.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Context.cpp new file mode 100644 index 0000000..260d0e4 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Context.cpp @@ -0,0 +1,33 @@ +// SPDX-License-Identifier: MIT + +module NE.Engine.RHI.Vulkan.Context; + +namespace Nexus::RHI { + VulkanRenderContext::VulkanRenderContext(VulkanDevice* device, bool singleTime) + : m_SingleTime(singleTime), + m_ParentDevice(device) { + vk::CommandBufferAllocateInfo allocInfo{}; + allocInfo.commandPool = device->GetCommandPool(); + allocInfo.level = vk::CommandBufferLevel::ePrimary; + allocInfo.commandBufferCount = 1; + + m_CommandBuffer = m_ParentDevice->GetVulkanDevice().allocateCommandBuffers(allocInfo).front(); + } + + VulkanRenderContext::~VulkanRenderContext() { + m_ParentDevice->GetVulkanDevice().freeCommandBuffers(m_ParentDevice->GetCommandPool(), m_CommandBuffer); + } + + void VulkanRenderContext::Reset() { + m_CommandBuffer.reset(); + } + + void VulkanRenderContext::Begin() { + m_CommandBuffer.begin(m_SingleTime ? vk::CommandBufferBeginInfo{vk::CommandBufferUsageFlagBits::eOneTimeSubmit} + : vk::CommandBufferBeginInfo{}); + } + + void VulkanRenderContext::End() { + m_CommandBuffer.end(); + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Context.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/Context.cppm new file mode 100644 index 0000000..b6da7fc --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Context.cppm @@ -0,0 +1,56 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Vulkan.Context; + +import NE.Engine.RHI.Context; +import NE.Engine.RHI.Vulkan.Device; + +import vulkan; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API VulkanRenderContext final : public RenderContext { + public: + VulkanRenderContext(VulkanDevice* device, bool singleTime = false); + ~VulkanRenderContext() override; + + void Reset() override; + void Begin() override; + void End() override; + + void Barrier(const TextureBarrier& textureBarrier) override {} + void Barrier(const BufferBarrier& bufferBarrier) override {} + void Barrier(const BarrierGroup& barrierGroup) override {} + + void PushMarker(const std::string& name) override {} + void PopMarker() override {} + + RenderEncoder* CreateRenderEncoder(const RenderEncoderInfo& info) override { + return {}; + } + CopyEncoder* CreateCopyEncoder(const std::string& name = "Copy Pass") override { + return {}; + } + ComputeEncoder* CreateComputeEncoder(const std::string& name = "Compute Pass") override { + return {}; + } + + vk::CommandBuffer& GetCommandBuffer() { + return m_CommandBuffer; + } + VulkanDevice* GetParentDevice() const { + return m_ParentDevice; + } + + private: + bool m_SingleTime = false; + + VulkanDevice* m_ParentDevice; + vk::CommandBuffer m_CommandBuffer; + }; +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp new file mode 100644 index 0000000..55e7c20 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp @@ -0,0 +1,300 @@ +// SPDX-License-Identifier: MIT + +module; + +#include +#include +#include + +module NE.Engine.RHI.Vulkan.Device; + +import NE.Engine.RHI.Vulkan.Surface; +import NE.Engine.RHI.Vulkan.TextureView; + +import NE.Engine.Core.Config; +import NE.Engine.Core.Types; + +import vk_mem_alloc; + +import std; + +static VKAPI_ATTR VkBool32 VKAPI_CALL VulkanDebugCallback(vk::DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, + vk::DebugUtilsMessageTypeFlagsEXT messageType, + const vk::DebugUtilsMessengerCallbackDataEXT* pCallbackData, + void* pUserData) { + static_cast(messageType); + static_cast(pUserData); + + switch (messageSeverity) { + case vk::DebugUtilsMessageSeverityFlagBitsEXT::eError: { + std::println("Vulkan Error: {}", pCallbackData->pMessage); + break; + } + default: + break; + } + return vk::False; +} + +namespace Nexus::RHI { + + VulkanDevice::VulkanDevice() { + CreateInstance(); + CreatePhysicalDevice(); + CreateDevice(); + CreateCommandPool(); + CreateAllocator(); + } + + void VulkanDevice::CreateInstance() { + VULKAN_HPP_DEFAULT_DISPATCHER.init(); + + vk::ApplicationInfo appInfo; + appInfo.setApplicationVersion(vk::makeApiVersion(0, 0, 1, 0)); + appInfo.setEngineVersion(vk::makeApiVersion(0, 0, 1, 0)); + appInfo.setApiVersion(vk::ApiVersion14); + appInfo.setPApplicationName("Nexus Engine"); + appInfo.setPEngineName("Nexus Engine"); + + std::vector instanceExtensions = {vk::EXTDebugUtilsExtensionName, + vk::KHRSurfaceExtensionName}; + if (glfwVulkanSupported()) { + uint32 glfwExtensionCount = 0; + const char** glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount); + for (uint32 i = 0; i < glfwExtensionCount; i++) { + instanceExtensions.push_back(glfwExtensions[i]); + } + } + + vk::InstanceCreateInfo instanceCreateInfo; + instanceCreateInfo.setPApplicationInfo(&appInfo); + instanceCreateInfo.setEnabledExtensionCount(static_cast(instanceExtensions.size())); + instanceCreateInfo.setPpEnabledExtensionNames(instanceExtensions.data()); + + std::vector instanceLayers; + + if constexpr (Config::isDebug) { + // Query layers currently visible to the loader + const auto availableLayers = m_Context.enumerateInstanceLayerProperties(); + bool validationLayerFound = false; + + for (const auto& layer : availableLayers) { + if (std::strcmp(layer.layerName, "VK_LAYER_KHRONOS_validation") == 0) { + validationLayerFound = true; + break; + } + } + + if (validationLayerFound) { + instanceLayers.push_back("VK_LAYER_KHRONOS_validation"); + instanceCreateInfo.setEnabledLayerCount(static_cast(instanceLayers.size())); + instanceCreateInfo.setPpEnabledLayerNames(instanceLayers.data()); + } else { + // Log a warning or print to stderr that debugging validation is missing + // but let the app continue running safely without crashing! + std::println("Warning: VK_LAYER_KHRONOS_validation not found. Continuing without validation."); + } + } + + m_Instance = vk::raii::Instance(m_Context, instanceCreateInfo); + + if constexpr (Config::isDebug) { + vk::DebugUtilsMessengerCreateInfoEXT messengerInfo = {}; + messengerInfo.messageSeverity = vk::DebugUtilsMessageSeverityFlagBitsEXT::eError | + vk::DebugUtilsMessageSeverityFlagBitsEXT::eWarning | + vk::DebugUtilsMessageSeverityFlagBitsEXT::eVerbose; + messengerInfo.messageType = vk::DebugUtilsMessageTypeFlagBitsEXT::eGeneral | + vk::DebugUtilsMessageTypeFlagBitsEXT::eValidation | + vk::DebugUtilsMessageTypeFlagBitsEXT::ePerformance; + messengerInfo.pfnUserCallback = VulkanDebugCallback; + messengerInfo.pUserData = nullptr; + vk::DebugUtilsMessengerCreateInfoEXT debugCreateInfo = messengerInfo; + m_DebugMessenger = m_Instance.createDebugUtilsMessengerEXT(debugCreateInfo, nullptr); + } + + // Initialize instance-specific function pointers + VULKAN_HPP_DEFAULT_DISPATCHER.init(*m_Instance); + } + + void VulkanDevice::CreatePhysicalDevice() { + auto physicalDevices = m_Instance.enumeratePhysicalDevices(); + for (const auto& device : physicalDevices) { + vk::PhysicalDeviceProperties properties = device.getProperties(); + if (properties.deviceType == vk::PhysicalDeviceType::eDiscreteGpu) { + m_PhysicalDevice = device; + break; + } + } + + auto properties = m_PhysicalDevice.getProperties(); + std::println("Using Vulkan device: {}", properties.deviceName.data()); + + m_OptimalRowPitchAlignment = properties.limits.optimalBufferCopyRowPitchAlignment; + m_BufferImageGranularity = properties.limits.bufferImageGranularity; + } + + void VulkanDevice::CreateDevice() { + std::vector mandatoryExtensions = {vk::KHRSwapchainExtensionName, + vk::EXTDescriptorIndexingExtensionName, + vk::KHRDynamicRenderingExtensionName, + vk::EXTMutableDescriptorTypeExtensionName, + vk::KHRBufferDeviceAddressExtensionName, + vk::KHRSynchronization2ExtensionName}; + + std::map optionalExtensions = {{vk::EXTMeshShaderExtensionName, false}, + {vk::KHRRayQueryExtensionName, false}, + {vk::KHRAccelerationStructureExtensionName, false}, + {vk::KHRRayTracingPipelineExtensionName, false}, + {vk::KHRDeferredHostOperationsExtensionName, false}}; + + + const auto availableExtensions = m_PhysicalDevice.enumerateDeviceExtensionProperties(); + for (const auto& availableExtension : availableExtensions) { + for (auto& [extension, hasExtension] : optionalExtensions) { + if (strcmp(availableExtension.extensionName, extension) == 0) { + hasExtension = true; + break; + } + } + } + + for (const auto& [extension, hasExtension] : optionalExtensions) { + if (hasExtension) { + mandatoryExtensions.push_back(extension); + std::println("Enabling optional Vulkan extension: {}", extension); + } + } + + vk::PhysicalDeviceVulkan11Features vulkan11Features; + vulkan11Features.setShaderDrawParameters(true); + + vk::PhysicalDeviceVulkan12Features vulkan12Features; + vulkan12Features.setBufferDeviceAddress(true); + vulkan12Features.setDescriptorIndexing(true); + vulkan12Features.setRuntimeDescriptorArray(true); + vulkan12Features.setShaderSampledImageArrayNonUniformIndexing(true); + vulkan12Features.setDescriptorBindingVariableDescriptorCount(true); + vulkan12Features.setDescriptorBindingPartiallyBound(true); + vulkan12Features.setDescriptorBindingSampledImageUpdateAfterBind(true); + vulkan12Features.setPNext(&vulkan11Features); + + vk::PhysicalDeviceVulkan13Features vulkan13Features; + vulkan13Features.setDynamicRendering(true); + vulkan13Features.setSynchronization2(true); + vulkan13Features.setPNext(&vulkan12Features); + + vk::PhysicalDeviceMutableDescriptorTypeFeaturesEXT mutableDescriptorTypeFeatures; + mutableDescriptorTypeFeatures.setMutableDescriptorType(true); + mutableDescriptorTypeFeatures.setPNext(&vulkan13Features); + + void* lastPNext = &mutableDescriptorTypeFeatures; + + vk::PhysicalDeviceMeshShaderFeaturesEXT meshShaderFeatures; + vk::PhysicalDeviceRayQueryFeaturesKHR rayQueryFeatures; + vk::PhysicalDeviceAccelerationStructureFeaturesKHR accelerationStructureFeatures; + vk::PhysicalDeviceRayTracingPipelineFeaturesKHR rayTracingPipelineFeatures; + + if (optionalExtensions[vk::EXTMeshShaderExtensionName]) { + meshShaderFeatures.setMeshShader(true); + meshShaderFeatures.setTaskShader(true); + meshShaderFeatures.setPNext(lastPNext); + lastPNext = &meshShaderFeatures; + + m_SupportMeshShaders = true; + } + + + if (optionalExtensions[vk::KHRAccelerationStructureExtensionName]) { + accelerationStructureFeatures.setAccelerationStructure(true); + accelerationStructureFeatures.setDescriptorBindingAccelerationStructureUpdateAfterBind(true); + accelerationStructureFeatures.setPNext(lastPNext); + lastPNext = &accelerationStructureFeatures; + } + + if (optionalExtensions[vk::KHRRayTracingPipelineExtensionName]) { + rayTracingPipelineFeatures.setRayTracingPipeline(true); + rayTracingPipelineFeatures.setRayTracingPipelineTraceRaysIndirect(true); + rayTracingPipelineFeatures.setRayTraversalPrimitiveCulling(true); + rayTracingPipelineFeatures.setPNext(lastPNext); + lastPNext = &rayTracingPipelineFeatures; + } + + const bool supportsRayQuery = + optionalExtensions[vk::KHRRayQueryExtensionName] && + optionalExtensions[vk::KHRAccelerationStructureExtensionName]; + + if (supportsRayQuery) { + rayQueryFeatures.setRayQuery(true); + rayQueryFeatures.setPNext(lastPNext); + lastPNext = &rayQueryFeatures; + + // Raytracing only supported if both ray query and acceleration structure features are available + m_SupportRaytracing = true; + } + + vk::PhysicalDeviceFeatures2 deviceFeatures; + deviceFeatures.features.setSamplerAnisotropy(true); + deviceFeatures.features.setDepthClamp(true); + deviceFeatures.features.setFillModeNonSolid(true); + deviceFeatures.features.setMultiDrawIndirect(true); + deviceFeatures.features.setTextureCompressionBC(true); + deviceFeatures.features.setDrawIndirectFirstInstance(true); + deviceFeatures.setPNext(lastPNext); + + // Queues + auto queues = m_PhysicalDevice.getQueueFamilyProperties(); + for (uint32 i = 0; i < static_cast(queues.size()); i++) { + if (queues[i].queueFlags & vk::QueueFlagBits::eGraphics) { + m_MainQueueFamilyIndex = i; + break; + } + } + + float queuePriority = 1.0f; + vk::DeviceQueueCreateInfo queueCreateInfo; + queueCreateInfo.setQueueFamilyIndex(m_MainQueueFamilyIndex); + queueCreateInfo.setQueueCount(1); + queueCreateInfo.setPQueuePriorities(&queuePriority); + + vk::DeviceCreateInfo deviceCreateInfo; + deviceCreateInfo.setPNext(&deviceFeatures); + deviceCreateInfo.setQueueCreateInfoCount(1); + deviceCreateInfo.setPQueueCreateInfos(&queueCreateInfo); + deviceCreateInfo.setEnabledExtensionCount(static_cast(mandatoryExtensions.size())); + deviceCreateInfo.setPpEnabledExtensionNames(mandatoryExtensions.data()); + + m_Device = m_PhysicalDevice.createDevice(deviceCreateInfo, nullptr); + m_MainQueue = m_Device.getQueue(m_MainQueueFamilyIndex, 0); + + VULKAN_HPP_DEFAULT_DISPATCHER.init(static_cast(m_Device)); + } + + void VulkanDevice::CreateCommandPool() { + vk::CommandPoolCreateInfo poolCreateInfo; + poolCreateInfo.setQueueFamilyIndex(m_MainQueueFamilyIndex); + poolCreateInfo.setFlags(vk::CommandPoolCreateFlagBits::eResetCommandBuffer); + + m_CommandPool = m_Device.createCommandPool(poolCreateInfo); + } + + void VulkanDevice::CreateAllocator() { + vma::VulkanFunctions vulkanFunctions = {}; + vulkanFunctions.vkGetInstanceProcAddr = VULKAN_HPP_DEFAULT_DISPATCHER.vkGetInstanceProcAddr; + vulkanFunctions.vkGetDeviceProcAddr = VULKAN_HPP_DEFAULT_DISPATCHER.vkGetDeviceProcAddr; + + vma::AllocatorCreateInfo allocatorInfo = {}; + allocatorInfo.physicalDevice = m_PhysicalDevice; + allocatorInfo.vulkanApiVersion = vk::ApiVersion14; + allocatorInfo.flags = vma::AllocatorCreateFlagBits::eBufferDeviceAddress; + + m_Allocator = vma::raii::createAllocator(m_Instance, m_Device, allocatorInfo); + } + + std::unique_ptr VulkanDevice::CreateSurface(const Window& window) { + return std::make_unique(*this, window); + } + + std::unique_ptr VulkanDevice::CreateTextureView(const TextureViewDesc& desc) { + return std::make_unique(this, desc); + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Device.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cppm new file mode 100644 index 0000000..bde11c6 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cppm @@ -0,0 +1,72 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Vulkan.Device; + +import NE.Engine.RHI.Device; +import NE.Engine.RHI.Surface; +import NE.Engine.RHI.TextureView; + +import NE.Engine.Core.Types; +import NE.Engine.Core.Window; + +import vk_mem_alloc; +import vulkan; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API VulkanDevice final : public Device { + public: + VulkanDevice(); + std::unique_ptr CreateSurface(const Window& window) override; + std::unique_ptr CreateTextureView(const TextureViewDesc& desc) override; + + vk::Device GetVulkanDevice() const { + return m_Device; + } + vk::PhysicalDevice GetVulkanPhysicalDevice() const { + return m_PhysicalDevice; + } + vk::Instance GetVulkanInstance() const { + return m_Instance; + } + vk::Queue GetMainQueue() const { + return m_MainQueue; + } + vk::CommandPool GetCommandPool() const { + return m_CommandPool; + } + + void WaitIdle() const override { + m_Device.waitIdle(); + } + + private: + void CreateInstance(); + void CreatePhysicalDevice(); + void CreateDevice(); + void CreateCommandPool(); + void CreateAllocator(); + + private: + vk::raii::Context m_Context; + vk::raii::PhysicalDevice m_PhysicalDevice = nullptr; + vk::raii::Instance m_Instance = nullptr; + vk::raii::Device m_Device = nullptr; + vk::raii::Queue m_MainQueue = nullptr; + vk::DebugUtilsMessengerEXT m_DebugMessenger; + uint32 m_MainQueueFamilyIndex; + + vk::raii::CommandPool m_CommandPool = nullptr; + vma::raii::Allocator m_Allocator = nullptr; + + bool m_SupportRaytracing = false; + bool m_SupportMeshShaders = false; + uint64 m_OptimalRowPitchAlignment = 0; + uint64 m_BufferImageGranularity = 0; + }; +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp new file mode 100644 index 0000000..db685f8 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp @@ -0,0 +1,407 @@ +// SPDX-License-Identifier: MIT + +module; + +#define GLFW_INCLUDE_VULKAN +#include + +module NE.Engine.RHI.Vulkan.Surface; + +import NE.Engine.RHI.Texture; +import NE.Engine.RHI.TextureView; + +import NE.Engine.RHI.Vulkan.Context; +import NE.Engine.RHI.Vulkan.Texture; + +import NE.Engine.Core.Types; + +import vulkan; + +import std; + +static vk::SurfaceFormatKHR chooseSwapSurfaceFormat(const Nexus::RHI::VulkanDevice* device, const vk::SurfaceKHR& surface) { + std::vector availableFormats = device->GetVulkanPhysicalDevice().getSurfaceFormatsKHR(surface); + + if (availableFormats.empty()) { + std::unreachable(); + } + + const auto formatIt = std::ranges::find_if(availableFormats, [](const auto& format) { + return format.format == vk::Format::eR8G8B8A8Srgb && format.colorSpace == vk::ColorSpaceKHR::eSrgbNonlinear; + }); + + const auto formatIt2 = std::ranges::find_if(availableFormats, [](const auto& format) { + return format.format == vk::Format::eR8G8B8A8Unorm && format.colorSpace == vk::ColorSpaceKHR::eSrgbNonlinear; + }); + + if (formatIt != availableFormats.end()) + return *formatIt; + if (formatIt2 != availableFormats.end()) + return *formatIt2; + + return availableFormats[0]; +} + +namespace Nexus::RHI { + VulkanSurface::VulkanSurface(VulkanDevice& device, const Window& window) : m_ParentDevice(&device) { + VkSurfaceKHR surface = VK_NULL_HANDLE; + VkResult result = glfwCreateWindowSurface(m_ParentDevice->GetVulkanInstance(), + static_cast(window.GetHandle()), nullptr, &surface); + if (result != VK_SUCCESS) { + std::println("Failed to create surface!"); + std::unreachable(); + } + + m_Surface = vk::SurfaceKHR(surface); + + m_Width = window.GetWidth(); + m_Height = window.GetHeight(); + + // Swapchain + auto swapChainSurfaceFormat = chooseSwapSurfaceFormat(m_ParentDevice, m_Surface); + const auto availablePresentModes = + m_ParentDevice->GetVulkanPhysicalDevice().getSurfacePresentModesKHR(m_Surface); + if (!std::ranges::any_of(availablePresentModes, + [](auto presentMode) { return presentMode == vk::PresentModeKHR::eFifo; })) { + std::unreachable(); + } + + vk::SwapchainCreateInfoKHR swapchainCreateInfo; + swapchainCreateInfo.setSurface(m_Surface); + swapchainCreateInfo.setMinImageCount(2); + swapchainCreateInfo.setImageFormat(swapChainSurfaceFormat.format); + swapchainCreateInfo.setImageColorSpace(swapChainSurfaceFormat.colorSpace); + swapchainCreateInfo.setImageExtent( + vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); + swapchainCreateInfo.setImageArrayLayers(1); + swapchainCreateInfo.setImageUsage(vk::ImageUsageFlagBits::eColorAttachment); + swapchainCreateInfo.setImageSharingMode(vk::SharingMode::eExclusive); + swapchainCreateInfo.setPreTransform(vk::SurfaceTransformFlagBitsKHR::eIdentity); + swapchainCreateInfo.setCompositeAlpha(vk::CompositeAlphaFlagBitsKHR::eOpaque); + swapchainCreateInfo.setPresentMode(vk::PresentModeKHR::eFifo); + swapchainCreateInfo.setClipped(vk::True); + + m_Swapchain = m_ParentDevice->GetVulkanDevice().createSwapchainKHR(swapchainCreateInfo); + + auto swapchainImages = m_ParentDevice->GetVulkanDevice().getSwapchainImagesKHR(m_Swapchain); + for (uint64 i = 0; i < swapchainImages.size(); i++) { + TextureDesc desc; + desc.Width = window.GetWidth(); + desc.Height = window.GetHeight(); + desc.Format = TextureFormat::RGBA8_SRGB; + desc.Usage = TextureUsage::RENDER_TARGET; + + auto texture = std::make_unique(VulkanTexture::AdoptExternal(swapchainImages[i], m_ParentDevice, desc, + "Swapchain Texture " + std::to_string(i))); + m_Textures.push_back(std::move(texture)); + } + + // Create synchronization primitives + uint32 imageCount = FRAMES_IN_FLIGHT; + m_ImageAvailableSemaphores.resize(imageCount); + m_RenderFinishedSemaphores.resize(imageCount); + m_InFlightFences.resize(imageCount); + m_Contexts.resize(imageCount); + m_TextureViews.resize(m_Textures.size()); + + for (uint32 i = 0; i < imageCount; i++) { + vk::SemaphoreCreateInfo semaphoreInfo; + m_ImageAvailableSemaphores[i] = m_ParentDevice->GetVulkanDevice().createSemaphore(semaphoreInfo); + m_RenderFinishedSemaphores[i] = m_ParentDevice->GetVulkanDevice().createSemaphore(semaphoreInfo); + + vk::FenceCreateInfo fenceInfo; + fenceInfo.setFlags(vk::FenceCreateFlagBits::eSignaled); + m_InFlightFences[i] = m_ParentDevice->GetVulkanDevice().createFence(fenceInfo); + + m_Contexts[i] = std::make_unique(&device, false); + } + + for (uint32 i = 0; i < m_Textures.size(); i++) { + TextureViewDesc viewDesc = TextureViewDesc::CreateDefault(m_Textures[i].get(), TextureViewType::RENDER_TARGET, + TextureViewDimension::TEXTURE_2D); + m_TextureViews[i] = std::unique_ptr( + static_cast(m_ParentDevice->CreateTextureView(viewDesc).release()) + ); + } + } + + VulkanSurface::~VulkanSurface() { + m_ParentDevice->GetVulkanDevice().waitIdle(); + + // Clean up textures and texture views (one per swapchain image) + for (uint64 i = 0; i < m_Textures.size(); i++) { + m_Textures[i].reset(); + m_TextureViews[i].reset(); + } + + // Clean up synchronization primitives and contexts (one per frame in flight) + for (uint64 i = 0; i < m_ImageAvailableSemaphores.size(); i++) { + m_Contexts[i].reset(); + m_ParentDevice->GetVulkanDevice().destroySemaphore(m_ImageAvailableSemaphores[i]); + m_ParentDevice->GetVulkanDevice().destroySemaphore(m_RenderFinishedSemaphores[i]); + m_ParentDevice->GetVulkanDevice().destroyFence(m_InFlightFences[i]); + } + + m_ParentDevice->GetVulkanDevice().destroySwapchainKHR(m_Swapchain); + m_ParentDevice->GetVulkanInstance().destroySurfaceKHR(m_Surface); + } + + RenderContext* VulkanSurface::BeginFrame() { + static constexpr auto timeout = std::numeric_limits::max(); + // Wait for previous frame to complete + vk::Result result = + m_ParentDevice->GetVulkanDevice().waitForFences(1, &m_InFlightFences[m_CurrentFrame], vk::True, timeout); + if (result == vk::Result::eTimeout) { + std::println("ERROR: vkWaitForFences timed out!"); + return nullptr; + } + + auto acquireResult = m_ParentDevice->GetVulkanDevice().acquireNextImageKHR( + m_Swapchain, timeout, m_ImageAvailableSemaphores[m_CurrentFrame], nullptr); + + if (acquireResult.result != vk::Result::eSuccess) { + if (acquireResult.result == vk::Result::eErrorOutOfDateKHR) { + std::println("WARN: Swapchain out of date during acquire, needs resize"); + // Advance to next frame to avoid potentially corrupted semaphore + m_CurrentFrame = (m_CurrentFrame + 1) % FRAMES_IN_FLIGHT; + return nullptr; + } + if (acquireResult.result == vk::Result::eErrorSurfaceLostKHR) { + std::println("ERROR: Surface lost!"); + // Advance to next frame to avoid potentially corrupted semaphore + m_CurrentFrame = (m_CurrentFrame + 1) % FRAMES_IN_FLIGHT; + return nullptr; + } + std::println("ERROR: Failed to acquire next image: {}", static_cast(acquireResult.result)); + return nullptr; + } + + m_ImageIndex = acquireResult.value; + + // Reset fence after successful acquire + result = m_ParentDevice->GetVulkanDevice().resetFences(1, &m_InFlightFences[m_CurrentFrame]); + if (result != vk::Result::eSuccess) { + std::println("ERROR: Failed to reset fences!"); + return nullptr; + } + + m_Contexts[m_CurrentFrame]->Reset(); + m_Contexts[m_CurrentFrame]->Begin(); + return m_Contexts[m_CurrentFrame].get(); + } + + void VulkanSurface::ClearScreen(float r, float g, float b) { + vk::CommandBuffer commandBuffer = + static_cast(m_Contexts[m_CurrentFrame].get())->GetCommandBuffer(); + + vk::ImageMemoryBarrier toColorAttachment; + toColorAttachment.setSrcAccessMask(vk::AccessFlags()); + toColorAttachment.setDstAccessMask(vk::AccessFlagBits::eColorAttachmentWrite); + toColorAttachment.setOldLayout(vk::ImageLayout::eUndefined); + toColorAttachment.setNewLayout(vk::ImageLayout::eColorAttachmentOptimal); + toColorAttachment.setSrcQueueFamilyIndex(vk::QueueFamilyIgnored); + toColorAttachment.setDstQueueFamilyIndex(vk::QueueFamilyIgnored); + toColorAttachment.setImage(m_Textures[m_ImageIndex]->GetImage()); + toColorAttachment.subresourceRange.setAspectMask(vk::ImageAspectFlagBits::eColor); + toColorAttachment.subresourceRange.setBaseMipLevel(0); + toColorAttachment.subresourceRange.setLevelCount(1); + toColorAttachment.subresourceRange.setBaseArrayLayer(0); + toColorAttachment.subresourceRange.setLayerCount(1); + + commandBuffer.pipelineBarrier(vk::PipelineStageFlagBits::eTopOfPipe, + vk::PipelineStageFlagBits::eColorAttachmentOutput, vk::DependencyFlags(), 0, + nullptr, 0, nullptr, 1, &toColorAttachment); + + m_Textures[m_ImageIndex]->SetCurrentLayout(TextureLayout::COLOR_ATTACHMENT); + + vk::ClearValue clearColor = vk::ClearColorValue(r, g, b, 1.0f); + vk::RenderingAttachmentInfo attachmentInfo{}; + attachmentInfo.imageView = m_TextureViews[m_CurrentFrame]->GetVkImageView(); + attachmentInfo.imageLayout = vk::ImageLayout::eColorAttachmentOptimal; + attachmentInfo.loadOp = vk::AttachmentLoadOp::eClear; + attachmentInfo.storeOp = vk::AttachmentStoreOp::eStore; + attachmentInfo.clearValue = clearColor; + + vk::Extent2D extent = {static_cast(m_Width), static_cast(m_Height)}; + + vk::Rect2D renderArea{}; + renderArea.extent = extent; + renderArea.offset = vk::Offset2D{0, 0}; + + vk::RenderingInfo renderingInfo{}; + renderingInfo.renderArea = renderArea; + renderingInfo.layerCount = 1; + renderingInfo.colorAttachmentCount = 1; + renderingInfo.pColorAttachments = &attachmentInfo; + + commandBuffer.beginRendering(renderingInfo); + commandBuffer.endRendering(); + } + + void VulkanSurface::EndFrame() { + // Switch to present + { + vk::CommandBuffer commandBuffer = + static_cast(m_Contexts[m_CurrentFrame].get())->GetCommandBuffer(); + + vk::ImageMemoryBarrier barrier; + barrier.setSrcAccessMask(vk::AccessFlagBits::eColorAttachmentWrite); + barrier.setDstAccessMask(vk::AccessFlagBits::eMemoryRead); + barrier.setOldLayout(vk::ImageLayout::eUndefined); + barrier.setNewLayout(vk::ImageLayout::ePresentSrcKHR); + barrier.setSrcQueueFamilyIndex(vk::QueueFamilyIgnored); + barrier.setDstQueueFamilyIndex(vk::QueueFamilyIgnored); + barrier.setImage(m_Textures[m_ImageIndex]->GetImage()); + barrier.subresourceRange.setAspectMask(vk::ImageAspectFlagBits::eColor); + barrier.subresourceRange.setBaseMipLevel(0); + barrier.subresourceRange.setLevelCount(1); + barrier.subresourceRange.setBaseArrayLayer(0); + barrier.subresourceRange.setLayerCount(1); + + commandBuffer.pipelineBarrier(vk::PipelineStageFlagBits::eColorAttachmentOutput, + vk::PipelineStageFlagBits::eBottomOfPipe, vk::DependencyFlags(), 0, nullptr, + 0, nullptr, 1, &barrier); + + // Update tracked layout state + m_Textures[m_ImageIndex]->SetCurrentLayout(TextureLayout::PRESENT); + + commandBuffer.end(); + } + + // Submit + { + vk::CommandBuffer commandBuffer = + static_cast(m_Contexts[m_CurrentFrame].get())->GetCommandBuffer(); + vk::Semaphore waitSemaphores[] = {m_ImageAvailableSemaphores[m_CurrentFrame]}; + vk::PipelineStageFlags waitStages[] = {vk::PipelineStageFlagBits::eAllCommands}; + vk::Semaphore signalSemaphores[] = {m_RenderFinishedSemaphores[m_CurrentFrame]}; + + vk::SubmitInfo submitInfo; + submitInfo.setWaitSemaphoreCount(1); + submitInfo.setPWaitSemaphores(waitSemaphores); + submitInfo.setPWaitDstStageMask(waitStages); + submitInfo.setCommandBufferCount(1); + submitInfo.setPCommandBuffers(&commandBuffer); + submitInfo.setSignalSemaphoreCount(1); + submitInfo.setPSignalSemaphores(signalSemaphores); + + vk::Result result = m_ParentDevice->GetMainQueue().submit(1, &submitInfo, m_InFlightFences[m_CurrentFrame]); + if (result != vk::Result::eSuccess) { + std::println("ERROR: Failed to submit draw command buffer: {}", vk::to_string(result)); + } + } + + // Present + { + vk::Semaphore waitSemaphores[] = {m_RenderFinishedSemaphores[m_CurrentFrame]}; + vk::SwapchainKHR swapchains[] = {m_Swapchain}; + + vk::PresentInfoKHR presentInfo; + presentInfo.setWaitSemaphoreCount(1); + presentInfo.setPWaitSemaphores(waitSemaphores); + presentInfo.setSwapchainCount(1); + presentInfo.setPSwapchains(swapchains); + presentInfo.setPImageIndices(&m_ImageIndex); + + vk::Result result = m_ParentDevice->GetMainQueue().presentKHR(presentInfo); + if (result == vk::Result::eErrorOutOfDateKHR) { + std::println("WARN: Swapchain out of date during present, needs resize"); + } else if (result == vk::Result::eErrorSurfaceLostKHR) { + std::println("ERROR: Surface lost!"); + } else if (result != vk::Result::eSuccess) { + std::println("ERROR: Failed to present swapchain image!"); + } + + m_CurrentFrame = (m_CurrentFrame + 1) % FRAMES_IN_FLIGHT; + } + } + + void VulkanSurface::Resize(int width, int height) { + m_ParentDevice->WaitIdle(); + + m_Width = width; + m_Height = height; + + // Reset frame counter to start fresh after resize + m_CurrentFrame = 0; + + // Clean up synchronization primitives first - they may be in undefined state after failed acquire + uint32 imageCount = FRAMES_IN_FLIGHT; + for (uint32 i = 0; i < imageCount; i++) { + m_ParentDevice->GetVulkanDevice().destroySemaphore(m_ImageAvailableSemaphores[i]); + m_ParentDevice->GetVulkanDevice().destroySemaphore(m_RenderFinishedSemaphores[i]); + m_ParentDevice->GetVulkanDevice().destroyFence(m_InFlightFences[i]); + } + + // Recreate synchronization primitives in clean state + for (uint32 i = 0; i < imageCount; i++) { + vk::SemaphoreCreateInfo semaphoreInfo; + m_ImageAvailableSemaphores[i] = m_ParentDevice->GetVulkanDevice().createSemaphore(semaphoreInfo); + m_RenderFinishedSemaphores[i] = m_ParentDevice->GetVulkanDevice().createSemaphore(semaphoreInfo); + + vk::FenceCreateInfo fenceInfo; + fenceInfo.setFlags(vk::FenceCreateFlagBits::eSignaled); + m_InFlightFences[i] = m_ParentDevice->GetVulkanDevice().createFence(fenceInfo); + } + + // Clean up ALL old textures and texture views + for (uint64 i = 0; i < m_Textures.size(); i++) { + m_Textures[i].reset(); + m_TextureViews[i].reset(); + } + m_Textures.clear(); + m_ParentDevice->GetVulkanDevice().destroySwapchainKHR(m_Swapchain); + + auto swapChainSurfaceFormat = chooseSwapSurfaceFormat(m_ParentDevice, m_Surface); + const auto availablePresentModes = + m_ParentDevice->GetVulkanPhysicalDevice().getSurfacePresentModesKHR(m_Surface); + if (!std::ranges::any_of(availablePresentModes, + [](auto presentMode) { return presentMode == vk::PresentModeKHR::eFifo; })) { + std::unreachable(); + } + + vk::SwapchainCreateInfoKHR swapchainCreateInfo; + swapchainCreateInfo.setSurface(m_Surface); + swapchainCreateInfo.setMinImageCount(2); + swapchainCreateInfo.setImageFormat(swapChainSurfaceFormat.format); + swapchainCreateInfo.setImageColorSpace(swapChainSurfaceFormat.colorSpace); + swapchainCreateInfo.setImageExtent( + vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); + swapchainCreateInfo.setImageArrayLayers(1); + swapchainCreateInfo.setImageUsage(vk::ImageUsageFlagBits::eColorAttachment); + swapchainCreateInfo.setImageSharingMode(vk::SharingMode::eExclusive); + swapchainCreateInfo.setPreTransform(vk::SurfaceTransformFlagBitsKHR::eIdentity); + swapchainCreateInfo.setCompositeAlpha(vk::CompositeAlphaFlagBitsKHR::eOpaque); + swapchainCreateInfo.setPresentMode(vk::PresentModeKHR::eFifo); + swapchainCreateInfo.setClipped(vk::True); + + m_Swapchain = m_ParentDevice->GetVulkanDevice().createSwapchainKHR(swapchainCreateInfo); + + auto swapchainImages = m_ParentDevice->GetVulkanDevice().getSwapchainImagesKHR(m_Swapchain); + + // Resize vectors to match new swapchain image count + m_Textures.resize(swapchainImages.size()); + m_TextureViews.resize(swapchainImages.size()); + + // Create new textures for all swapchain images + for (uint64 i = 0; i < swapchainImages.size(); i++) { + TextureDesc desc; + desc.Width = width; + desc.Height = height; + desc.Format = TextureFormat::RGBA8_SRGB; + desc.Usage = TextureUsage::RENDER_TARGET; + + m_Textures[i] = std::make_unique(VulkanTexture::AdoptExternal(swapchainImages[i], m_ParentDevice, desc, + "Swapchain Texture " + std::to_string(i))); + } + + // Create texture views for ALL swapchain images + for (uint32 i = 0; i < swapchainImages.size(); i++) { + TextureViewDesc viewDesc = TextureViewDesc::CreateDefault(m_Textures[i].get(), TextureViewType::RENDER_TARGET, + TextureViewDimension::TEXTURE_2D); + m_TextureViews[i] = std::unique_ptr( + static_cast(m_ParentDevice->CreateTextureView(viewDesc).release()) + ); + } + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm new file mode 100644 index 0000000..a39db73 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm @@ -0,0 +1,59 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Vulkan.Surface; + +import NE.Engine.RHI.Context; +import NE.Engine.RHI.Surface; + +import NE.Engine.RHI.Vulkan.Device; +import NE.Engine.RHI.Vulkan.Texture; +import NE.Engine.RHI.Vulkan.TextureView; + +import NE.Engine.Core.Types; +import NE.Engine.Core.Window; + +import vulkan; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API VulkanSurface final : public Surface { + public: + VulkanSurface(VulkanDevice& device, const Window& window); + ~VulkanSurface() override; + + VulkanSurface(const VulkanSurface&) = delete; + VulkanSurface& operator=(const VulkanSurface&) = delete; + + VulkanSurface(VulkanSurface&&) = default; + VulkanSurface& operator=(VulkanSurface&&) = default; + + RenderContext* BeginFrame() override; + void ClearScreen(float r, float g, float b) override; + void EndFrame() override; + + void Resize(int32 w, int32 h) override; + + private: + vk::SurfaceKHR m_Surface; + vk::SwapchainKHR m_Swapchain; + + VulkanDevice* m_ParentDevice = nullptr; + + std::vector> m_Textures; + std::vector> m_TextureViews; + std::vector m_ImageAvailableSemaphores; + std::vector m_RenderFinishedSemaphores; + std::vector m_InFlightFences; + std::vector> m_Contexts; + uint32 m_CurrentFrame = 0; + uint32 m_ImageIndex = 0; + + int m_Width = 0; + int m_Height = 0; + }; +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp new file mode 100644 index 0000000..c134da1 --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp @@ -0,0 +1,100 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +module NE.Engine.RHI.Vulkan.Texture; + +import vulkan; +import std; + +namespace Nexus::RHI { + + VulkanTexture::VulkanTexture(const TextureDesc& desc, VulkanDevice* device, vma::Allocator allocator) + : m_ParentDevice(device), + m_ParentAllocator(allocator) { + m_Desc = desc; + + vk::ImageCreateInfo imageInfo; + imageInfo.setArrayLayers(desc.ArrayLayers); + imageInfo.setMipLevels(desc.MipLevels); + imageInfo.setExtent({desc.Width, desc.Height, desc.Depth}); + imageInfo.setFormat(ConvertTextureFormatToVulkan(desc.Format)); + imageInfo.setImageType(desc.Depth > 1 ? vk::ImageType::e3D : vk::ImageType::e2D); + imageInfo.setInitialLayout(vk::ImageLayout::eUndefined); + imageInfo.setSharingMode(vk::SharingMode::eExclusive); + imageInfo.setTiling(vk::ImageTiling::eOptimal); + imageInfo.setUsage(ConvertTextureUsageToVulkan(desc.Usage)); + imageInfo.setFlags(desc.IsCubeMap ? vk::ImageCreateFlagBits::eCubeCompatible : vk::ImageCreateFlags{}); + + vma::AllocationCreateInfo allocInfo; + std::memset(&allocInfo, 0, sizeof(allocInfo)); + allocInfo.usage = vma::MemoryUsage::eGpuOnly; + + vk::Result result = allocator.createImage(&imageInfo, &allocInfo, &m_Image, &m_Allocation, &m_AllocationInfo); + if (result != vk::Result::eSuccess) { + std::println("Failed to create Vulkan texture image!"); + } + } + + VulkanTexture::~VulkanTexture() { + if (m_ShouldDestroy) { + m_ParentAllocator.destroyImage(m_Image, m_Allocation); + } + } + + void VulkanTexture::Resize(uint32 width, uint32 height) { + if (m_ShouldDestroy) { + m_ParentAllocator.destroyImage(m_Image, m_Allocation); + } + + m_Desc.Width = width; + m_Desc.Height = height; + m_CurrentLayout = TextureLayout::UNDEFINED; + + vk::ImageCreateInfo imageInfo; + imageInfo.setArrayLayers(m_Desc.ArrayLayers); + imageInfo.setMipLevels(m_Desc.MipLevels); + imageInfo.setExtent({m_Desc.Width, m_Desc.Height, m_Desc.Depth}); + imageInfo.setFormat(ConvertTextureFormatToVulkan(m_Desc.Format)); + imageInfo.setImageType(m_Desc.Depth > 1 ? vk::ImageType::e3D : vk::ImageType::e2D); + imageInfo.setInitialLayout(vk::ImageLayout::eUndefined); + imageInfo.setSharingMode(vk::SharingMode::eExclusive); + imageInfo.setTiling(vk::ImageTiling::eOptimal); + imageInfo.setUsage(ConvertTextureUsageToVulkan(m_Desc.Usage)); + imageInfo.setFlags(m_Desc.IsCubeMap ? vk::ImageCreateFlagBits::eCubeCompatible : vk::ImageCreateFlags{}); + + vma::AllocationCreateInfo allocInfo = {}; + allocInfo.usage = vma::MemoryUsage::eGpuOnly; + + vk::Result result = + m_ParentAllocator.createImage(&imageInfo, &allocInfo, &m_Image, &m_Allocation, &m_AllocationInfo); + if (result != vk::Result::eSuccess) { + std::println("Failed to resize Vulkan texture image!"); + } + + m_ShouldDestroy = true; + } + + void VulkanTexture::SetName(const std::string& name) { + vk::DebugUtilsObjectNameInfoEXT nameInfo; + nameInfo.setObjectType(vk::ObjectType::eImage); + nameInfo.setObjectHandle(reinterpret_cast(static_cast(m_Image))); + nameInfo.setPObjectName(name.c_str()); + + m_ParentDevice->GetVulkanDevice().setDebugUtilsObjectNameEXT(nameInfo); + } + + VulkanTexture VulkanTexture::AdoptExternal(vk::Image image, VulkanDevice* device, const TextureDesc& desc, + const std::string& name) { + VulkanTexture tex; + tex.m_Image = image; + tex.m_Desc = desc; + tex.m_ParentDevice = device; + tex.m_ShouldDestroy = false; + tex.SetCurrentLayout(TextureLayout::UNDEFINED); + tex.SetName(name); + return tex; + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cppm new file mode 100644 index 0000000..38c31cc --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cppm @@ -0,0 +1,95 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Vulkan.Texture; + +import NE.Engine.RHI.Texture; + +import NE.Engine.RHI.Vulkan.Device; + +import NE.Engine.Core.Types; +import NE.Engine.Core.Window; + +import vulkan; +import vk_mem_alloc; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API VulkanTexture final : public Texture { + public: + VulkanTexture() = default; + VulkanTexture(const TextureDesc& desc, VulkanDevice* device, vma::Allocator allocator); + ~VulkanTexture() override; + + void SetName(const std::string& name) override; + void Resize(uint32 width, uint32 height) override; + + static VulkanTexture AdoptExternal(vk::Image image, VulkanDevice* device, const TextureDesc& desc, + const std::string& name); + + vma::Allocation GetAllocation() const { + return m_Allocation; + } + vk::Image GetImage() const { + return m_Image; + } + + private: + vma::Allocation m_Allocation = nullptr; + vma::AllocationInfo m_AllocationInfo; + vk::Image m_Image = nullptr; + + VulkanDevice* m_ParentDevice = nullptr; + vma::Allocator m_ParentAllocator = nullptr; + + bool m_ShouldDestroy = true; + }; + + inline vk::Format ConvertTextureFormatToVulkan(TextureFormat format) { + switch (format) { + case TextureFormat::UNDEFINED: + return vk::Format::eUndefined; + case TextureFormat::R8_UNORM: + return vk::Format::eR8Unorm; + case TextureFormat::RGBA8_UNORM: + return vk::Format::eR8G8B8A8Unorm; + case TextureFormat::RGBA8_SRGB: + return vk::Format::eR8G8B8A8Srgb; + case TextureFormat::BGRA8_UNORM: + return vk::Format::eB8G8R8A8Unorm; + case TextureFormat::BGRA8_SRGB: + return vk::Format::eB8G8R8A8Srgb; + case TextureFormat::ASTC6X6_SRGB: + return vk::Format::eAstc6x6SrgbBlock; + case TextureFormat::ASTC6X6_UNORM: + return vk::Format::eAstc6x6UnormBlock; + case TextureFormat::BC7_SRGB: + return vk::Format::eBc7SrgbBlock; + case TextureFormat::BC7_UNORM: + return vk::Format::eBc7UnormBlock; + case TextureFormat::D32_FLOAT: + return vk::Format::eD32Sfloat; + case TextureFormat::RGBA16_FLOAT: + return vk::Format::eR16G16B16A16Sfloat; + default: + return vk::Format::eUndefined; + } + } + + inline vk::ImageUsageFlags ConvertTextureUsageToVulkan(TextureUsage usage) { + vk::ImageUsageFlags flags = vk::ImageUsageFlagBits::eTransferDst | vk::ImageUsageFlagBits::eTransferSrc; + if (HasFlag(usage, TextureUsage::RENDER_TARGET)) + flags |= vk::ImageUsageFlagBits::eColorAttachment; + if (HasFlag(usage, TextureUsage::DEPTH_TARGET)) + flags |= vk::ImageUsageFlagBits::eDepthStencilAttachment; + if (HasFlag(usage, TextureUsage::SHADER_READ)) + flags |= vk::ImageUsageFlagBits::eSampled; + if (HasFlag(usage, TextureUsage::SHADER_WRITE)) + flags |= vk::ImageUsageFlagBits::eStorage; + return flags; + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cpp new file mode 100644 index 0000000..3d8d98c --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cpp @@ -0,0 +1,48 @@ +// SPDX-License-Identifier: MIT + +module NE.Engine.RHI.Vulkan.TextureView; + +import NE.Engine.RHI.Texture; +import NE.Engine.RHI.Vulkan.Texture; + +namespace Nexus::RHI { + VulkanTextureView::VulkanTextureView(VulkanDevice* device, const TextureViewDesc& desc) : m_Device(device) { + m_Desc = desc; + + TextureDesc textureDesc = desc.Texture->GetDesc(); + + vk::ImageViewCreateInfo viewInfo; + viewInfo.image = static_cast(desc.Texture)->GetImage(); + viewInfo.viewType = GetVulkanImageViewType(desc.Dimension); + viewInfo.format = desc.Format != TextureFormat::UNDEFINED + ? ConvertTextureFormatToVulkan(desc.Format) + : ConvertTextureFormatToVulkan(desc.Texture->GetDesc().Format); + viewInfo.subresourceRange.aspectMask = HasFlag(textureDesc.Usage, TextureUsage::DEPTH_TARGET) + ? vk::ImageAspectFlagBits::eDepth + : vk::ImageAspectFlagBits::eColor; + viewInfo.subresourceRange.baseMipLevel = static_cast(desc.MipStart); + viewInfo.subresourceRange.levelCount = desc.MipEnd == VIEW_ALL_MIP_LEVELS + ? vk::RemainingMipLevels + : static_cast(desc.MipEnd - desc.MipStart); + viewInfo.subresourceRange.baseArrayLayer = static_cast(desc.ArrayLayerStart); + viewInfo.subresourceRange.layerCount = desc.ArrayLayerEnd == VIEW_ALL_ARRAY_LAYERS + ? vk::RemainingArrayLayers + : static_cast(desc.ArrayLayerEnd - desc.ArrayLayerStart); + + m_ImageView = m_Device->GetVulkanDevice().createImageView(viewInfo); + + if (desc.Type == TextureViewType::SHADER_READ) { + //m_BindlessIndex = m_Device->GetBindlessManager()->WriteTextureSRV(this); + } else if (desc.Type == TextureViewType::SHADER_WRITE) { + //m_BindlessIndex = m_Device->GetBindlessManager()->WriteTextureUAV(this); + } + } + + VulkanTextureView::~VulkanTextureView() { + m_Device->GetVulkanDevice().destroyImageView(m_ImageView); + + if (m_BindlessIndex != -1) { + //m_Device->GetBindlessManager()->FreeResource(m_BindlessIndex); + } + } +} // namespace Nexus::RHI \ No newline at end of file diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cppm new file mode 100644 index 0000000..64257dd --- /dev/null +++ b/Source/Engine/RHI/Private/Backend/Vulkan/TextureView.cppm @@ -0,0 +1,49 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Vulkan.TextureView; + +import NE.Engine.RHI.Vulkan.Device; +import NE.Engine.RHI.TextureView; + +import NE.Engine.Core.Types; + +import vulkan; + +export namespace Nexus::RHI { + class NEXUS_API VulkanTextureView final : public TextureView { + public: + VulkanTextureView(VulkanDevice* device, const TextureViewDesc& desc); + ~VulkanTextureView() override; + + int32 GetBindlessIndex() override { + return m_BindlessIndex; + } + vk::ImageView GetVkImageView() const { + return m_ImageView; + } + + private: + VulkanDevice* m_Device; + + vk::ImageView m_ImageView; + int32 m_BindlessIndex = -1; + }; + + inline vk::ImageViewType GetVulkanImageViewType(TextureViewDimension type) { + switch (type) { + case TextureViewDimension::TEXTURE_2D: + return vk::ImageViewType::e2D; + case TextureViewDimension::TEXTURE_2D_ARRAY: + return vk::ImageViewType::e2DArray; + case TextureViewDimension::TEXTURE_CUBE: + return vk::ImageViewType::eCube; + case TextureViewDimension::TEXTURE_3D: + return vk::ImageViewType::e3D; + } + return vk::ImageViewType::e2D; + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Private/Core/Device.cpp b/Source/Engine/RHI/Private/Core/Device.cpp new file mode 100644 index 0000000..bbef04b --- /dev/null +++ b/Source/Engine/RHI/Private/Core/Device.cpp @@ -0,0 +1,20 @@ +// SPDX-License-Identifier: MIT + +module; + +module NE.Engine.RHI.Device; +#if defined(NEXUS_RHI_VULKAN) +import NE.Engine.RHI.Vulkan.Device; +#elif defined(NEXUS_RHI_DX12) +#endif + +namespace Nexus::RHI { + std::unique_ptr Device::Create() { +#if defined(NEXUS_RHI_VULKAN) + return std::make_unique(); +#elif defined(NEXUS_RHI_DX12) + std::unreachable(); +#endif + return nullptr; + } +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Public/Core/Context.cppm b/Source/Engine/RHI/Public/Core/Context.cppm new file mode 100644 index 0000000..caee672 --- /dev/null +++ b/Source/Engine/RHI/Public/Core/Context.cppm @@ -0,0 +1,203 @@ +// SPDX-License-Identifier: MIT + +module; + +#include +#include +#include + +export module NE.Engine.RHI.Context; + +//import NE.Engine.RHI.Buffer; +import NE.Engine.RHI.Texture; +import NE.Engine.RHI.TextureView; + +import NE.Engine.Core.Types; + +export namespace Nexus::RHI { + class Buffer; + + enum class PipelineStage : uint64 { + NONE = 1 << 0, + TOP_OF_PIPE = 1 << 1, + DRAW_INDIRECT = 1 << 2, + VERTEX_INPUT = 1 << 3, + INDEX_INPUT = 1 << 4, + VERTEX_SHADER = 1 << 5, + PIXEL_SHADER = 1 << 6, + COMPUTE_SHADER = 1 << 7, + EARLY_FRAGMENT_TESTS = 1 << 8, + LATE_FRAGMENT_TESTS = 1 << 9, + COLOR_ATTACHMENT_OUTPUT = 1 << 10, + BOTTOM_OF_PIPE = 1 << 11, + COPY = 1 << 12, + ALL_GRAPHICS = 1 << 13, + ALL_COMMANDS = 1 << 14, + ACCELERATION_STRUCTURE_WRITE = 1 << 15, + ACCELERATION_STRUCTURE_READ = 1 << 16 + }; + + enum class ResourceAccess : uint64 { + NONE = 1 << 0, + INDIRECT_COMMAND_READ = 1 << 1, + INDEX_READ = 1 << 2, + VERTEX_ATTRIBUTE_READ = 1 << 3, + UNIFORM_READ = 1 << 4, + SHADER_READ = 1 << 5, + SHADER_WRITE = 1 << 6, + COLOR_ATTACHMENT_READ = 1 << 7, + COLOR_ATTACHMENT_WRITE = 1 << 8, + DEPTH_STENCIL_ATTACHMENT_READ = 1 << 9, + DEPTH_STENCIL_ATTACHMENT_WRITE = 1 << 10, + TRANSFER_READ = 1 << 11, + TRANSFER_WRITE = 1 << 12, + HOST_READ = 1 << 13, + HOST_WRITE = 1 << 14, + MEMORY_READ = 1 << 15, + MEMORY_WRITE = 1 << 16, + ACCELERATION_STRUCTURE_READ = 1 << 17, + ACCELERATION_STRUCTURE_WRITE = 1 << 18 + }; + + struct RenderEncoderInfo { + std::string Name = "Render Pass"; + std::vector ColorAttachments; + std::vector ColorClearFlags; + std::vector ColorClearValues; + + uint32 Width = 0; + uint32 Height = 0; + + TextureView* DepthAttachment = nullptr; + bool DepthClearFlag = true; + bool DepthStoreFlag = true; + + RenderEncoderInfo& SetName(const std::string& name) { + Name = name; + return *this; + } + + RenderEncoderInfo& AddColorAttachment(TextureView* textureView, bool clearFlag = true, + const glm::vec4& clearValue = glm::vec4(0.0f)) { + ColorAttachments.push_back(textureView); + ColorClearFlags.push_back(clearFlag); + ColorClearValues.push_back(clearValue); + return *this; + } + + RenderEncoderInfo& SetDepthAttachment(TextureView* textureView, bool clearFlag = true, bool storeFlag = true) { + DepthAttachment = textureView; + DepthClearFlag = clearFlag; + DepthStoreFlag = storeFlag; + return *this; + } + + RenderEncoderInfo& SetDimensions(uint32 width, uint32 height) { + Width = width; + Height = height; + return *this; + } + }; + + struct TextureBarrier { + PipelineStage DstStage; + ResourceAccess DstAccess; + TextureLayout NewLayout; + Texture* TargetTexture; + + uint32 BaseMipLevel = 0; + uint32 MipLevelCount = VIEW_ALL_MIP_LEVELS; + uint32 BaseArrayLayer = 0; + uint32 ArrayLayerCount = VIEW_ALL_ARRAY_LAYERS; + + TextureBarrier& SetMipLevels(uint32 baseMipLevel, uint32 mipLevelCount) { + BaseMipLevel = baseMipLevel; + MipLevelCount = mipLevelCount; + return *this; + } + + TextureBarrier& SetArrayLayers(uint32 baseArrayLayer, uint32 arrayLayerCount) { + BaseArrayLayer = baseArrayLayer; + ArrayLayerCount = arrayLayerCount; + return *this; + } + + TextureBarrier& SetTargetTexture(Texture* texture) { + TargetTexture = texture; + return *this; + } + + TextureBarrier& SetDstStage(PipelineStage stage) { + DstStage = stage; + return *this; + } + + TextureBarrier& SetDstAccess(ResourceAccess access) { + DstAccess = access; + return *this; + } + + TextureBarrier& SetNewLayout(TextureLayout layout) { + NewLayout = layout; + return *this; + } + }; + + struct BufferBarrier { + PipelineStage DstStage; + ResourceAccess DstAccess; + Buffer* TargetBuffer; + + BufferBarrier& SetTargetBuffer(Buffer* buffer) { + TargetBuffer = buffer; + return *this; + } + + BufferBarrier& SetDstStage(PipelineStage stage) { + DstStage = stage; + return *this; + } + + BufferBarrier& SetDstAccess(ResourceAccess access) { + DstAccess = access; + return *this; + } + }; + + struct BarrierGroup { + std::vector TextureBarriers; + std::vector BufferBarriers; + }; + + class RenderEncoder; + class CopyEncoder; + class ComputeEncoder; + + class RenderContext { + public: + virtual ~RenderContext() = default; + + virtual void Reset() = 0; + virtual void Begin() = 0; + virtual void End() = 0; + + virtual void Barrier(const TextureBarrier& textureBarrier) = 0; + virtual void Barrier(const BufferBarrier& bufferBarrier) = 0; + virtual void Barrier(const BarrierGroup& barrierGroup) = 0; + + virtual void PushMarker(const std::string& name) = 0; + virtual void PopMarker() = 0; + + virtual RenderEncoder* CreateRenderEncoder(const RenderEncoderInfo& info) = 0; + virtual CopyEncoder* CreateCopyEncoder(const std::string& name = "Copy Pass") = 0; + virtual ComputeEncoder* CreateComputeEncoder(const std::string& name = "Compute Pass") = 0; + }; +} // namespace Nexus::RHI + +export namespace Nexus { + template <> + struct EnableFlagOperators : std::true_type {}; + + template <> + struct EnableFlagOperators : std::true_type {}; +} // namespace Nexus diff --git a/Source/Engine/RHI/Public/Core/Device.cppm b/Source/Engine/RHI/Public/Core/Device.cppm new file mode 100644 index 0000000..5f8ad0e --- /dev/null +++ b/Source/Engine/RHI/Public/Core/Device.cppm @@ -0,0 +1,28 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Device; + +import NE.Engine.RHI.Surface; +import NE.Engine.RHI.TextureView; + +import NE.Engine.Core.Window; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API Device { + public: + static std::unique_ptr Create(); + + virtual std::unique_ptr CreateSurface(const Window& window) = 0; + virtual std::unique_ptr CreateTextureView(const TextureViewDesc& desc) = 0; + + virtual void WaitIdle() const = 0; + + virtual ~Device() = default; + }; +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Public/Core/Surface.cppm b/Source/Engine/RHI/Public/Core/Surface.cppm new file mode 100644 index 0000000..c2c558a --- /dev/null +++ b/Source/Engine/RHI/Public/Core/Surface.cppm @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Surface; + +import NE.Engine.RHI.Context; + +import NE.Engine.Core.Types; + +import std; + +export namespace Nexus::RHI { + class NEXUS_API Surface { + public: + static constexpr uint32 FRAMES_IN_FLIGHT = 2; + virtual ~Surface() = default; + + virtual RenderContext* BeginFrame() = 0; + virtual void ClearScreen(float r, float g, float b) = 0; + virtual void EndFrame() = 0; + + virtual void Resize(int32 w, int32 h) = 0; + }; +} // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Public/Core/Texture.cppm b/Source/Engine/RHI/Public/Core/Texture.cppm new file mode 100644 index 0000000..f0ea915 --- /dev/null +++ b/Source/Engine/RHI/Public/Core/Texture.cppm @@ -0,0 +1,118 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.Texture; + +import NE.Engine.Core.Types; + +import std; + +export namespace Nexus::RHI { + enum class TextureFormat { + UNDEFINED, + R8_UNORM, + RGBA8_UNORM, + RGBA8_SRGB, + BGRA8_UNORM, + BGRA8_SRGB, + D32_FLOAT, + RGBA16_FLOAT, + + // Available everywhere except iOS + BC7_UNORM, + BC7_SRGB, + + /// Only supported on macOS + ASTC6X6_UNORM, + ASTC6X6_SRGB + }; + + enum class TextureUsage { + RENDER_TARGET = 1 << 0, + DEPTH_TARGET = 1 << 1, + SHADER_READ = 1 << 2, + SHADER_WRITE = 1 << 3 + }; + + enum class TextureLayout { + UNDEFINED, + GENERAL, + READ_ONLY, + COLOR_ATTACHMENT, + DEPTH_ATTACHMENT, + DEPTH_STENCIL_READ, + DEPTH_STENCIL_WRITE, + TRANSFER_SRC, + TRANSFER_DST, + PRESENT + }; + + struct TextureDesc { + uint32 Width = 1; + uint32 Height = 1; + uint32 Depth = 1; + uint32 ArrayLayers = 1; + uint32 MipLevels = 1; + TextureFormat Format = TextureFormat::RGBA8_SRGB; + TextureUsage Usage = TextureUsage::SHADER_READ; + bool IsCubeMap = false; + + TextureDesc& SetSize(uint32 width, uint32 height, uint32 depth = 1) { + Width = width; + Height = height; + Depth = depth; + return *this; + } + + TextureDesc& SetArrayLayers(uint32 layers) { + ArrayLayers = layers; + return *this; + } + + TextureDesc& SetMipLevels(uint32 mipLevels) { + MipLevels = mipLevels; + return *this; + } + + TextureDesc& SetFormat(TextureFormat format) { + Format = format; + return *this; + } + + TextureDesc& SetUsage(TextureUsage usage) { + Usage = usage; + return *this; + } + }; + + class NEXUS_API Texture { + public: + virtual ~Texture() = default; + + virtual void SetName(const std::string& name) = 0; + virtual void Resize(uint32 width, uint32 height) = 0; + + const TextureDesc& GetDesc() const { + return m_Desc; + } + + TextureLayout GetCurrentLayout() const { + return m_CurrentLayout; + } + void SetCurrentLayout(TextureLayout layout) { + m_CurrentLayout = layout; + } + + protected: + TextureDesc m_Desc; + TextureLayout m_CurrentLayout = TextureLayout::UNDEFINED; + }; +} // namespace Nexus::RHI + +export namespace Nexus { + template <> + struct EnableFlagOperators : std::true_type {}; +} // namespace Nexus diff --git a/Source/Engine/RHI/Public/Core/TextureView.cppm b/Source/Engine/RHI/Public/Core/TextureView.cppm new file mode 100644 index 0000000..ae02c74 --- /dev/null +++ b/Source/Engine/RHI/Public/Core/TextureView.cppm @@ -0,0 +1,94 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +export module NE.Engine.RHI.TextureView; + +import NE.Engine.Core.Types; + +import NE.Engine.RHI.Texture; + +import std; + +export namespace Nexus::RHI { + enum class TextureViewType { RENDER_TARGET, DEPTH_TARGET, SHADER_READ, SHADER_WRITE }; + + enum class TextureViewDimension { TEXTURE_2D, TEXTURE_2D_ARRAY, TEXTURE_3D, TEXTURE_CUBE }; + + constexpr uint32 VIEW_ALL_MIP_LEVELS = 0xFFFFFFFF; + constexpr uint32 VIEW_ALL_ARRAY_LAYERS = 0xFFFFFFFF; + + struct TextureViewDesc { + std::string Name; + Texture* Texture; + TextureViewType Type = TextureViewType::SHADER_READ; + TextureViewDimension Dimension = TextureViewDimension::TEXTURE_2D; + TextureFormat Format = TextureFormat::UNDEFINED; + + uint32 MipStart = 0; + uint32 MipEnd = VIEW_ALL_MIP_LEVELS; + uint32 ArrayLayerStart = 0; + uint32 ArrayLayerEnd = VIEW_ALL_ARRAY_LAYERS; + + TextureViewDesc& SetMipRange(uint32 mipStart, uint32 mipEnd = VIEW_ALL_MIP_LEVELS) { + MipStart = mipStart; + MipEnd = mipEnd; + return *this; + } + + TextureViewDesc& SetArrayLayerRange(uint32 layerStart, uint32 layerEnd = VIEW_ALL_ARRAY_LAYERS) { + ArrayLayerStart = layerStart; + ArrayLayerEnd = layerEnd; + return *this; + } + + TextureViewDesc& SetType(TextureViewType type) { + Type = type; + return *this; + } + + TextureViewDesc& SetDimension(TextureViewDimension dimension) { + Dimension = dimension; + return *this; + } + + TextureViewDesc& SetFormat(TextureFormat format) { + Format = format; + return *this; + } + + TextureViewDesc& SetTexture(RHI::Texture* texture) { + Texture = texture; + return *this; + } + + static TextureViewDesc CreateDefault(RHI::Texture* texture, TextureViewType type, TextureViewDimension dimension) { + TextureViewDesc desc = {}; + desc.Type = type; + desc.Texture = texture; + desc.Dimension = dimension; + desc.Format = texture->GetDesc().Format; + desc.MipStart = 0; + desc.MipEnd = VIEW_ALL_MIP_LEVELS; + desc.ArrayLayerStart = 0; + desc.ArrayLayerEnd = VIEW_ALL_ARRAY_LAYERS; + return desc; + } + }; + + class NEXUS_API TextureView { + public: + virtual ~TextureView() = default; + + virtual int32 GetBindlessIndex() = 0; + + const TextureViewDesc& GetDesc() const { + return m_Desc; + } + + protected: + TextureViewDesc m_Desc{}; + }; +} // namespace Nexus::RHI From 99c1096078aea975f2b368491b4b0703268d5e7a Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 14 Sep 2026 15:33:55 +0200 Subject: [PATCH 08/25] linux: fix some compilation errors. Signed-off-by: Dylan Hollemaert --- CMakeLists.txt | 1 + Source/Engine/RHI/Public/Core/TextureView.cppm | 2 +- Source/ThirdParty/VMA/CMakeLists.txt | 1 + Source/ThirdParty/VMA/VMA.cpp | 2 ++ Source/ThirdParty/VMA/vk_mem_alloc.cppm | 3 +-- 5 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 Source/ThirdParty/VMA/VMA.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 22cea39..5b8ebf9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ cmake_minimum_required(VERSION 3.30 FATAL_ERROR) set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_CXX_EXTENSIONS ON) # C++20 modules diff --git a/Source/Engine/RHI/Public/Core/TextureView.cppm b/Source/Engine/RHI/Public/Core/TextureView.cppm index ae02c74..609fd07 100644 --- a/Source/Engine/RHI/Public/Core/TextureView.cppm +++ b/Source/Engine/RHI/Public/Core/TextureView.cppm @@ -22,7 +22,7 @@ export namespace Nexus::RHI { struct TextureViewDesc { std::string Name; - Texture* Texture; + RHI::Texture* Texture; TextureViewType Type = TextureViewType::SHADER_READ; TextureViewDimension Dimension = TextureViewDimension::TEXTURE_2D; TextureFormat Format = TextureFormat::UNDEFINED; diff --git a/Source/ThirdParty/VMA/CMakeLists.txt b/Source/ThirdParty/VMA/CMakeLists.txt index 429f45e..4dcb7eb 100644 --- a/Source/ThirdParty/VMA/CMakeLists.txt +++ b/Source/ThirdParty/VMA/CMakeLists.txt @@ -7,6 +7,7 @@ target_include_directories(VulkanMemoryAllocator INTERFACE "$ -#define VMA_IMPLEMENTATION #include "vk_mem_alloc.h" export module vk_mem_alloc; @@ -54,4 +53,4 @@ namespace VULKAN_HPP_NAMESPACE { template<> struct isVulkanRAIIHandleType; } #endif -} \ No newline at end of file +} From ccc2b4b5c1d3e721746680c6ac83bf60f1f48252 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 22:57:05 +0200 Subject: [PATCH 09/25] Update the math library with a few utilities. * Will write an SSE/SSE2 version soon(tm) Signed-off-by: Dylan Hollemaert --- Source/Engine/Core/Math/Public/Mat/Mat.cppm | 76 ++++ Source/Engine/Core/Math/Public/Mat/Mat.inl | 345 ++++++++++++++++++ .../Math/Public/Quaternion/Quaternion.cppm | 20 + .../Math/Public/Quaternion/Quaternion.inl | 126 ++++++- Source/Engine/Core/Math/Public/Vec/Vec.cppm | 40 ++ Source/Engine/Core/Math/Public/Vec/Vec.inl | 181 +++++++++ 6 files changed, 785 insertions(+), 3 deletions(-) diff --git a/Source/Engine/Core/Math/Public/Mat/Mat.cppm b/Source/Engine/Core/Math/Public/Mat/Mat.cppm index f59a40d..01e8a49 100644 --- a/Source/Engine/Core/Math/Public/Mat/Mat.cppm +++ b/Source/Engine/Core/Math/Public/Mat/Mat.cppm @@ -8,6 +8,8 @@ export module NE.Engine.Math.Mat; import NE.Engine.Core.Config; import NE.Engine.Core.Types; +import NE.Engine.Math.Vec; +import NE.Engine.Math.Quaternion; import std; @@ -93,6 +95,70 @@ export namespace Nexus { template requires(RowCount == ColCount && N == RowCount) constexpr Mat Inverse() const; + + template + requires(R == RowCount && C == ColCount) + static constexpr Mat Zero(); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat RotationX(U angleRadians); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat RotationY(U angleRadians); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat RotationZ(U angleRadians); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat Scale(const Vec3& scale); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat Translate(const Vec3& translation); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat Rotate(const Quaternion& rotation); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat TRS(const Vec3& translation, const Quaternion& rotation, const Vec3& scale); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat Perspective(U fovYRadians, U aspect, U nearPlane, U farPlane); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat Ortho(U left, U right, U bottom, U top, U nearPlane, U farPlane); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + static constexpr Mat LookAt(const Vec3& eye, const Vec3& target, const Vec3& up); + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3> MultiplyPoint(const Vec3& point) const; + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3> MultiplyVector(const Vec3& vector) const; + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3 ExtractPosition() const; + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3 ExtractScale() const; + + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Quaternion ExtractRotation() const; }; template @@ -126,6 +192,16 @@ export namespace Nexus { template constexpr Mat MatCastLayout(const Mat& mat); + template + constexpr auto operator*(const Mat& mat, const Vec& vec) + -> Vec, RowCount>; + + template + constexpr T ToRadians(T degrees); + + template + constexpr bool ValidTRS(const Mat& mat); + template using MatRowMajor = Mat; diff --git a/Source/Engine/Core/Math/Public/Mat/Mat.inl b/Source/Engine/Core/Math/Public/Mat/Mat.inl index a2e46e6..deeea7d 100644 --- a/Source/Engine/Core/Math/Public/Mat/Mat.inl +++ b/Source/Engine/Core/Math/Public/Mat/Mat.inl @@ -285,6 +285,299 @@ namespace Nexus { return result; } + template + template + requires(R == RowCount && C == ColCount) + constexpr Mat Mat::Zero() { + return Mat{}; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat Mat::RotationX(U angleRadians) { + const U s = std::sin(angleRadians); + const U c = std::cos(angleRadians); + + Mat result = Identity(); + result[1, 1] = static_cast(c); + result[1, 2] = static_cast(-s); + result[2, 1] = static_cast(s); + result[2, 2] = static_cast(c); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat Mat::RotationY(U angleRadians) { + const U s = std::sin(angleRadians); + const U c = std::cos(angleRadians); + + Mat result = Identity(); + result[0, 0] = static_cast(c); + result[0, 2] = static_cast(s); + result[2, 0] = static_cast(-s); + result[2, 2] = static_cast(c); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat Mat::RotationZ(U angleRadians) { + const U s = std::sin(angleRadians); + const U c = std::cos(angleRadians); + + Mat result = Identity(); + result[0, 0] = static_cast(c); + result[0, 1] = static_cast(-s); + result[1, 0] = static_cast(s); + result[1, 1] = static_cast(c); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat Mat::Scale(const Vec3& scale) { + Mat result = Identity(); + result[0, 0] = static_cast(scale[0]); + result[1, 1] = static_cast(scale[1]); + result[2, 2] = static_cast(scale[2]); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat + Mat::Translate(const Vec3& translation) { + Mat result = Identity(); + result[0, 3] = static_cast(translation[0]); + result[1, 3] = static_cast(translation[1]); + result[2, 3] = static_cast(translation[2]); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat + Mat::Rotate(const Quaternion& rotation) { + const U x = rotation.X(); + const U y = rotation.Y(); + const U z = rotation.Z(); + const U w = rotation.W(); + + const U xx = x * x; + const U yy = y * y; + const U zz = z * z; + const U xy = x * y; + const U xz = x * z; + const U yz = y * z; + const U wx = w * x; + const U wy = w * y; + const U wz = w * z; + + Mat result = Identity(); + + result[0, 0] = static_cast(U{1} - U{2} * (yy + zz)); + result[0, 1] = static_cast(U{2} * (xy - wz)); + result[0, 2] = static_cast(U{2} * (xz + wy)); + + result[1, 0] = static_cast(U{2} * (xy + wz)); + result[1, 1] = static_cast(U{1} - U{2} * (xx + zz)); + result[1, 2] = static_cast(U{2} * (yz - wx)); + + result[2, 0] = static_cast(U{2} * (xz - wy)); + result[2, 1] = static_cast(U{2} * (yz + wx)); + result[2, 2] = static_cast(U{1} - U{2} * (xx + yy)); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat Mat::TRS(const Vec3& translation, + const Quaternion& rotation, + const Vec3& scale) { + return Translate(translation) * Rotate(rotation) * Mat::Scale(scale); + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat + Mat::Perspective(U fovYRadians, U aspect, U nearPlane, U farPlane) { + const U tanHalfFovY = std::tan(fovYRadians * U{0.5}); + + Mat result = Zero(); + + result[0, 0] = static_cast(U{1} / (aspect * tanHalfFovY)); + result[1, 1] = static_cast(U{1} / tanHalfFovY); + result[2, 2] = static_cast(-(farPlane + nearPlane) / (farPlane - nearPlane)); + result[2, 3] = static_cast(-(U{2} * farPlane * nearPlane) / (farPlane - nearPlane)); + result[3, 2] = static_cast(-U{1}); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat + Mat::Ortho(U left, U right, U bottom, U top, U nearPlane, U farPlane) { + Mat result = Identity(); + + result[0, 0] = static_cast(U{2} / (right - left)); + result[1, 1] = static_cast(U{2} / (top - bottom)); + result[2, 2] = static_cast(-U{2} / (farPlane - nearPlane)); + result[0, 3] = static_cast(-(right + left) / (right - left)); + result[1, 3] = static_cast(-(top + bottom) / (top - bottom)); + result[2, 3] = static_cast(-(farPlane + nearPlane) / (farPlane - nearPlane)); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Mat + Mat::LookAt(const Vec3& eye, const Vec3& target, const Vec3& up) { + const Vec3 forward = (target - eye).Normalized(); + const Vec3 right = Cross(forward, up).Normalized(); + const Vec3 trueUp = Cross(right, forward); + + Mat result = Identity(); + + result[0, 0] = static_cast(right[0]); + result[0, 1] = static_cast(right[1]); + result[0, 2] = static_cast(right[2]); + + result[1, 0] = static_cast(trueUp[0]); + result[1, 1] = static_cast(trueUp[1]); + result[1, 2] = static_cast(trueUp[2]); + + result[2, 0] = static_cast(-forward[0]); + result[2, 1] = static_cast(-forward[1]); + result[2, 2] = static_cast(-forward[2]); + + result[0, 3] = static_cast(-Dot(right, eye)); + result[1, 3] = static_cast(-Dot(trueUp, eye)); + result[2, 3] = static_cast(Dot(forward, eye)); + + return result; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3> + Mat::MultiplyPoint(const Vec3& point) const { + using Result = std::common_type_t; + + const Result x = static_cast((*this)[0, 0]) * static_cast(point[0]) + + static_cast((*this)[0, 1]) * static_cast(point[1]) + + static_cast((*this)[0, 2]) * static_cast(point[2]) + + static_cast((*this)[0, 3]); + const Result y = static_cast((*this)[1, 0]) * static_cast(point[0]) + + static_cast((*this)[1, 1]) * static_cast(point[1]) + + static_cast((*this)[1, 2]) * static_cast(point[2]) + + static_cast((*this)[1, 3]); + const Result z = static_cast((*this)[2, 0]) * static_cast(point[0]) + + static_cast((*this)[2, 1]) * static_cast(point[1]) + + static_cast((*this)[2, 2]) * static_cast(point[2]) + + static_cast((*this)[2, 3]); + + return Vec3{x, y, z}; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3> + Mat::MultiplyVector(const Vec3& vector) const { + using Result = std::common_type_t; + + const Result x = static_cast((*this)[0, 0]) * static_cast(vector[0]) + + static_cast((*this)[0, 1]) * static_cast(vector[1]) + + static_cast((*this)[0, 2]) * static_cast(vector[2]); + const Result y = static_cast((*this)[1, 0]) * static_cast(vector[0]) + + static_cast((*this)[1, 1]) * static_cast(vector[1]) + + static_cast((*this)[1, 2]) * static_cast(vector[2]); + const Result z = static_cast((*this)[2, 0]) * static_cast(vector[0]) + + static_cast((*this)[2, 1]) * static_cast(vector[1]) + + static_cast((*this)[2, 2]) * static_cast(vector[2]); + + return Vec3{x, y, z}; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3 Mat::ExtractPosition() const { + return Vec3{(*this)[0, 3], (*this)[1, 3], (*this)[2, 3]}; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Vec3 Mat::ExtractScale() const { + const Vec3 col0{(*this)[0, 0], (*this)[1, 0], (*this)[2, 0]}; + const Vec3 col1{(*this)[0, 1], (*this)[1, 1], (*this)[2, 1]}; + const Vec3 col2{(*this)[0, 2], (*this)[1, 2], (*this)[2, 2]}; + + return Vec3{col0.Length(), col1.Length(), col2.Length()}; + } + + template + template + requires(R == RowCount && C == ColCount && R == 4 && C == 4) + constexpr Quaternion Mat::ExtractRotation() const { + const Vec3 scale = ExtractScale(); + + const T sx = scale[0] != T{0} ? scale[0] : T{1}; + const T sy = scale[1] != T{0} ? scale[1] : T{1}; + const T sz = scale[2] != T{0} ? scale[2] : T{1}; + + const T m00 = (*this)[0, 0] / sx; + const T m10 = (*this)[1, 0] / sx; + const T m20 = (*this)[2, 0] / sx; + const T m01 = (*this)[0, 1] / sy; + const T m11 = (*this)[1, 1] / sy; + const T m21 = (*this)[2, 1] / sy; + const T m02 = (*this)[0, 2] / sz; + const T m12 = (*this)[1, 2] / sz; + const T m22 = (*this)[2, 2] / sz; + + const T trace = m00 + m11 + m22; + + if (trace > T{0}) { + const T s = std::sqrt(trace + T{1}) * T{2}; + return Quaternion((m21 - m12) / s, (m02 - m20) / s, (m10 - m01) / s, s * T{0.25}); + } + + if (m00 > m11 && m00 > m22) { + const T s = std::sqrt(T{1} + m00 - m11 - m22) * T{2}; + return Quaternion(s * T{0.25}, (m01 + m10) / s, (m02 + m20) / s, (m21 - m12) / s); + } + + if (m11 > m22) { + const T s = std::sqrt(T{1} + m11 - m00 - m22) * T{2}; + return Quaternion((m01 + m10) / s, s * T{0.25}, (m12 + m21) / s, (m02 - m20) / s); + } + + const T s = std::sqrt(T{1} + m22 - m00 - m11) * T{2}; + return Quaternion((m02 + m20) / s, (m12 + m21) / s, s * T{0.25}, (m10 - m01) / s); + } + template constexpr auto operator+(const Mat& a, const Mat& b) -> MatCommon { @@ -390,6 +683,58 @@ namespace Nexus { return result; } + template + constexpr auto operator*(const Mat& mat, const Vec& vec) + -> Vec, RowCount> { + using R = std::common_type_t; + + Vec result; + + for (usize row = 0; row < RowCount; ++row) { + R value{}; + + for (usize col = 0; col < ColCount; ++col) { + value += static_cast(mat[row, col]) * static_cast(vec[col]); + } + + result[row] = value; + } + + return result; + } + + template + constexpr T ToRadians(T degrees) { + return degrees * (std::numbers::pi_v / T{180}); + } + + template + constexpr bool ValidTRS(const Mat& mat) { + if constexpr (RowCount != 4 || ColCount != 4) { + return false; + } else { + constexpr T kEpsilon = static_cast(1e-5); + + if (mat[3, 0] != T{} || mat[3, 1] != T{} || mat[3, 2] != T{}) { + return false; + } + + if (mat[3, 3] < T{1} - kEpsilon || mat[3, 3] > T{1} + kEpsilon) { + return false; + } + + const Vec3 col0{mat[0, 0], mat[1, 0], mat[2, 0]}; + const Vec3 col1{mat[0, 1], mat[1, 1], mat[2, 1]}; + const Vec3 col2{mat[0, 2], mat[1, 2], mat[2, 2]}; + + if (col0.Length() <= T{} || col1.Length() <= T{} || col2.Length() <= T{}) { + return false; + } + + return true; + } + } + } // namespace Nexus template diff --git a/Source/Engine/Core/Math/Public/Quaternion/Quaternion.cppm b/Source/Engine/Core/Math/Public/Quaternion/Quaternion.cppm index 29747de..f630cbb 100644 --- a/Source/Engine/Core/Math/Public/Quaternion/Quaternion.cppm +++ b/Source/Engine/Core/Math/Public/Quaternion/Quaternion.cppm @@ -42,6 +42,12 @@ export namespace Nexus { template static constexpr Quaternion FromAxisAngle(const Vec3& axis, U angleRadians); + template + static constexpr Quaternion FromToRotation(const Vec3& from, const Vec3& to); + + template + static constexpr Quaternion LookRotation(const Vec3& forward, const Vec3& up); + constexpr T& X(); constexpr const T& X() const; @@ -96,6 +102,8 @@ export namespace Nexus { constexpr T Pitch() const; constexpr T Yaw() const; constexpr T Roll() const; + + constexpr void ToAxisAngle(Vec3& outAxis, T& outAngleRadians) const; }; template @@ -131,6 +139,18 @@ export namespace Nexus { template constexpr Quaternion Slerp(const Quaternion& a, const Quaternion& b, T t); + template + constexpr Quaternion LerpUnclamped(const Quaternion& a, const Quaternion& b, T t); + + template + constexpr Quaternion SlerpUnclamped(const Quaternion& a, const Quaternion& b, T t); + + template + constexpr T Angle(const Quaternion& a, const Quaternion& b); + + template + constexpr Quaternion RotateTowards(const Quaternion& from, const Quaternion& to, T maxAngleRadians); + using Quaternionf = Quaternion; using Quaterniond = Quaternion; } // namespace Nexus diff --git a/Source/Engine/Core/Math/Public/Quaternion/Quaternion.inl b/Source/Engine/Core/Math/Public/Quaternion/Quaternion.inl index 449bfd7..4022830 100644 --- a/Source/Engine/Core/Math/Public/Quaternion/Quaternion.inl +++ b/Source/Engine/Core/Math/Public/Quaternion/Quaternion.inl @@ -59,6 +59,73 @@ namespace Nexus { static_cast(normalizedAxis[2] * s), static_cast(c)); } + template + template + constexpr Quaternion Quaternion::FromToRotation(const Vec3& from, const Vec3& to) { + const Vec3 nFrom = from.Normalized(); + const Vec3 nTo = to.Normalized(); + + const U cosAngle = Dot(nFrom, nTo); + + if (cosAngle > U{1} - static_cast(1e-6)) { + return Identity(); + } + + if (cosAngle < U{-1} + static_cast(1e-6)) { + Vec3 axis = Cross(Vec3{U{1}, U{0}, U{0}}, nFrom); + + if (axis.LengthSquared() < static_cast(1e-12)) { + axis = Cross(Vec3{U{0}, U{1}, U{0}}, nFrom); + } + + return FromAxisAngle(axis.Normalized(), std::numbers::pi_v); + } + + const Vec3 axis = Cross(nFrom, nTo); + const U s = std::sqrt((U{1} + cosAngle) * U{2}); + const U invS = U{1} / s; + + return Quaternion(static_cast(axis[0] * invS), static_cast(axis[1] * invS), + static_cast(axis[2] * invS), static_cast(s * U{0.5})) + .Normalized(); + } + + template + template + constexpr Quaternion Quaternion::LookRotation(const Vec3& forward, const Vec3& up) { + const Vec3 f = forward.Normalized(); + const Vec3 right = Cross(up, f).Normalized(); + const Vec3 trueUp = Cross(f, right); + + const U m00 = right[0], m01 = trueUp[0], m02 = f[0]; + const U m10 = right[1], m11 = trueUp[1], m12 = f[1]; + const U m20 = right[2], m21 = trueUp[2], m22 = f[2]; + + const U trace = m00 + m11 + m22; + + if (trace > U{0}) { + const U s = std::sqrt(trace + U{1}) * U{2}; + return Quaternion(static_cast((m21 - m12) / s), static_cast((m02 - m20) / s), + static_cast((m10 - m01) / s), static_cast(s * U{0.25})); + } + + if (m00 > m11 && m00 > m22) { + const U s = std::sqrt(U{1} + m00 - m11 - m22) * U{2}; + return Quaternion(static_cast(s * U{0.25}), static_cast((m01 + m10) / s), + static_cast((m02 + m20) / s), static_cast((m21 - m12) / s)); + } + + if (m11 > m22) { + const U s = std::sqrt(U{1} + m11 - m00 - m22) * U{2}; + return Quaternion(static_cast((m01 + m10) / s), static_cast(s * U{0.25}), + static_cast((m12 + m21) / s), static_cast((m02 - m20) / s)); + } + + const U s = std::sqrt(U{1} + m22 - m00 - m11) * U{2}; + return Quaternion(static_cast((m02 + m20) / s), static_cast((m12 + m21) / s), static_cast(s * U{0.25}), + static_cast((m10 - m01) / s)); + } + template constexpr T& Quaternion::X() { return m_x; @@ -281,6 +348,22 @@ namespace Nexus { return std::atan2(sinRoll, cosRoll); } + template + constexpr void Quaternion::ToAxisAngle(Vec3& outAxis, T& outAngleRadians) const { + const Quaternion normalized = Normalized(); + const T clampedW = normalized.m_w < T{-1} ? T{-1} : (normalized.m_w > T{1} ? T{1} : normalized.m_w); + + outAngleRadians = T{2} * std::acos(clampedW); + + const T s = std::sqrt(T{1} - clampedW * clampedW); + + if (s < static_cast(1e-6)) { + outAxis = Vec3{T{1}, T{0}, T{0}}; + } else { + outAxis = Vec3{normalized.m_x / s, normalized.m_y / s, normalized.m_z / s}; + } + } + template constexpr auto operator+(const Quaternion& a, const Quaternion& b) -> QuaternionCommon { using R = std::common_type_t; @@ -352,12 +435,18 @@ namespace Nexus { } template - constexpr Quaternion Lerp(const Quaternion& a, const Quaternion& b, T t) { + constexpr Quaternion LerpUnclamped(const Quaternion& a, const Quaternion& b, T t) { return (a * (T{1} - t) + b * t).Normalized(); } template - constexpr Quaternion Slerp(const Quaternion& a, const Quaternion& b, T t) { + constexpr Quaternion Lerp(const Quaternion& a, const Quaternion& b, T t) { + const T clampedT = t < T{0} ? T{0} : (t > T{1} ? T{1} : t); + return LerpUnclamped(a, b, clampedT); + } + + template + constexpr Quaternion SlerpUnclamped(const Quaternion& a, const Quaternion& b, T t) { Quaternion end = b; T cosOmega = Dot(a, b); @@ -369,7 +458,7 @@ namespace Nexus { constexpr T kEpsilon = static_cast(1e-6); if (cosOmega > T{1} - kEpsilon) { - return Lerp(a, end, t); + return LerpUnclamped(a, end, t); } const T omega = std::acos(cosOmega); @@ -381,6 +470,37 @@ namespace Nexus { return (a * scaleA) + (end * scaleB); } + template + constexpr Quaternion Slerp(const Quaternion& a, const Quaternion& b, T t) { + const T clampedT = t < T{0} ? T{0} : (t > T{1} ? T{1} : t); + return SlerpUnclamped(a, b, clampedT); + } + + template + constexpr T Angle(const Quaternion& a, const Quaternion& b) { + const T cosHalfAngle = Dot(a, b); + const T clamped = cosHalfAngle < T{-1} ? T{-1} : (cosHalfAngle > T{1} ? T{1} : cosHalfAngle); + + return T{2} * std::acos(std::abs(clamped)); + } + + template + constexpr Quaternion RotateTowards(const Quaternion& from, const Quaternion& to, T maxAngleRadians) { + const T angle = Angle(from, to); + + if (angle <= T{0}) { + return to; + } + + const T t = maxAngleRadians / angle; + + if (t >= T{1}) { + return to; + } + + return SlerpUnclamped(from, to, t); + } + } // namespace Nexus template diff --git a/Source/Engine/Core/Math/Public/Vec/Vec.cppm b/Source/Engine/Core/Math/Public/Vec/Vec.cppm index 42de4b3..af88978 100644 --- a/Source/Engine/Core/Math/Public/Vec/Vec.cppm +++ b/Source/Engine/Core/Math/Public/Vec/Vec.cppm @@ -60,6 +60,12 @@ export namespace Nexus { constexpr Vec operator+() const; constexpr Vec operator-() const; + + constexpr T LengthSquared() const; + constexpr T Length() const; + + constexpr Vec Normalized() const; + constexpr void Normalize(); }; template @@ -86,6 +92,40 @@ export namespace Nexus { template constexpr auto operator/(const Vec& v, U scalar) -> VecCommon; + template + constexpr auto Dot(const Vec& a, const Vec& b) -> std::common_type_t; + + template + constexpr auto Cross(const Vec& a, const Vec& b) -> VecCommon; + + template + constexpr auto Distance(const Vec& a, const Vec& b) -> std::common_type_t; + + template + constexpr auto Lerp(const Vec& a, const Vec& b, V t) -> VecCommon; + + template + constexpr auto Scale(const Vec& a, const Vec& b) -> VecCommon; + + template + constexpr auto Min(const Vec& a, const Vec& b) -> VecCommon; + + template + constexpr auto Max(const Vec& a, const Vec& b) -> VecCommon; + + template + constexpr auto MoveTowards(const Vec& current, const Vec& target, V maxDistanceDelta) + -> VecCommon; + + template + constexpr auto Reflect(const Vec& v, const Vec& normal) -> VecCommon; + + template + constexpr auto Angle(const Vec& a, const Vec& b) -> std::common_type_t; + + template + constexpr Vec Perpendicular(const Vec& v); + template using Vec2 = Vec; diff --git a/Source/Engine/Core/Math/Public/Vec/Vec.inl b/Source/Engine/Core/Math/Public/Vec/Vec.inl index 9d517ac..b637967 100644 --- a/Source/Engine/Core/Math/Public/Vec/Vec.inl +++ b/Source/Engine/Core/Math/Public/Vec/Vec.inl @@ -122,6 +122,38 @@ namespace Nexus { return result; } + template + constexpr T Vec::LengthSquared() const { + T result{}; + + for (size_type i = 0; i < N; ++i) { + result += (*this)[i] * (*this)[i]; + } + + return result; + } + + template + constexpr T Vec::Length() const { + return static_cast(std::sqrt(static_cast(LengthSquared()))); + } + + template + constexpr Vec Vec::Normalized() const { + const T length = Length(); + + if (length <= T{0}) { + return *this; + } + + return *this * (T{1} / length); + } + + template + constexpr void Vec::Normalize() { + *this = Normalized(); + } + template constexpr auto operator+(const Vec& a, const Vec& b) -> VecCommon { using R = std::common_type_t; @@ -205,6 +237,155 @@ namespace Nexus { return result; } + template + constexpr auto Dot(const Vec& a, const Vec& b) -> std::common_type_t { + using R = std::common_type_t; + + R result{}; + + for (usize i = 0; i < N; ++i) { + result += static_cast(a[i]) * static_cast(b[i]); + } + + return result; + } + + template + constexpr auto Cross(const Vec& a, const Vec& b) -> VecCommon { + using R = std::common_type_t; + + return VecCommon{ + static_cast(a[1]) * static_cast(b[2]) - static_cast(a[2]) * static_cast(b[1]), + static_cast(a[2]) * static_cast(b[0]) - static_cast(a[0]) * static_cast(b[2]), + static_cast(a[0]) * static_cast(b[1]) - static_cast(a[1]) * static_cast(b[0])}; + } + + template + constexpr auto Distance(const Vec& a, const Vec& b) -> std::common_type_t { + return (a - b).Length(); + } + + template + constexpr auto Lerp(const Vec& a, const Vec& b, V t) -> VecCommon { + using R = std::common_type_t; + + VecCommon result; + + for (usize i = 0; i < N; ++i) { + const R av = static_cast(a[i]); + const R bv = static_cast(b[i]); + result[i] = av + (bv - av) * static_cast(t); + } + + return result; + } + + template + constexpr auto Scale(const Vec& a, const Vec& b) -> VecCommon { + return a * b; + } + + template + constexpr auto Min(const Vec& a, const Vec& b) -> VecCommon { + using R = std::common_type_t; + + VecCommon result; + + for (usize i = 0; i < N; ++i) { + const R av = static_cast(a[i]); + const R bv = static_cast(b[i]); + result[i] = av < bv ? av : bv; + } + + return result; + } + + template + constexpr auto Max(const Vec& a, const Vec& b) -> VecCommon { + using R = std::common_type_t; + + VecCommon result; + + for (usize i = 0; i < N; ++i) { + const R av = static_cast(a[i]); + const R bv = static_cast(b[i]); + result[i] = av > bv ? av : bv; + } + + return result; + } + + template + constexpr auto MoveTowards(const Vec& current, const Vec& target, V maxDistanceDelta) + -> VecCommon { + using R = std::common_type_t; + + const VecCommon delta = target - current; + const R distance = delta.Length(); + + if (distance <= static_cast(maxDistanceDelta) || distance <= R{0}) { + VecCommon result; + + for (usize i = 0; i < N; ++i) { + result[i] = static_cast(target[i]); + } + + return result; + } + + VecCommon result; + + for (usize i = 0; i < N; ++i) { + result[i] = static_cast(current[i]) + delta[i] * (static_cast(maxDistanceDelta) / distance); + } + + return result; + } + + template + constexpr auto Reflect(const Vec& v, const Vec& normal) -> VecCommon { + using R = std::common_type_t; + + VecCommon result; + const R factor = R{2} * Dot(v, normal); + + for (usize i = 0; i < N; ++i) { + result[i] = static_cast(v[i]) - static_cast(normal[i]) * factor; + } + + return result; + } + + template + constexpr auto Angle(const Vec& a, const Vec& b) -> std::common_type_t { + using R = std::common_type_t; + + R lengthSquaredA{}; + R lengthSquaredB{}; + + for (usize i = 0; i < N; ++i) { + lengthSquaredA += static_cast(a[i]) * static_cast(a[i]); + lengthSquaredB += static_cast(b[i]) * static_cast(b[i]); + } + + const R denom = static_cast(std::sqrt(static_cast(lengthSquaredA))) * + static_cast(std::sqrt(static_cast(lengthSquaredB))); + + if (denom <= R{0}) { + return R{0}; + } + + R cosAngle = Dot(a, b) / denom; + cosAngle = cosAngle < R{-1} ? R{-1} : (cosAngle > R{1} ? R{1} : cosAngle); + + return static_cast(std::acos(static_cast(cosAngle))); + } + + template + constexpr Vec Perpendicular(const Vec& v) { + return Vec{-v[1], v[0]}; + } + } // namespace Nexus template From a47d1edeeb631cdcc70030dea4ce5ea409f074de Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 22:57:55 +0200 Subject: [PATCH 10/25] Update math library tests. Signed-off-by: Dylan Hollemaert --- Tests/Engine/Core/Math/Mat.cpp | 367 ++++++++++++++++++++++++++ Tests/Engine/Core/Math/Quaternion.cpp | 208 +++++++++++++++ Tests/Engine/Core/Math/Vec.cpp | 362 +++++++++++++++++++++++++ 3 files changed, 937 insertions(+) diff --git a/Tests/Engine/Core/Math/Mat.cpp b/Tests/Engine/Core/Math/Mat.cpp index ffb5421..7b032fe 100644 --- a/Tests/Engine/Core/Math/Mat.cpp +++ b/Tests/Engine/Core/Math/Mat.cpp @@ -4,11 +4,24 @@ import NE.Engine.Core.Types; import NE.Engine.Math.Mat; +import NE.Engine.Math.Vec; +import NE.Engine.Math.Quaternion; import std; using namespace Nexus; +namespace { + constexpr float32 kPi = std::numbers::pi_v; + + template + void ExpectNear(const Vec3& a, const Vec3& b, T tolerance = static_cast(1e-4)) { + EXPECT_NEAR(a[0], b[0], tolerance); + EXPECT_NEAR(a[1], b[1], tolerance); + EXPECT_NEAR(a[2], b[2], tolerance); + } +} // namespace + // ========================================================================= // Construction // ========================================================================= @@ -558,6 +571,360 @@ TEST(MatTest, SingularMatrixInverse) { EXPECT_TRUE(inverse == b); } +// ========================================================================= +// Zero +// ========================================================================= + +TEST(MatTest, Zero) { + constexpr auto mat = Mat4f::Zero(); + + for (usize row = 0; row < 4; ++row) { + for (usize col = 0; col < 4; ++col) { + EXPECT_FLOAT_EQ((mat[row, col]), 0.0f); + } + } +} + +// ========================================================================= +// Rotation factories +// ========================================================================= + +TEST(MatTest, RotationXRotatesYIntoZ) { + const Mat4f rot = Mat4f::RotationX(kPi / 2.0f); + constexpr Vec3f v{0.0f, 1.0f, 0.0f}; + + const Vec3f result = rot.MultiplyVector(v); + + ExpectNear(result, Vec3f{0.0f, 0.0f, 1.0f}); +} + +TEST(MatTest, RotationYRotatesZIntoX) { + const Mat4f rot = Mat4f::RotationY(kPi / 2.0f); + constexpr Vec3f v{0.0f, 0.0f, 1.0f}; + + const Vec3f result = rot.MultiplyVector(v); + + ExpectNear(result, Vec3f{1.0f, 0.0f, 0.0f}); +} + +TEST(MatTest, RotationZRotatesXIntoY) { + const Mat4f rot = Mat4f::RotationZ(kPi / 2.0f); + constexpr Vec3f v{1.0f, 0.0f, 0.0f}; + + const Vec3f result = rot.MultiplyVector(v); + + ExpectNear(result, Vec3f{0.0f, 1.0f, 0.0f}); +} + +TEST(MatTest, RotationXByZeroIsIdentity) { + const Mat4f rot = Mat4f::RotationX(0.0f); + const Mat4f identity = Mat4f::Identity(); + + for (usize row = 0; row < 4; ++row) { + for (usize col = 0; col < 4; ++col) { + EXPECT_NEAR((rot[row, col]), (identity[row, col]), 1e-6f); + } + } +} + +// ========================================================================= +// Scale / Translate factories +// ========================================================================= + +TEST(MatTest, ScaleFactoryScalesPoint) { + const Mat4f mat = Mat4f::Scale(Vec3f{2.0f, 3.0f, 4.0f}); + constexpr Vec3f point{1.0f, 1.0f, 1.0f}; + + const Vec3f result = mat.MultiplyPoint(point); + + ExpectNear(result, Vec3f{2.0f, 3.0f, 4.0f}); +} + +TEST(MatTest, TranslateFactoryTranslatesPoint) { + const Mat4f mat = Mat4f::Translate(Vec3f{1.0f, 2.0f, 3.0f}); + constexpr Vec3f point{0.0f, 0.0f, 0.0f}; + + const Vec3f result = mat.MultiplyPoint(point); + + ExpectNear(result, Vec3f{1.0f, 2.0f, 3.0f}); +} + +TEST(MatTest, TranslateFactoryDoesNotAffectVector) { + const Mat4f mat = Mat4f::Translate(Vec3f{1.0f, 2.0f, 3.0f}); + constexpr Vec3f direction{5.0f, 0.0f, 0.0f}; + + const Vec3f result = mat.MultiplyVector(direction); + + ExpectNear(result, direction); +} + +// ========================================================================= +// Rotate (from quaternion) +// ========================================================================= + +TEST(MatTest, RotateMatchesQuaternionRotateVector) { + const Quaternionf rotation = Quaternionf::FromAxisAngle(Vec3f{0.0f, 1.0f, 0.0f}, kPi / 3.0f); + const Mat4f mat = Mat4f::Rotate(rotation); + + constexpr Vec3f v{1.0f, 0.0f, 0.0f}; + + ExpectNear(mat.MultiplyVector(v), rotation.RotateVector(v)); +} + +TEST(MatTest, RotateIdentityQuaternionIsIdentityMatrix) { + const Mat4f mat = Mat4f::Rotate(Quaternionf::Identity()); + const Mat4f identity = Mat4f::Identity(); + + for (usize row = 0; row < 4; ++row) { + for (usize col = 0; col < 4; ++col) { + EXPECT_NEAR((mat[row, col]), (identity[row, col]), 1e-6f); + } + } +} + +// ========================================================================= +// TRS +// ========================================================================= + +TEST(MatTest, TRSAppliesScaleRotateTranslateInOrder) { + constexpr Vec3f translation{10.0f, 0.0f, 0.0f}; + const Quaternionf rotation = Quaternionf::Identity(); + constexpr Vec3f scale{2.0f, 1.0f, 1.0f}; + + const Mat4f trs = Mat4f::TRS(translation, rotation, scale); + constexpr Vec3f localPoint{1.0f, 0.0f, 0.0f}; + + const Vec3f worldPoint = trs.MultiplyPoint(localPoint); + + ExpectNear(worldPoint, Vec3f{12.0f, 0.0f, 0.0f}); +} + +TEST(MatTest, TRSWithIdentityComponentsIsIdentity) { + const Mat4f trs = Mat4f::TRS(Vec3f{0.0f, 0.0f, 0.0f}, Quaternionf::Identity(), Vec3f{1.0f, 1.0f, 1.0f}); + const Mat4f identity = Mat4f::Identity(); + + for (usize row = 0; row < 4; ++row) { + for (usize col = 0; col < 4; ++col) { + EXPECT_NEAR((trs[row, col]), (identity[row, col]), 1e-6f); + } + } +} + +// ========================================================================= +// Perspective / Ortho / LookAt +// ========================================================================= + +TEST(MatTest, PerspectiveMapsNearPlaneToNegativeOneNDC) { + const Mat4f persp = Mat4f::Perspective(kPi / 2.0f, 1.0f, 0.1f, 100.0f); + + const Vec4f nearPoint{0.0f, 0.0f, -0.1f, 1.0f}; + const Vec4f clip = persp * nearPoint; + + EXPECT_NEAR(clip[2] / clip[3], -1.0f, 1e-4f); +} + +TEST(MatTest, PerspectiveMapsFarPlaneToPositiveOneNDC) { + const Mat4f persp = Mat4f::Perspective(kPi / 2.0f, 1.0f, 0.1f, 100.0f); + + const Vec4f farPoint{0.0f, 0.0f, -100.0f, 1.0f}; + const Vec4f clip = persp * farPoint; + + EXPECT_NEAR(clip[2] / clip[3], 1.0f, 1e-4f); +} + +TEST(MatTest, OrthoMapsNearPlaneToNegativeOne) { + const Mat4f ortho = Mat4f::Ortho(-1.0f, 1.0f, -1.0f, 1.0f, 0.1f, 100.0f); + + const Vec3f nearPoint{0.0f, 0.0f, -0.1f}; + const Vec3f mapped = ortho.MultiplyPoint(nearPoint); + + EXPECT_NEAR(mapped[2], -1.0f, 1e-4f); +} + +TEST(MatTest, OrthoMapsFarPlaneToPositiveOne) { + const Mat4f ortho = Mat4f::Ortho(-1.0f, 1.0f, -1.0f, 1.0f, 0.1f, 100.0f); + + const Vec3f farPoint{0.0f, 0.0f, -100.0f}; + const Vec3f mapped = ortho.MultiplyPoint(farPoint); + + EXPECT_NEAR(mapped[2], 1.0f, 1e-4f); +} + +TEST(MatTest, OrthoMapsSideBoundsToUnitRange) { + const Mat4f ortho = Mat4f::Ortho(-1.0f, 1.0f, -1.0f, 1.0f, 0.1f, 100.0f); + + const Vec3f corner{1.0f, 1.0f, -0.1f}; + const Vec3f mapped = ortho.MultiplyPoint(corner); + + EXPECT_NEAR(mapped[0], 1.0f, 1e-4f); + EXPECT_NEAR(mapped[1], 1.0f, 1e-4f); +} + +TEST(MatTest, LookAtMapsEyeToOrigin) { + constexpr Vec3f eye{0.0f, 0.0f, 5.0f}; + constexpr Vec3f target{0.0f, 0.0f, 0.0f}; + constexpr Vec3f up{0.0f, 1.0f, 0.0f}; + + const Mat4f lookAt = Mat4f::LookAt(eye, target, up); + const Vec3f eyeInView = lookAt.MultiplyPoint(eye); + + ExpectNear(eyeInView, Vec3f{0.0f, 0.0f, 0.0f}); +} + +TEST(MatTest, LookAtRotationIsOrthonormal) { + constexpr Vec3f eye{0.0f, 0.0f, 5.0f}; + constexpr Vec3f target{0.0f, 0.0f, 0.0f}; + constexpr Vec3f up{0.0f, 1.0f, 0.0f}; + + const Mat4f lookAt = Mat4f::LookAt(eye, target, up); + + const Vec3f r0{lookAt[0, 0], lookAt[0, 1], lookAt[0, 2]}; + const Vec3f r1{lookAt[1, 0], lookAt[1, 1], lookAt[1, 2]}; + const Vec3f r2{lookAt[2, 0], lookAt[2, 1], lookAt[2, 2]}; + + EXPECT_NEAR(r0.Length(), 1.0f, 1e-4f); + EXPECT_NEAR(r1.Length(), 1.0f, 1e-4f); + EXPECT_NEAR(r2.Length(), 1.0f, 1e-4f); + + EXPECT_NEAR(Dot(r0, r1), 0.0f, 1e-4f); + EXPECT_NEAR(Dot(r0, r2), 0.0f, 1e-4f); + EXPECT_NEAR(Dot(r1, r2), 0.0f, 1e-4f); +} + +// ========================================================================= +// MultiplyPoint / MultiplyVector +// ========================================================================= + +TEST(MatTest, MultiplyPointAppliesTranslation) { + const Mat4f mat = Mat4f::Translate(Vec3f{1.0f, 2.0f, 3.0f}); + constexpr Vec3f point{1.0f, 1.0f, 1.0f}; + + const Vec3f result = mat.MultiplyPoint(point); + + ExpectNear(result, Vec3f{2.0f, 3.0f, 4.0f}); +} + +TEST(MatTest, MultiplyVectorIgnoresTranslation) { + const Mat4f mat = Mat4f::Translate(Vec3f{1.0f, 2.0f, 3.0f}); + constexpr Vec3f vector{1.0f, 1.0f, 1.0f}; + + const Vec3f result = mat.MultiplyVector(vector); + + ExpectNear(result, vector); +} + +// ========================================================================= +// Extract Position / Scale / Rotation +// ========================================================================= + +TEST(MatTest, ExtractPositionFromTRS) { + constexpr Vec3f translation{1.0f, 2.0f, 3.0f}; + const Mat4f trs = Mat4f::TRS(translation, Quaternionf::Identity(), Vec3f{1.0f, 1.0f, 1.0f}); + + ExpectNear(trs.ExtractPosition(), translation); +} + +TEST(MatTest, ExtractScaleFromTRS) { + constexpr Vec3f scale{2.0f, 3.0f, 4.0f}; + const Mat4f trs = Mat4f::TRS(Vec3f{0.0f, 0.0f, 0.0f}, Quaternionf::Identity(), scale); + + ExpectNear(trs.ExtractScale(), scale); +} + +TEST(MatTest, ExtractRotationFromTRS) { + const Quaternionf rotation = Quaternionf::FromAxisAngle(Vec3f{0.0f, 1.0f, 0.0f}, kPi / 4.0f); + const Mat4f trs = Mat4f::TRS(Vec3f{0.0f, 0.0f, 0.0f}, rotation, Vec3f{1.0f, 1.0f, 1.0f}); + + const Quaternionf extracted = trs.ExtractRotation(); + + EXPECT_NEAR(extracted.X(), rotation.X(), 1e-4f); + EXPECT_NEAR(extracted.Y(), rotation.Y(), 1e-4f); + EXPECT_NEAR(extracted.Z(), rotation.Z(), 1e-4f); + EXPECT_NEAR(extracted.W(), rotation.W(), 1e-4f); +} + +TEST(MatTest, ExtractRoundTripsFullTRS) { + constexpr Vec3f translation{5.0f, -2.0f, 1.0f}; + const Quaternionf rotation = Quaternionf::FromAxisAngle(Vec3f{1.0f, 0.0f, 0.0f}, kPi / 6.0f); + constexpr Vec3f scale{2.0f, 1.0f, 3.0f}; + + const Mat4f trs = Mat4f::TRS(translation, rotation, scale); + + ExpectNear(trs.ExtractPosition(), translation); + ExpectNear(trs.ExtractScale(), scale); +} + +// ========================================================================= +// Matrix-vector multiplication +// ========================================================================= + +TEST(MatTest, IdentityTimesVectorIsUnchanged) { + const Mat4f identity = Mat4f::Identity(); + constexpr Vec4f v{1.0f, 2.0f, 3.0f, 1.0f}; + + const Vec4f result = identity * v; + + EXPECT_FLOAT_EQ(result[0], 1.0f); + EXPECT_FLOAT_EQ(result[1], 2.0f); + EXPECT_FLOAT_EQ(result[2], 3.0f); + EXPECT_FLOAT_EQ(result[3], 1.0f); +} + +TEST(MatTest, MatrixTimesVectorAppliesTransform) { + const Mat4f translate = Mat4f::Translate(Vec3f{1.0f, 2.0f, 3.0f}); + constexpr Vec4f v{0.0f, 0.0f, 0.0f, 1.0f}; + + const Vec4f result = translate * v; + + EXPECT_FLOAT_EQ(result[0], 1.0f); + EXPECT_FLOAT_EQ(result[1], 2.0f); + EXPECT_FLOAT_EQ(result[2], 3.0f); + EXPECT_FLOAT_EQ(result[3], 1.0f); +} + +// ========================================================================= +// ToRadians +// ========================================================================= + +TEST(MatTest, ToRadiansZero) { + EXPECT_FLOAT_EQ(ToRadians(0.0f), 0.0f); +} + +TEST(MatTest, ToRadiansOneEighty) { + EXPECT_FLOAT_EQ(ToRadians(180.0f), kPi); +} + +TEST(MatTest, ToRadiansNinety) { + EXPECT_NEAR(ToRadians(90.0f), kPi / 2.0f, 1e-5f); +} + +// ========================================================================= +// ValidTRS +// ========================================================================= + +TEST(MatTest, ValidTRSAcceptsIdentity) { + EXPECT_TRUE(ValidTRS(Mat4f::Identity())); +} + +TEST(MatTest, ValidTRSAcceptsProperTRS) { + const Mat4f trs = + Mat4f::TRS(Vec3f{1.0f, 2.0f, 3.0f}, Quaternionf::FromAxisAngle(Vec3f{0.0f, 1.0f, 0.0f}, kPi / 4.0f), + Vec3f{2.0f, 2.0f, 2.0f}); + + EXPECT_TRUE(ValidTRS(trs)); +} + +TEST(MatTest, ValidTRSRejectsZeroMatrix) { + EXPECT_FALSE(ValidTRS(Mat4f::Zero())); +} + +TEST(MatTest, ValidTRSRejectsNonAffineBottomRow) { + Mat4f mat = Mat4f::Identity(); + mat[3, 0] = 1.0f; + + EXPECT_FALSE(ValidTRS(mat)); +} + // ========================================================================= // Layout // ========================================================================= diff --git a/Tests/Engine/Core/Math/Quaternion.cpp b/Tests/Engine/Core/Math/Quaternion.cpp index 63a853d..29d548b 100644 --- a/Tests/Engine/Core/Math/Quaternion.cpp +++ b/Tests/Engine/Core/Math/Quaternion.cpp @@ -119,6 +119,82 @@ TEST(QuaternionTest, MixedValueTypes) { EXPECT_DOUBLE_EQ(q.W(), 4.0); } +// ========================================================================= +// FromToRotation +// ========================================================================= + +TEST(QuaternionTest, FromToRotationIdenticalVectors) { + constexpr Vec3 v{1.0f, 0.0f, 0.0f}; + + const Quaternion q = Quaternion::FromToRotation(v, v); + + ExpectNear(q, Quaternion::Identity()); +} + +TEST(QuaternionTest, FromToRotationOpposingVectors) { + constexpr Vec3 from{1.0f, 0.0f, 0.0f}; + constexpr Vec3 to{-1.0f, 0.0f, 0.0f}; + + const Quaternion q = Quaternion::FromToRotation(from, to); + + EXPECT_NEAR(q.Length(), 1.0f, 1e-4f); + + const Vec3 rotated = q.RotateVector(from); + + ExpectNear(rotated, to); +} + +TEST(QuaternionTest, FromToRotationRotatesFromOntoTo) { + constexpr Vec3 from{1.0f, 0.0f, 0.0f}; + constexpr Vec3 to{0.0f, 1.0f, 0.0f}; + + const Quaternion q = Quaternion::FromToRotation(from, to); + const Vec3 rotated = q.RotateVector(from); + + ExpectNear(rotated, to); +} + +TEST(QuaternionTest, FromToRotationIsNormalized) { + constexpr Vec3 from{1.0f, 0.0f, 0.0f}; + constexpr Vec3 to{0.0f, 0.0f, 1.0f}; + + const Quaternion q = Quaternion::FromToRotation(from, to); + + EXPECT_NEAR(q.Length(), 1.0f, 1e-4f); +} + +// ========================================================================= +// LookRotation +// ========================================================================= + +TEST(QuaternionTest, LookRotationIdentityForForwardZ) { + constexpr Vec3 forward{0.0f, 0.0f, 1.0f}; + constexpr Vec3 up{0.0f, 1.0f, 0.0f}; + + const Quaternion q = Quaternion::LookRotation(forward, up); + + ExpectNear(q, Quaternion::Identity()); +} + +TEST(QuaternionTest, LookRotationRotatesForwardVector) { + constexpr Vec3 forward{1.0f, 0.0f, 0.0f}; + constexpr Vec3 up{0.0f, 1.0f, 0.0f}; + + const Quaternion q = Quaternion::LookRotation(forward, up); + const Vec3 rotated = q.RotateVector(Vec3{0.0f, 0.0f, 1.0f}); + + ExpectNear(rotated, forward); +} + +TEST(QuaternionTest, LookRotationIsNormalized) { + constexpr Vec3 forward{0.0f, 0.0f, 1.0f}; + constexpr Vec3 up{0.0f, 1.0f, 0.0f}; + + const Quaternion q = Quaternion::LookRotation(forward, up); + + EXPECT_NEAR(q.Length(), 1.0f, 1e-4f); +} + // ========================================================================= // Access // ========================================================================= @@ -683,6 +759,44 @@ TEST(QuaternionTest, YawClampsAtGimbalLock) { EXPECT_NEAR(q.Yaw(), kPi / 2.0f, 1e-3f); } +// ========================================================================= +// ToAxisAngle +// ========================================================================= + +TEST(QuaternionTest, ToAxisAngleRoundTripsFromAxisAngle) { + constexpr Vec3 axis{0.0f, 1.0f, 0.0f}; + const Quaternion q = Quaternion::FromAxisAngle(axis, kPi / 2.0f); + + Vec3 outAxis; + float32 outAngle{}; + q.ToAxisAngle(outAxis, outAngle); + + ExpectNear(outAxis, axis); + EXPECT_NEAR(outAngle, kPi / 2.0f, 1e-4f); +} + +TEST(QuaternionTest, ToAxisAngleIdentityHasZeroAngle) { + const Quaternion q = Quaternion::Identity(); + + Vec3 outAxis; + float32 outAngle{}; + q.ToAxisAngle(outAxis, outAngle); + + EXPECT_NEAR(outAngle, 0.0f, 1e-4f); +} + +TEST(QuaternionTest, ToAxisAngleFullTurn) { + constexpr Vec3 axis{1.0f, 0.0f, 0.0f}; + const Quaternion q = Quaternion::FromAxisAngle(axis, kPi); + + Vec3 outAxis; + float32 outAngle{}; + q.ToAxisAngle(outAxis, outAngle); + + ExpectNear(outAxis, axis); + EXPECT_NEAR(outAngle, kPi, 1e-4f); +} + // ========================================================================= // Dot / Lerp / Slerp // ========================================================================= @@ -786,6 +900,100 @@ TEST(QuaternionTest, SlerpNearIdenticalQuaternionsFallsBackToLerp) { EXPECT_NEAR(result.Length(), 1.0f, 1e-4f); } +// ========================================================================= +// LerpUnclamped / SlerpUnclamped +// ========================================================================= + +TEST(QuaternionTest, LerpUnclampedMatchesLerpWithinRange) { + const Quaternion a = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, 0.0f); + const Quaternion b = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 2.0f); + + ExpectNear(LerpUnclamped(a, b, 0.5f), Lerp(a, b, 0.5f)); +} + +TEST(QuaternionTest, LerpUnclampedExtrapolatesPastEnd) { + const Quaternion a = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, 0.0f); + const Quaternion b = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 2.0f); + + const Quaternion clamped = Lerp(a, b, 1.5f); + const Quaternion unclamped = LerpUnclamped(a, b, 1.5f); + + EXPECT_NEAR(unclamped.Length(), 1.0f, 1e-4f); + EXPECT_GT(std::abs(unclamped.Z() - clamped.Z()), 1e-4f); +} + +TEST(QuaternionTest, SlerpUnclampedMatchesSlerpWithinRange) { + const Quaternion a = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, 0.0f); + const Quaternion b = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, kPi / 2.0f); + + ExpectNear(SlerpUnclamped(a, b, 0.5f), Slerp(a, b, 0.5f)); +} + +TEST(QuaternionTest, SlerpUnclampedIsNormalizedPastEnd) { + const Quaternion a = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, 0.0f); + const Quaternion b = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, kPi / 2.0f); + + const Quaternion result = SlerpUnclamped(a, b, 1.5f); + + EXPECT_NEAR(result.Length(), 1.0f, 1e-4f); +} + +// ========================================================================= +// Angle +// ========================================================================= + +TEST(QuaternionTest, AngleBetweenIdenticalQuaternionsIsZero) { + const Quaternion q = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, kPi / 3.0f); + + EXPECT_NEAR(Angle(q, q), 0.0f, 1e-4f); +} + +TEST(QuaternionTest, AngleBetweenIdentityAndRotatedQuaternion) { + const Quaternion identity = Quaternion::Identity(); + const Quaternion rotated = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, kPi / 2.0f); + + EXPECT_NEAR(Angle(identity, rotated), kPi / 2.0f, 1e-4f); +} + +TEST(QuaternionTest, AngleIsSignInvariant) { + const Quaternion a = Quaternion::FromAxisAngle(Vec3{0.0f, 1.0f, 0.0f}, kPi / 2.0f); + const Quaternion b = -a; + + // acos loses precision near its domain boundary, so this needs a looser tolerance than usual. + EXPECT_NEAR(Angle(a, b), 0.0f, 1e-2f); +} + +// ========================================================================= +// RotateTowards +// ========================================================================= + +TEST(QuaternionTest, RotateTowardsPartialStep) { + const Quaternion from = Quaternion::Identity(); + const Quaternion to = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 2.0f); + + const Quaternion result = RotateTowards(from, to, kPi / 4.0f); + + EXPECT_NEAR(Angle(from, result), kPi / 4.0f, 1e-3f); +} + +TEST(QuaternionTest, RotateTowardsOvershootClampsToTarget) { + const Quaternion from = Quaternion::Identity(); + const Quaternion to = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 2.0f); + + const Quaternion result = RotateTowards(from, to, kPi); + + ExpectNear(result, to); +} + +TEST(QuaternionTest, RotateTowardsSameRotationReturnsTarget) { + const Quaternion from = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 3.0f); + const Quaternion to = Quaternion::FromAxisAngle(Vec3{0.0f, 0.0f, 1.0f}, kPi / 3.0f); + + const Quaternion result = RotateTowards(from, to, kPi / 4.0f); + + ExpectNear(result, to); +} + // ========================================================================= // Aliases // ========================================================================= diff --git a/Tests/Engine/Core/Math/Vec.cpp b/Tests/Engine/Core/Math/Vec.cpp index 1768baf..0715e6e 100644 --- a/Tests/Engine/Core/Math/Vec.cpp +++ b/Tests/Engine/Core/Math/Vec.cpp @@ -467,6 +467,368 @@ TEST(VecTest, ConstexprArithmetic) { SUCCEED(); } +// ========================================================================= +// Length / Normalize +// ========================================================================= + +TEST(VecTest, LengthSquared) { + constexpr Vec vec{3, 4, 0}; + + EXPECT_EQ(vec.LengthSquared(), 25); +} + +TEST(VecTest, Length) { + const Vec vec{3.0f, 4.0f, 0.0f}; + + EXPECT_FLOAT_EQ(vec.Length(), 5.0f); +} + +TEST(VecTest, LengthOfZeroVector) { + constexpr Vec vec{0.0f, 0.0f, 0.0f}; + + EXPECT_FLOAT_EQ(vec.LengthSquared(), 0.0f); + EXPECT_FLOAT_EQ(vec.Length(), 0.0f); +} + +TEST(VecTest, Normalized) { + const Vec vec{3.0f, 4.0f, 0.0f}; + + const auto result = vec.Normalized(); + + EXPECT_FLOAT_EQ(result.Length(), 1.0f); + EXPECT_FLOAT_EQ(result[0], 0.6f); + EXPECT_FLOAT_EQ(result[1], 0.8f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, NormalizedDoesNotMutate) { + const Vec vec{3.0f, 4.0f, 0.0f}; + + [[maybe_unused]] const auto result = vec.Normalized(); + + EXPECT_FLOAT_EQ(vec[0], 3.0f); + EXPECT_FLOAT_EQ(vec[1], 4.0f); +} + +TEST(VecTest, NormalizedZeroVector) { + constexpr Vec vec{0.0f, 0.0f, 0.0f}; + + const auto result = vec.Normalized(); + + EXPECT_FLOAT_EQ(result[0], 0.0f); + EXPECT_FLOAT_EQ(result[1], 0.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, Normalize) { + Vec vec{3.0f, 4.0f, 0.0f}; + + vec.Normalize(); + + EXPECT_FLOAT_EQ(vec.Length(), 1.0f); + EXPECT_FLOAT_EQ(vec[0], 0.6f); + EXPECT_FLOAT_EQ(vec[1], 0.8f); +} + +// ========================================================================= +// Dot +// ========================================================================= + +TEST(VecTest, Dot) { + constexpr Vec a{1, 2, 3}; + constexpr Vec b{4, 5, 6}; + + EXPECT_EQ(Dot(a, b), 32); +} + +TEST(VecTest, DotOfOrthogonalVectors) { + constexpr Vec a{1, 0, 0}; + constexpr Vec b{0, 1, 0}; + + EXPECT_EQ(Dot(a, b), 0); +} + +TEST(VecTest, DotCommonType) { + constexpr Vec a{1, 2, 3}; + constexpr Vec b{0.5f, 0.5f, 0.5f}; + + constexpr auto result = Dot(a, b); + + static_assert(std::is_same_v); + + EXPECT_FLOAT_EQ(result, 3.0f); +} + +// ========================================================================= +// Cross +// ========================================================================= + +TEST(VecTest, Cross) { + constexpr Vec a{1, 0, 0}; + constexpr Vec b{0, 1, 0}; + + constexpr auto result = Cross(a, b); + + EXPECT_EQ(result[0], 0); + EXPECT_EQ(result[1], 0); + EXPECT_EQ(result[2], 1); +} + +TEST(VecTest, CrossOfParallelVectorsIsZero) { + constexpr Vec a{2, 4, 6}; + constexpr Vec b{1, 2, 3}; + + constexpr auto result = Cross(a, b); + + EXPECT_EQ(result[0], 0); + EXPECT_EQ(result[1], 0); + EXPECT_EQ(result[2], 0); +} + +TEST(VecTest, CrossIsAnticommutative) { + constexpr Vec a{1, 2, 3}; + constexpr Vec b{4, 5, 6}; + + constexpr auto ab = Cross(a, b); + constexpr auto ba = Cross(b, a); + + EXPECT_EQ(ab[0], -ba[0]); + EXPECT_EQ(ab[1], -ba[1]); + EXPECT_EQ(ab[2], -ba[2]); +} + +// ========================================================================= +// Distance +// ========================================================================= + +TEST(VecTest, Distance) { + constexpr Vec a{0.0f, 0.0f, 0.0f}; + constexpr Vec b{3.0f, 4.0f, 0.0f}; + + EXPECT_FLOAT_EQ(Distance(a, b), 5.0f); +} + +TEST(VecTest, DistanceToSelfIsZero) { + constexpr Vec a{1.0f, 2.0f, 3.0f}; + + EXPECT_FLOAT_EQ(Distance(a, a), 0.0f); +} + +TEST(VecTest, DistanceIsSymmetric) { + constexpr Vec a{1.0f, 2.0f, 3.0f}; + constexpr Vec b{4.0f, 6.0f, 3.0f}; + + EXPECT_FLOAT_EQ(Distance(a, b), Distance(b, a)); +} + +// ========================================================================= +// Angle +// ========================================================================= + +TEST(VecTest, AngleBetweenIdenticalVectors) { + constexpr Vec a{1.0f, 0.0f, 0.0f}; + + EXPECT_NEAR(Angle(a, a), 0.0f, 1e-5f); +} + +TEST(VecTest, AngleBetweenPerpendicularVectors) { + constexpr Vec a{1.0f, 0.0f, 0.0f}; + constexpr Vec b{0.0f, 1.0f, 0.0f}; + + EXPECT_NEAR(Angle(a, b), std::numbers::pi_v / 2.0f, 1e-5f); +} + +TEST(VecTest, AngleBetweenOpposingVectors) { + constexpr Vec a{1.0f, 0.0f, 0.0f}; + constexpr Vec b{-1.0f, 0.0f, 0.0f}; + + EXPECT_NEAR(Angle(a, b), std::numbers::pi_v, 1e-5f); +} + +TEST(VecTest, AngleIsScaleInvariant) { + constexpr Vec a{1.0f, 0.0f, 0.0f}; + constexpr Vec b{0.0f, 5.0f, 0.0f}; + + EXPECT_NEAR(Angle(a, b), std::numbers::pi_v / 2.0f, 1e-5f); +} + +// ========================================================================= +// Lerp +// ========================================================================= + +TEST(VecTest, LerpAtStart) { + constexpr Vec a{0.0f, 0.0f, 0.0f}; + constexpr Vec b{10.0f, 20.0f, 30.0f}; + + const auto result = Lerp(a, b, 0.0f); + + EXPECT_FLOAT_EQ(result[0], 0.0f); + EXPECT_FLOAT_EQ(result[1], 0.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, LerpAtEnd) { + constexpr Vec a{0.0f, 0.0f, 0.0f}; + constexpr Vec b{10.0f, 20.0f, 30.0f}; + + const auto result = Lerp(a, b, 1.0f); + + EXPECT_FLOAT_EQ(result[0], 10.0f); + EXPECT_FLOAT_EQ(result[1], 20.0f); + EXPECT_FLOAT_EQ(result[2], 30.0f); +} + +TEST(VecTest, LerpAtMidpoint) { + constexpr Vec a{0.0f, 0.0f, 0.0f}; + constexpr Vec b{10.0f, 20.0f, 30.0f}; + + const auto result = Lerp(a, b, 0.5f); + + EXPECT_FLOAT_EQ(result[0], 5.0f); + EXPECT_FLOAT_EQ(result[1], 10.0f); + EXPECT_FLOAT_EQ(result[2], 15.0f); +} + +// ========================================================================= +// Scale +// ========================================================================= + +TEST(VecTest, Scale) { + constexpr Vec a{2, 3, 4}; + constexpr Vec b{5, 6, 7}; + + constexpr auto result = Scale(a, b); + + EXPECT_EQ(result[0], 10); + EXPECT_EQ(result[1], 18); + EXPECT_EQ(result[2], 28); +} + +TEST(VecTest, ScaleMatchesComponentMultiplication) { + constexpr Vec a{2, 3, 4}; + constexpr Vec b{5, 6, 7}; + + EXPECT_TRUE(Scale(a, b) == (a * b)); +} + +// ========================================================================= +// Min / Max +// ========================================================================= + +TEST(VecTest, Min) { + constexpr Vec a{1, 5, 3}; + constexpr Vec b{4, 2, 6}; + + constexpr auto result = Min(a, b); + + EXPECT_EQ(result[0], 1); + EXPECT_EQ(result[1], 2); + EXPECT_EQ(result[2], 3); +} + +TEST(VecTest, Max) { + constexpr Vec a{1, 5, 3}; + constexpr Vec b{4, 2, 6}; + + constexpr auto result = Max(a, b); + + EXPECT_EQ(result[0], 4); + EXPECT_EQ(result[1], 5); + EXPECT_EQ(result[2], 6); +} + +// ========================================================================= +// MoveTowards +// ========================================================================= + +TEST(VecTest, MoveTowardsPartialStep) { + constexpr Vec current{0.0f, 0.0f, 0.0f}; + constexpr Vec target{10.0f, 0.0f, 0.0f}; + + const auto result = MoveTowards(current, target, 4.0f); + + EXPECT_FLOAT_EQ(result[0], 4.0f); + EXPECT_FLOAT_EQ(result[1], 0.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, MoveTowardsOvershootClampsToTarget) { + constexpr Vec current{0.0f, 0.0f, 0.0f}; + constexpr Vec target{10.0f, 0.0f, 0.0f}; + + const auto result = MoveTowards(current, target, 100.0f); + + EXPECT_FLOAT_EQ(result[0], 10.0f); + EXPECT_FLOAT_EQ(result[1], 0.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, MoveTowardsSamePointReturnsTarget) { + constexpr Vec current{5.0f, 5.0f, 5.0f}; + constexpr Vec target{5.0f, 5.0f, 5.0f}; + + const auto result = MoveTowards(current, target, 1.0f); + + EXPECT_FLOAT_EQ(result[0], 5.0f); + EXPECT_FLOAT_EQ(result[1], 5.0f); + EXPECT_FLOAT_EQ(result[2], 5.0f); +} + +// ========================================================================= +// Reflect +// ========================================================================= + +TEST(VecTest, ReflectOffFlatSurface) { + constexpr Vec v{1.0f, -1.0f, 0.0f}; + constexpr Vec normal{0.0f, 1.0f, 0.0f}; + + const auto result = Reflect(v, normal); + + EXPECT_FLOAT_EQ(result[0], 1.0f); + EXPECT_FLOAT_EQ(result[1], 1.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +TEST(VecTest, ReflectStraightOnBouncesBack) { + constexpr Vec v{0.0f, -1.0f, 0.0f}; + constexpr Vec normal{0.0f, 1.0f, 0.0f}; + + const auto result = Reflect(v, normal); + + EXPECT_FLOAT_EQ(result[0], 0.0f); + EXPECT_FLOAT_EQ(result[1], 1.0f); + EXPECT_FLOAT_EQ(result[2], 0.0f); +} + +// ========================================================================= +// Perpendicular +// ========================================================================= + +TEST(VecTest, Perpendicular) { + constexpr Vec v{1.0f, 0.0f}; + + constexpr auto result = Perpendicular(v); + + EXPECT_FLOAT_EQ(result[0], 0.0f); + EXPECT_FLOAT_EQ(result[1], 1.0f); +} + +TEST(VecTest, PerpendicularIsOrthogonal) { + constexpr Vec v{3.0f, 4.0f}; + + constexpr auto result = Perpendicular(v); + + EXPECT_FLOAT_EQ(Dot(v, result), 0.0f); +} + +TEST(VecTest, PerpendicularPreservesLength) { + const Vec v{3.0f, 4.0f}; + + const auto result = Perpendicular(v); + + EXPECT_FLOAT_EQ(result.Length(), v.Length()); +} + // ========================================================================= // Higher dimensions // ========================================================================= From 58a1db93304a442162e9882d516fa7f3cf5ef2e6 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 22:58:43 +0200 Subject: [PATCH 11/25] fix(linux): clang 22 just wouldn't work. Signed-off-by: Dylan Hollemaert --- Source/Engine/Network/TCP/Private/TCPServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Engine/Network/TCP/Private/TCPServer.cpp b/Source/Engine/Network/TCP/Private/TCPServer.cpp index cc8a421..bb2dd69 100644 --- a/Source/Engine/Network/TCP/Private/TCPServer.cpp +++ b/Source/Engine/Network/TCP/Private/TCPServer.cpp @@ -85,7 +85,8 @@ namespace Nexus::Network { } void TCPServer::Broadcast(std::span framedData) { - for (TCPClient& client : m_clients | std::views::values) { + // TODO: Go back to std::views::values when clang gets it to work + for (auto& [_, client] : m_clients) { static_cast(client.Send(framedData)); } } From 9511297fa5549f982c3a40d22717b9b20d7dacc0 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 22:59:53 +0200 Subject: [PATCH 12/25] fix: use engine types Signed-off-by: Dylan Hollemaert --- Source/Engine/Core/Utils/Public/Utils.cppm | 6 ++++-- Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp | 2 +- Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm | 2 +- Source/Engine/RHI/Public/Core/Surface.cppm | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/Engine/Core/Utils/Public/Utils.cppm b/Source/Engine/Core/Utils/Public/Utils.cppm index 8d38590..893bfb3 100644 --- a/Source/Engine/Core/Utils/Public/Utils.cppm +++ b/Source/Engine/Core/Utils/Public/Utils.cppm @@ -6,14 +6,16 @@ module; export module NE.Engine.Core.Utils; +import NE.Engine.Core.Types; + import std; export namespace Nexus { /// Gets the time in seconds since the start of the program - NEXUS_API double GetEngineTime() { + NEXUS_API float64 GetEngineTime() { const static auto start = std::chrono::steady_clock::now(); const auto now = std::chrono::steady_clock::now(); - return std::chrono::duration(now - start).count(); + return std::chrono::duration(now - start).count(); } template diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp index db685f8..b98264c 100644 --- a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp @@ -190,7 +190,7 @@ namespace Nexus::RHI { return m_Contexts[m_CurrentFrame].get(); } - void VulkanSurface::ClearScreen(float r, float g, float b) { + void VulkanSurface::ClearScreen(float32 r, float32 g, float32 b) { vk::CommandBuffer commandBuffer = static_cast(m_Contexts[m_CurrentFrame].get())->GetCommandBuffer(); diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm index a39db73..540404d 100644 --- a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cppm @@ -33,7 +33,7 @@ export namespace Nexus::RHI { VulkanSurface& operator=(VulkanSurface&&) = default; RenderContext* BeginFrame() override; - void ClearScreen(float r, float g, float b) override; + void ClearScreen(float32 r, float32 g, float32 b) override; void EndFrame() override; void Resize(int32 w, int32 h) override; diff --git a/Source/Engine/RHI/Public/Core/Surface.cppm b/Source/Engine/RHI/Public/Core/Surface.cppm index c2c558a..4042f07 100644 --- a/Source/Engine/RHI/Public/Core/Surface.cppm +++ b/Source/Engine/RHI/Public/Core/Surface.cppm @@ -19,7 +19,7 @@ export namespace Nexus::RHI { virtual ~Surface() = default; virtual RenderContext* BeginFrame() = 0; - virtual void ClearScreen(float r, float g, float b) = 0; + virtual void ClearScreen(float32 r, float32 g, float32 b) = 0; virtual void EndFrame() = 0; virtual void Resize(int32 w, int32 h) = 0; From 47b9d070b9ee934e9e132113caa51e9e0e95e208 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 23:00:11 +0200 Subject: [PATCH 13/25] formatting Signed-off-by: Dylan Hollemaert --- .../RHI/Private/Backend/Vulkan/Device.cpp | 36 ++++++++++--------- .../RHI/Private/Backend/Vulkan/Surface.cpp | 34 +++++++++--------- .../Engine/RHI/Public/Core/TextureView.cppm | 3 +- 3 files changed, 37 insertions(+), 36 deletions(-) diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp index 55e7c20..77a426f 100644 --- a/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Device.cpp @@ -56,8 +56,7 @@ namespace Nexus::RHI { appInfo.setPApplicationName("Nexus Engine"); appInfo.setPEngineName("Nexus Engine"); - std::vector instanceExtensions = {vk::EXTDebugUtilsExtensionName, - vk::KHRSurfaceExtensionName}; + std::vector instanceExtensions = {vk::EXTDebugUtilsExtensionName, vk::KHRSurfaceExtensionName}; if (glfwVulkanSupported()) { uint32 glfwExtensionCount = 0; const char** glfwExtensions = glfwGetRequiredInstanceExtensions(&glfwExtensionCount); @@ -117,29 +116,35 @@ namespace Nexus::RHI { } void VulkanDevice::CreatePhysicalDevice() { - auto physicalDevices = m_Instance.enumeratePhysicalDevices(); + const auto physicalDevices = m_Instance.enumeratePhysicalDevices(); + for (const auto& device : physicalDevices) { - vk::PhysicalDeviceProperties properties = device.getProperties(); + const auto properties = device.getProperties(); + if (properties.deviceType == vk::PhysicalDeviceType::eDiscreteGpu) { m_PhysicalDevice = device; break; } } - auto properties = m_PhysicalDevice.getProperties(); + if (!*m_PhysicalDevice) { + throw std::runtime_error("No suitable discrete Vulkan GPU found."); + } + + const auto properties = m_PhysicalDevice.getProperties(); + std::println("Using Vulkan device: {}", properties.deviceName.data()); m_OptimalRowPitchAlignment = properties.limits.optimalBufferCopyRowPitchAlignment; + m_BufferImageGranularity = properties.limits.bufferImageGranularity; } void VulkanDevice::CreateDevice() { - std::vector mandatoryExtensions = {vk::KHRSwapchainExtensionName, - vk::EXTDescriptorIndexingExtensionName, - vk::KHRDynamicRenderingExtensionName, - vk::EXTMutableDescriptorTypeExtensionName, - vk::KHRBufferDeviceAddressExtensionName, - vk::KHRSynchronization2ExtensionName}; + std::vector mandatoryExtensions = { + vk::KHRSwapchainExtensionName, vk::EXTDescriptorIndexingExtensionName, + vk::KHRDynamicRenderingExtensionName, vk::EXTMutableDescriptorTypeExtensionName, + vk::KHRBufferDeviceAddressExtensionName, vk::KHRSynchronization2ExtensionName}; std::map optionalExtensions = {{vk::EXTMeshShaderExtensionName, false}, {vk::KHRRayQueryExtensionName, false}, @@ -147,7 +152,6 @@ namespace Nexus::RHI { {vk::KHRRayTracingPipelineExtensionName, false}, {vk::KHRDeferredHostOperationsExtensionName, false}}; - const auto availableExtensions = m_PhysicalDevice.enumerateDeviceExtensionProperties(); for (const auto& availableExtension : availableExtensions) { for (auto& [extension, hasExtension] : optionalExtensions) { @@ -203,7 +207,6 @@ namespace Nexus::RHI { m_SupportMeshShaders = true; } - if (optionalExtensions[vk::KHRAccelerationStructureExtensionName]) { accelerationStructureFeatures.setAccelerationStructure(true); accelerationStructureFeatures.setDescriptorBindingAccelerationStructureUpdateAfterBind(true); @@ -219,9 +222,8 @@ namespace Nexus::RHI { lastPNext = &rayTracingPipelineFeatures; } - const bool supportsRayQuery = - optionalExtensions[vk::KHRRayQueryExtensionName] && - optionalExtensions[vk::KHRAccelerationStructureExtensionName]; + const bool supportsRayQuery = optionalExtensions[vk::KHRRayQueryExtensionName] && + optionalExtensions[vk::KHRAccelerationStructureExtensionName]; if (supportsRayQuery) { rayQueryFeatures.setRayQuery(true); @@ -250,7 +252,7 @@ namespace Nexus::RHI { } } - float queuePriority = 1.0f; + float32 queuePriority = 1.0f; vk::DeviceQueueCreateInfo queueCreateInfo; queueCreateInfo.setQueueFamilyIndex(m_MainQueueFamilyIndex); queueCreateInfo.setQueueCount(1); diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp index b98264c..fd0545a 100644 --- a/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Surface.cpp @@ -19,8 +19,10 @@ import vulkan; import std; -static vk::SurfaceFormatKHR chooseSwapSurfaceFormat(const Nexus::RHI::VulkanDevice* device, const vk::SurfaceKHR& surface) { - std::vector availableFormats = device->GetVulkanPhysicalDevice().getSurfaceFormatsKHR(surface); +static vk::SurfaceFormatKHR chooseSwapSurfaceFormat(const Nexus::RHI::VulkanDevice* device, + const vk::SurfaceKHR& surface) { + std::vector availableFormats = + device->GetVulkanPhysicalDevice().getSurfaceFormatsKHR(surface); if (availableFormats.empty()) { std::unreachable(); @@ -71,8 +73,7 @@ namespace Nexus::RHI { swapchainCreateInfo.setMinImageCount(2); swapchainCreateInfo.setImageFormat(swapChainSurfaceFormat.format); swapchainCreateInfo.setImageColorSpace(swapChainSurfaceFormat.colorSpace); - swapchainCreateInfo.setImageExtent( - vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); + swapchainCreateInfo.setImageExtent(vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); swapchainCreateInfo.setImageArrayLayers(1); swapchainCreateInfo.setImageUsage(vk::ImageUsageFlagBits::eColorAttachment); swapchainCreateInfo.setImageSharingMode(vk::SharingMode::eExclusive); @@ -91,8 +92,8 @@ namespace Nexus::RHI { desc.Format = TextureFormat::RGBA8_SRGB; desc.Usage = TextureUsage::RENDER_TARGET; - auto texture = std::make_unique(VulkanTexture::AdoptExternal(swapchainImages[i], m_ParentDevice, desc, - "Swapchain Texture " + std::to_string(i))); + auto texture = std::make_unique(VulkanTexture::AdoptExternal( + swapchainImages[i], m_ParentDevice, desc, "Swapchain Texture " + std::to_string(i))); m_Textures.push_back(std::move(texture)); } @@ -117,11 +118,10 @@ namespace Nexus::RHI { } for (uint32 i = 0; i < m_Textures.size(); i++) { - TextureViewDesc viewDesc = TextureViewDesc::CreateDefault(m_Textures[i].get(), TextureViewType::RENDER_TARGET, - TextureViewDimension::TEXTURE_2D); + TextureViewDesc viewDesc = TextureViewDesc::CreateDefault( + m_Textures[i].get(), TextureViewType::RENDER_TARGET, TextureViewDimension::TEXTURE_2D); m_TextureViews[i] = std::unique_ptr( - static_cast(m_ParentDevice->CreateTextureView(viewDesc).release()) - ); + static_cast(m_ParentDevice->CreateTextureView(viewDesc).release())); } } @@ -365,8 +365,7 @@ namespace Nexus::RHI { swapchainCreateInfo.setMinImageCount(2); swapchainCreateInfo.setImageFormat(swapChainSurfaceFormat.format); swapchainCreateInfo.setImageColorSpace(swapChainSurfaceFormat.colorSpace); - swapchainCreateInfo.setImageExtent( - vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); + swapchainCreateInfo.setImageExtent(vk::Extent2D{static_cast(m_Width), static_cast(m_Height)}); swapchainCreateInfo.setImageArrayLayers(1); swapchainCreateInfo.setImageUsage(vk::ImageUsageFlagBits::eColorAttachment); swapchainCreateInfo.setImageSharingMode(vk::SharingMode::eExclusive); @@ -391,17 +390,16 @@ namespace Nexus::RHI { desc.Format = TextureFormat::RGBA8_SRGB; desc.Usage = TextureUsage::RENDER_TARGET; - m_Textures[i] = std::make_unique(VulkanTexture::AdoptExternal(swapchainImages[i], m_ParentDevice, desc, - "Swapchain Texture " + std::to_string(i))); + m_Textures[i] = std::make_unique(VulkanTexture::AdoptExternal( + swapchainImages[i], m_ParentDevice, desc, "Swapchain Texture " + std::to_string(i))); } // Create texture views for ALL swapchain images for (uint32 i = 0; i < swapchainImages.size(); i++) { - TextureViewDesc viewDesc = TextureViewDesc::CreateDefault(m_Textures[i].get(), TextureViewType::RENDER_TARGET, - TextureViewDimension::TEXTURE_2D); + TextureViewDesc viewDesc = TextureViewDesc::CreateDefault( + m_Textures[i].get(), TextureViewType::RENDER_TARGET, TextureViewDimension::TEXTURE_2D); m_TextureViews[i] = std::unique_ptr( - static_cast(m_ParentDevice->CreateTextureView(viewDesc).release()) - ); + static_cast(m_ParentDevice->CreateTextureView(viewDesc).release())); } } } // namespace Nexus::RHI diff --git a/Source/Engine/RHI/Public/Core/TextureView.cppm b/Source/Engine/RHI/Public/Core/TextureView.cppm index 609fd07..465fefc 100644 --- a/Source/Engine/RHI/Public/Core/TextureView.cppm +++ b/Source/Engine/RHI/Public/Core/TextureView.cppm @@ -64,7 +64,8 @@ export namespace Nexus::RHI { return *this; } - static TextureViewDesc CreateDefault(RHI::Texture* texture, TextureViewType type, TextureViewDimension dimension) { + static TextureViewDesc CreateDefault(RHI::Texture* texture, TextureViewType type, + TextureViewDimension dimension) { TextureViewDesc desc = {}; desc.Type = type; desc.Texture = texture; From a3970d3175e4452c31287a45823766c8fe9f2c79 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 27 Sep 2026 23:01:08 +0200 Subject: [PATCH 14/25] fun: add a color animation * Didn't know where to commit that one Signed-off-by: Dylan Hollemaert --- .../Application/Private/Application.cpp | 25 ++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/Source/Editor/Application/Private/Application.cpp b/Source/Editor/Application/Private/Application.cpp index b89e325..405a81d 100644 --- a/Source/Editor/Application/Private/Application.cpp +++ b/Source/Editor/Application/Private/Application.cpp @@ -11,7 +11,8 @@ namespace Nexus { Logger logger; logger.LogInfo(std::format("Hello {}", Config::engineName)); - Window window(std::format("{} v{}", Config::engineName, Config::engineVersion)); + const auto title = std::format("{} v{}", Config::engineName, Config::engineVersion); + Window window(title); auto m_CurrentWidth = window.GetWidth(); auto m_CurrentHeight = window.GetHeight(); const auto device = RHI::Device::Create(); @@ -31,6 +32,23 @@ namespace Nexus { } } + static uint32 frameCount = 0; + static float64 lastFpsUpdate = 0.0; + static float64 fps = 0.0; + + const float64 t = GetEngineTime(); + + ++frameCount; + + if (const float64 elapsed = t - lastFpsUpdate; elapsed >= 0.25) { + fps = static_cast(frameCount) / elapsed; + + frameCount = 0; + lastFpsUpdate = t; + + window.SetTitle(std::format("{} - FPS: {:.1f}", title, fps)); + } + int32 pixelWidth = window.GetPixelWidth(); int32 pixelHeight = window.GetPixelHeight(); @@ -40,6 +58,11 @@ namespace Nexus { continue; } surface->BeginFrame(); + auto wave = [](const float64 x) { return 0.5 + 0.5 * std::sin(x); }; + + surface->ClearScreen(wave(t * 0.4) * 0.7 + wave(t * 0.13 + 1.0) * 0.3, + wave(t * 0.3 + 2.0) * 0.7 + wave(t * 0.17) * 0.3, + wave(t * 0.5 + 4.0) * 0.7 + wave(t * 0.11 + 2.0) * 0.3); surface->EndFrame(); } logger.LogInfo(std::format("Engine ran for {:.3f} seconds", GetEngineTime())); From d6f8c309c47465c5be1c3de36379b47e6365c0b1 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 28 Sep 2026 21:26:03 +0200 Subject: [PATCH 15/25] feat: Preparing SIMD support. * Made a config module to be used later. Signed-off-by: Dylan Hollemaert --- .../Math/Public/Simd/Config/SimdConfig.cppm | 327 ++++++++++++++++++ 1 file changed, 327 insertions(+) create mode 100644 Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm diff --git a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm new file mode 100644 index 0000000..1fd3bed --- /dev/null +++ b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm @@ -0,0 +1,327 @@ +// SPDX-License-Identifier: MIT + +export module NE.Engine.Math.Simd.Config; + +import NE.Engine.Core.Config; +import NE.Engine.Core.Types; + +import std; + +export namespace Nexus::Simd { + + enum class Feature { + mmx, + sse, + sse2, + sse3, + ssse3, + sse4_1, + sse4_2, + sse4a, + avx, + avx2, + fma, + avx512f, + avx512bw, + avx512cd, + avx512dq, + avx512ifma, + avx512vbmi, + avx512vbmi2, + avx512vl, + avx512vnni, + avx512vpopcntdq, + avx512bitalg, + avx512bf16, + avx512fp16 + }; + + inline std::string FeatureToString(const Feature feature) { + switch (feature) { + case Feature::mmx: + return "mmx"; + case Feature::sse: + return "sse"; + case Feature::sse2: + return "sse2"; + case Feature::sse3: + return "sse3"; + case Feature::ssse3: + return "ssse3"; + case Feature::sse4_1: + return "sse4_1"; + case Feature::sse4_2: + return "sse4_2"; + case Feature::sse4a: + return "sse4a"; + case Feature::avx: + return "avx"; + case Feature::avx2: + return "avx2"; + case Feature::fma: + return "fma"; + case Feature::avx512f: + return "avx512f"; + case Feature::avx512bw: + return "avx512bw"; + case Feature::avx512cd: + return "avx512cd"; + case Feature::avx512dq: + return "avx512dq"; + case Feature::avx512ifma: + return "avx512ifma"; + case Feature::avx512vbmi: + return "avx512vbmi"; + case Feature::avx512vbmi2: + return "avx512vbmi2"; + case Feature::avx512vl: + return "avx512vl"; + case Feature::avx512vnni: + return "avx512vnni"; + case Feature::avx512vpopcntdq: + return "avx512vpopcntdq"; + case Feature::avx512bitalg: + return "avx512bitalg"; + case Feature::avx512bf16: + return "avx512bf16"; + case Feature::avx512fp16: + return "avx512fp16"; + default: + return ""; + } + } + +#if defined(_M_X64) || defined(__x86_64__) || defined(_M_IX86) || defined(__i386__) + +# if defined(_MSC_VER) + +# include + + struct cpuidResult { + int eax; + int ebx; + int ecx; + int edx; + }; + + inline cpuidResult CPUID(unsigned leaf, unsigned subleaf = 0) noexcept { + int r[4]; + __cpuidex(r, static_cast(leaf), static_cast(subleaf)); + + return {r[0], r[1], r[2], r[3]}; + } + + inline bool Bit(int32 value, unsigned index) noexcept { + return (static_cast(value) & (uint32{1} << index)) != 0; + } + + inline unsigned maxBasicLeaf() noexcept { + return static_cast(CPUID(0).eax); + } + + inline unsigned maxExtendedLeaf() noexcept { + return static_cast(CPUID(0x80000000).eax); + } + + inline bool osAvxStateEnabled() noexcept { + if (maxBasicLeaf() < 1) + return false; + + const auto r = CPUID(1); + + // CPUID.1:ECX[27] = OSXSAVE + // CPUID.1:ECX[28] = AVX + if (!Bit(r.ecx, 27) || !Bit(r.ecx, 28)) + return false; + + // XCR0[1:2] = XMM and YMM state enabled by the OS. + return (_xgetbv(0) & 0x6) == 0x6; + } + + inline bool osAvx512StateEnabled() noexcept { + if (!osAvxStateEnabled()) + return false; + + // XCR0[5:7] = opmask, ZMM_hi256, Hi16_ZMM. + return (_xgetbv(0) & 0xE0) == 0xE0; + } + + inline bool Has(Feature f) noexcept { + const unsigned basicMax = maxBasicLeaf(); + + switch (f) { + case Feature::mmx: + return basicMax >= 1 && Bit(CPUID(1).edx, 23); + + case Feature::sse: + return basicMax >= 1 && Bit(CPUID(1).edx, 25); + + case Feature::sse2: + return basicMax >= 1 && Bit(CPUID(1).edx, 26); + + case Feature::sse3: + return basicMax >= 1 && Bit(CPUID(1).ecx, 0); + + case Feature::ssse3: + return basicMax >= 1 && Bit(CPUID(1).ecx, 9); + + case Feature::sse4_1: + return basicMax >= 1 && Bit(CPUID(1).ecx, 19); + + case Feature::sse4_2: + return basicMax >= 1 && Bit(CPUID(1).ecx, 20); + + case Feature::sse4a: + return maxExtendedLeaf() >= 0x80000001 && Bit(CPUID(0x80000001).ecx, 6); + + case Feature::avx: + return basicMax >= 1 && Bit(CPUID(1).ecx, 28) && osAvxStateEnabled(); + + case Feature::fma: + return basicMax >= 1 && Bit(CPUID(1).ecx, 12) && osAvxStateEnabled(); + + case Feature::avx2: + return basicMax >= 7 && osAvxStateEnabled() && Bit(CPUID(7, 0).ebx, 5); + + case Feature::avx512f: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 16); + + case Feature::avx512dq: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 17); + + case Feature::avx512ifma: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 21); + + case Feature::avx512cd: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 28); + + case Feature::avx512bw: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 30); + + case Feature::avx512vl: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 31); + + case Feature::avx512vbmi: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 1); + + case Feature::avx512vbmi2: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 6); + + case Feature::avx512vnni: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 11); + + case Feature::avx512bitalg: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 12); + + case Feature::avx512vpopcntdq: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 14); + + case Feature::avx512bf16: + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 1).eax, 5); + + case Feature::avx512fp16: + // See: https://cdrdv2-public.intel.com/678970/intel-avx512-fp16.pdf (chapter 2, needs avx512bw) + return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).eax, 23) && Bit(CPUID(7, 0).ebx, 30); + } + + return false; + } + +# elif defined(__GNUC__) || defined(__clang__) + + inline bool Has(Feature f) noexcept { + switch (f) { + case Feature::mmx: + return __builtin_cpu_supports("mmx"); + + case Feature::sse: + return __builtin_cpu_supports("sse"); + + case Feature::sse2: + return __builtin_cpu_supports("sse2"); + + case Feature::sse3: + return __builtin_cpu_supports("sse3"); + + case Feature::ssse3: + return __builtin_cpu_supports("ssse3"); + + case Feature::sse4_1: + return __builtin_cpu_supports("sse4.1"); + + case Feature::sse4_2: + return __builtin_cpu_supports("sse4.2"); + + case Feature::sse4a: + return __builtin_cpu_supports("sse4a"); + + case Feature::avx: + return __builtin_cpu_supports("avx"); + + case Feature::avx2: + return __builtin_cpu_supports("avx2"); + + case Feature::fma: + return __builtin_cpu_supports("fma"); + + case Feature::avx512f: + return __builtin_cpu_supports("avx512f"); + + case Feature::avx512bw: + return __builtin_cpu_supports("avx512bw"); + + case Feature::avx512cd: + return __builtin_cpu_supports("avx512cd"); + + case Feature::avx512dq: + return __builtin_cpu_supports("avx512dq"); + + case Feature::avx512ifma: + return __builtin_cpu_supports("avx512ifma"); + + case Feature::avx512vbmi: + return __builtin_cpu_supports("avx512vbmi"); + + case Feature::avx512vbmi2: + return __builtin_cpu_supports("avx512vbmi2"); + + case Feature::avx512vl: + return __builtin_cpu_supports("avx512vl"); + + case Feature::avx512vnni: + return __builtin_cpu_supports("avx512vnni"); + + case Feature::avx512vpopcntdq: + return __builtin_cpu_supports("avx512vpopcntdq"); + + case Feature::avx512bitalg: + return __builtin_cpu_supports("avx512bitalg"); + + case Feature::avx512bf16: + return __builtin_cpu_supports("avx512bf16"); + + case Feature::avx512fp16: + // See: https://cdrdv2-public.intel.com/678970/intel-avx512-fp16.pdf (chapter 2, needs avx512bw) + return __builtin_cpu_supports("avx512bw") && __builtin_cpu_supports("avx512fp16"); + } + + return false; + } + +# else + + inline bool Has(Feature) noexcept { + return false; + } + +# endif + +#else + + inline bool Has(Feature) noexcept { + return false; + } + +#endif + +} // namespace Nexus::Simd From bbe5d7a785a63e4de1a9850e7813dfc71f0bce5e Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Thu, 8 Oct 2026 12:59:02 +0200 Subject: [PATCH 16/25] Fix the SimdConfig module to compile under Windows. Signed-off-by: Dylan Hollemaert --- .../Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm index 1fd3bed..524f7e4 100644 --- a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm +++ b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm @@ -1,5 +1,11 @@ // SPDX-License-Identifier: MIT +module; + +#if defined(_MSC_VER) +# include +#endif + export module NE.Engine.Math.Simd.Config; import NE.Engine.Core.Config; @@ -95,8 +101,6 @@ export namespace Nexus::Simd { # if defined(_MSC_VER) -# include - struct cpuidResult { int eax; int ebx; From 26801470c9bc7dcfb3a65582bad666a5ede78915 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sat, 7 Nov 2026 22:36:45 +0100 Subject: [PATCH 17/25] SIMD: Make detection constexpr when possible and improve overall performance by caching results. Signed-off-by: Dylan Hollemaert --- .../Math/Public/Simd/Config/SimdConfig.cppm | 251 +++++++++--------- 1 file changed, 123 insertions(+), 128 deletions(-) diff --git a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm index 524f7e4..12956f8 100644 --- a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm +++ b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm @@ -2,7 +2,7 @@ module; -#if defined(_MSC_VER) +#if defined(_WIN32) && defined(_MSC_VER) && (defined(_M_X64) || defined(_M_IX86)) # include #endif @@ -39,10 +39,12 @@ export namespace Nexus::Simd { avx512vpopcntdq, avx512bitalg, avx512bf16, - avx512fp16 + avx512fp16, + + count }; - inline std::string FeatureToString(const Feature feature) { + inline constexpr std::string_view FeatureToString(const Feature feature) noexcept { switch (feature) { case Feature::mmx: return "mmx"; @@ -93,7 +95,7 @@ export namespace Nexus::Simd { case Feature::avx512fp16: return "avx512fp16"; default: - return ""; + return {}; } } @@ -101,140 +103,132 @@ export namespace Nexus::Simd { # if defined(_MSC_VER) - struct cpuidResult { - int eax; - int ebx; - int ecx; - int edx; - }; - - inline cpuidResult CPUID(unsigned leaf, unsigned subleaf = 0) noexcept { - int r[4]; - __cpuidex(r, static_cast(leaf), static_cast(subleaf)); - - return {r[0], r[1], r[2], r[3]}; - } - - inline bool Bit(int32 value, unsigned index) noexcept { - return (static_cast(value) & (uint32{1} << index)) != 0; - } - - inline unsigned maxBasicLeaf() noexcept { - return static_cast(CPUID(0).eax); - } - - inline unsigned maxExtendedLeaf() noexcept { - return static_cast(CPUID(0x80000000).eax); - } - - inline bool osAvxStateEnabled() noexcept { - if (maxBasicLeaf() < 1) - return false; - - const auto r = CPUID(1); - - // CPUID.1:ECX[27] = OSXSAVE - // CPUID.1:ECX[28] = AVX - if (!Bit(r.ecx, 27) || !Bit(r.ecx, 28)) - return false; - - // XCR0[1:2] = XMM and YMM state enabled by the OS. - return (_xgetbv(0) & 0x6) == 0x6; - } - - inline bool osAvx512StateEnabled() noexcept { - if (!osAvxStateEnabled()) - return false; - - // XCR0[5:7] = opmask, ZMM_hi256, Hi16_ZMM. - return (_xgetbv(0) & 0xE0) == 0xE0; - } - - inline bool Has(Feature f) noexcept { - const unsigned basicMax = maxBasicLeaf(); - - switch (f) { - case Feature::mmx: - return basicMax >= 1 && Bit(CPUID(1).edx, 23); - - case Feature::sse: - return basicMax >= 1 && Bit(CPUID(1).edx, 25); - - case Feature::sse2: - return basicMax >= 1 && Bit(CPUID(1).edx, 26); - - case Feature::sse3: - return basicMax >= 1 && Bit(CPUID(1).ecx, 0); - - case Feature::ssse3: - return basicMax >= 1 && Bit(CPUID(1).ecx, 9); - - case Feature::sse4_1: - return basicMax >= 1 && Bit(CPUID(1).ecx, 19); - - case Feature::sse4_2: - return basicMax >= 1 && Bit(CPUID(1).ecx, 20); - - case Feature::sse4a: - return maxExtendedLeaf() >= 0x80000001 && Bit(CPUID(0x80000001).ecx, 6); - - case Feature::avx: - return basicMax >= 1 && Bit(CPUID(1).ecx, 28) && osAvxStateEnabled(); - - case Feature::fma: - return basicMax >= 1 && Bit(CPUID(1).ecx, 12) && osAvxStateEnabled(); - - case Feature::avx2: - return basicMax >= 7 && osAvxStateEnabled() && Bit(CPUID(7, 0).ebx, 5); - - case Feature::avx512f: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 16); - - case Feature::avx512dq: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 17); - - case Feature::avx512ifma: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 21); - - case Feature::avx512cd: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 28); - - case Feature::avx512bw: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 30); - - case Feature::avx512vl: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ebx, 31); + namespace detail { - case Feature::avx512vbmi: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 1); + struct CpuIdResult { + uint32 eax; + uint32 ebx; + uint32 ecx; + uint32 edx; + }; - case Feature::avx512vbmi2: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 6); + inline CpuIdResult Cpuid(const int leaf, const int subleaf = 0) noexcept { + int registers[4]; + __cpuidex(registers, leaf, subleaf); - case Feature::avx512vnni: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 11); + return {static_cast(registers[0]), static_cast(registers[1]), + static_cast(registers[2]), static_cast(registers[3])}; + } - case Feature::avx512bitalg: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 12); + constexpr bool Bit(const uint32 value, const uint32 bit) noexcept { + return (value & (uint32{1} << bit)) != 0; + } - case Feature::avx512vpopcntdq: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).ecx, 14); + struct CpuFeatures { + std::array(Feature::count)> features{}; + + constexpr bool Has(const Feature feature) const noexcept { + return features[static_cast(feature)]; + } + }; + + constexpr CpuFeatures DetectCpuFeatures() noexcept { + CpuFeatures result{}; + + const CpuIdResult leaf0 = Cpuid(0); + const uint32 maxBasicLeaf = leaf0.eax; + + if (maxBasicLeaf < 1) + return result; + + const CpuIdResult leaf1 = Cpuid(1); + + // Basic SIMD features. + result.features[static_cast(Feature::mmx)] = Bit(leaf1.edx, 23); + result.features[static_cast(Feature::sse)] = Bit(leaf1.edx, 25); + result.features[static_cast(Feature::sse2)] = Bit(leaf1.edx, 26); + result.features[static_cast(Feature::sse3)] = Bit(leaf1.ecx, 0); + result.features[static_cast(Feature::ssse3)] = Bit(leaf1.ecx, 9); + result.features[static_cast(Feature::sse4_1)] = Bit(leaf1.ecx, 19); + result.features[static_cast(Feature::sse4_2)] = Bit(leaf1.ecx, 20); + result.features[static_cast(Feature::fma)] = Bit(leaf1.ecx, 12); + + const bool cpuAvx = Bit(leaf1.ecx, 28); + const bool osxSave = Bit(leaf1.ecx, 27); + + // AVX requires both CPU support and OS support for XMM/YMM state. + bool osAvx = false; + bool osAvx512 = false; + + if (cpuAvx && osxSave) { + const uint64 xcr0 = _xgetbv(0); + // XMM + YMM state. + osAvx = (xcr0 & 0x6) == 0x6; + // Opmask + ZMM_Hi256 + Hi16_ZMM. + osAvx512 = osAvx && (xcr0 & 0xE0) == 0xE0; + } + + result.features[static_cast(Feature::avx)] = cpuAvx && osAvx; + result.features[static_cast(Feature::fma)] = Bit(leaf1.ecx, 12) && osAvx; + + // Extended AMD features. + const CpuIdResult extendedLeaf0 = Cpuid(0x80000000); + const uint32 maxExtendedLeaf = extendedLeaf0.eax; + + if (maxExtendedLeaf >= 0x80000001) { + const CpuIdResult leaf80000001 = Cpuid(0x80000001); + result.features[static_cast(Feature::sse4a)] = Bit(leaf80000001.ecx, 6); + } + + if (maxBasicLeaf < 7) + return result; + + // Structured feature enumeration. + const CpuIdResult leaf7 = Cpuid(7, 0); + + result.features[static_cast(Feature::avx2)] = osAvx && Bit(leaf7.ebx, 5); + + if (!osAvx512) + return result; + + result.features[static_cast(Feature::avx512f)] = Bit(leaf7.ebx, 16); + result.features[static_cast(Feature::avx512dq)] = Bit(leaf7.ebx, 17); + result.features[static_cast(Feature::avx512ifma)] = Bit(leaf7.ebx, 21); + result.features[static_cast(Feature::avx512cd)] = Bit(leaf7.ebx, 28); + result.features[static_cast(Feature::avx512bw)] = Bit(leaf7.ebx, 30); + result.features[static_cast(Feature::avx512vl)] = Bit(leaf7.ebx, 31); + result.features[static_cast(Feature::avx512vbmi)] = Bit(leaf7.ecx, 1); + result.features[static_cast(Feature::avx512vbmi2)] = Bit(leaf7.ecx, 6); + result.features[static_cast(Feature::avx512vnni)] = Bit(leaf7.ecx, 11); + result.features[static_cast(Feature::avx512bitalg)] = Bit(leaf7.ecx, 12); + result.features[static_cast(Feature::avx512vpopcntdq)] = Bit(leaf7.ecx, 14); + + // Leaf 7 subleaf 1. + if (leaf7.eax >= 1) { + const CpuIdResult leaf7_1 = Cpuid(7, 1); + result.features[static_cast(Feature::avx512bf16)] = Bit(leaf7_1.eax, 5); + } + + // AVX512_FP16 is enumerated by CPUID.07H:EDX[23]. + result.features[static_cast(Feature::avx512fp16)] = + Bit(leaf7.edx, 23) && Bit(leaf7.ebx, 30); // AVX512BW + + return result; + } - case Feature::avx512bf16: - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 1).eax, 5); + // Detect once, then reuse forever. + const CpuFeatures cpuFeatures = DetectCpuFeatures(); - case Feature::avx512fp16: - // See: https://cdrdv2-public.intel.com/678970/intel-avx512-fp16.pdf (chapter 2, needs avx512bw) - return basicMax >= 7 && osAvx512StateEnabled() && Bit(CPUID(7, 0).eax, 23) && Bit(CPUID(7, 0).ebx, 30); - } + } // namespace detail - return false; + inline bool Has(const Feature feature) noexcept { + return detail::cpuFeatures.Has(feature); } # elif defined(__GNUC__) || defined(__clang__) - inline bool Has(Feature f) noexcept { - switch (f) { + inline bool Has(const Feature feature) noexcept { + switch (feature) { case Feature::mmx: return __builtin_cpu_supports("mmx"); @@ -307,9 +301,10 @@ export namespace Nexus::Simd { case Feature::avx512fp16: // See: https://cdrdv2-public.intel.com/678970/intel-avx512-fp16.pdf (chapter 2, needs avx512bw) return __builtin_cpu_supports("avx512bw") && __builtin_cpu_supports("avx512fp16"); - } - return false; + default: + return false; + } } # else From edc447601b60a69ec3cb0915d2f21f43aff968f1 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sat, 14 Nov 2026 15:02:01 +0100 Subject: [PATCH 18/25] Stop the experimental STD module from CMake 4.5.0 onwards. Fixes: * Clang error on preprocessor directives around `module : private;`. * Missing `import std;` for the Vec tests. Signed-off-by: Dylan Hollemaert --- Scripts/CMake/SetModuleUUID.cmake | 18 +++++++++++++----- Source/ThirdParty/VMA/vk_mem_alloc.cppm | 3 --- Tests/Engine/Core/Math/Vec.cpp | 2 ++ 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Scripts/CMake/SetModuleUUID.cmake b/Scripts/CMake/SetModuleUUID.cmake index d681dce..838d4f8 100644 --- a/Scripts/CMake/SetModuleUUID.cmake +++ b/Scripts/CMake/SetModuleUUID.cmake @@ -2,10 +2,12 @@ # See: https://discourse.cmake.org/t/cmake-experimental-cxx-import-std-value-history-and-state/15712/3 function(setModuleID) - set(CMAKE_CXX_SCAN_FOR_MODULES ON CACHE BOOL "" FORCE) - set(CMAKE_EXPERIMENTAL_CXX_MODULE_STD ON CACHE BOOL "" FORCE) + set(MODULES_EXPERIMENTAL ON) - if(CMAKE_VERSION VERSION_GREATER_EQUAL "4.4.0") + if(CMAKE_VERSION VERSION_GREATER_EQUAL "4.5.0") + set(MODULES_EXPERIMENTAL OFF) + message(STATUS "C++ module location: ${CMAKE_CXX_STDLIB_MODULES_JSON}") + elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.4.0") set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "f35a9ac6-8463-4d38-8eec-5d6008153e7d" CACHE STRING "" FORCE @@ -43,7 +45,13 @@ function(setModuleID) message(FATAL_ERROR "CMake CXX_MODULES not supported for version ${CMAKE_VERSION}") endif() - set(CMAKE_CXX_MODULE_STD ON CACHE BOOL "" FORCE) + if(MODULES_EXPERIMENTAL) + set(CMAKE_CXX_SCAN_FOR_MODULES ON CACHE BOOL "" FORCE) + set(CMAKE_EXPERIMENTAL_CXX_MODULE_STD ON CACHE BOOL "" FORCE) + set(CMAKE_CXX_MODULE_STD ON CACHE BOOL "" FORCE) + message(STATUS "C++ modules enabled (CMake ${CMAKE_VERSION}, UUID: ${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD})") + else() + message(STATUS "C++ modules enabled (CMake ${CMAKE_VERSION})") + endif() - message(STATUS "C++ modules enabled (CMake ${CMAKE_VERSION}, UUID: ${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD})") endfunction() \ No newline at end of file diff --git a/Source/ThirdParty/VMA/vk_mem_alloc.cppm b/Source/ThirdParty/VMA/vk_mem_alloc.cppm index e531232..1dda404 100644 --- a/Source/ThirdParty/VMA/vk_mem_alloc.cppm +++ b/Source/ThirdParty/VMA/vk_mem_alloc.cppm @@ -14,9 +14,6 @@ import vulkan; #include "vk_mem_alloc.hpp" #include "vk_mem_alloc_raii.hpp" -#if !defined(__GNUC__) -module : private; -#endif namespace VULKAN_HPP_NAMESPACE { // This is needed for template specializations to be visible outside the module when importing vulkan (is this a MSVC bug?). template<> struct FlagTraits; diff --git a/Tests/Engine/Core/Math/Vec.cpp b/Tests/Engine/Core/Math/Vec.cpp index 0715e6e..1f4ca15 100644 --- a/Tests/Engine/Core/Math/Vec.cpp +++ b/Tests/Engine/Core/Math/Vec.cpp @@ -5,6 +5,8 @@ import NE.Engine.Core.Types; import NE.Engine.Math.Vec; +import std; + using namespace Nexus; // ========================================================================= From 44bdc32e2011baee90bf3d83705decdb469d6138 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sat, 14 Nov 2026 17:19:08 +0100 Subject: [PATCH 19/25] Cleaning it up Signed-off-by: Dylan Hollemaert --- Scripts/CMake/SetModuleUUID.cmake | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/Scripts/CMake/SetModuleUUID.cmake b/Scripts/CMake/SetModuleUUID.cmake index 838d4f8..8583058 100644 --- a/Scripts/CMake/SetModuleUUID.cmake +++ b/Scripts/CMake/SetModuleUUID.cmake @@ -2,11 +2,10 @@ # See: https://discourse.cmake.org/t/cmake-experimental-cxx-import-std-value-history-and-state/15712/3 function(setModuleID) - set(MODULES_EXPERIMENTAL ON) + set(NEEDS_IMPORT_STD_GATE ON) if(CMAKE_VERSION VERSION_GREATER_EQUAL "4.5.0") - set(MODULES_EXPERIMENTAL OFF) - message(STATUS "C++ module location: ${CMAKE_CXX_STDLIB_MODULES_JSON}") + set(NEEDS_IMPORT_STD_GATE OFF) elseif(CMAKE_VERSION VERSION_GREATER_EQUAL "4.4.0") set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "f35a9ac6-8463-4d38-8eec-5d6008153e7d" @@ -33,25 +32,25 @@ function(setModuleID) "a9e1cf81-9932-4810-974b-6eccaf14e457" CACHE STRING "" FORCE ) - elseif(CMAKE_VERSION VERSION_LESS "4.3.0") + else() # 4.0.3 <= version < 4.3.0 set(CMAKE_EXPERIMENTAL_CXX_IMPORT_STD "d0edc3af-4c50-42ea-a356-e2862fe7a444" CACHE STRING "" FORCE ) - else() - message(FATAL_ERROR "Unsupported CMake version ${CMAKE_VERSION}") endif() else() - message(FATAL_ERROR "CMake CXX_MODULES not supported for version ${CMAKE_VERSION}") + message(FATAL_ERROR "import std requires CMake 3.30 or newer (found ${CMAKE_VERSION})") endif() - if(MODULES_EXPERIMENTAL) + if(NEEDS_IMPORT_STD_GATE) set(CMAKE_CXX_SCAN_FOR_MODULES ON CACHE BOOL "" FORCE) - set(CMAKE_EXPERIMENTAL_CXX_MODULE_STD ON CACHE BOOL "" FORCE) set(CMAKE_CXX_MODULE_STD ON CACHE BOOL "" FORCE) - message(STATUS "C++ modules enabled (CMake ${CMAKE_VERSION}, UUID: ${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD})") + message(STATUS "import std enabled via experimental gate (CMake ${CMAKE_VERSION}, UUID: ${CMAKE_EXPERIMENTAL_CXX_IMPORT_STD})") else() - message(STATUS "C++ modules enabled (CMake ${CMAKE_VERSION})") + message(STATUS "import std enabled (CMake ${CMAKE_VERSION})") + if(CMAKE_CXX_STDLIB_MODULES_JSON) + message(STATUS "C++ stdlib modules metadata: ${CMAKE_CXX_STDLIB_MODULES_JSON}") + endif() endif() -endfunction() \ No newline at end of file +endfunction() From 3a489cf8b56b35ed27f391465b6425b99ddfffaa Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 15 Nov 2026 14:12:43 +0100 Subject: [PATCH 20/25] Don't need C++ extensions. Signed-off-by: Dylan Hollemaert --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b8ebf9..d702b45 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_POSITION_INDEPENDENT_CODE ON) -set(CMAKE_CXX_EXTENSIONS ON) +set(CMAKE_CXX_EXTENSIONS OFF) # C++20 modules include(Scripts/CMake/SetModuleUUID.cmake) From b0e8cd6fdfd4fcbf274be84821032fb6514c9fcd Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 15 Nov 2026 15:27:52 +0100 Subject: [PATCH 21/25] SIMD: Added traits helpers, compile and link options. Signed-off-by: Dylan Hollemaert --- Source/CMakeLists.txt | 15 +- .../Math/Public/Simd/Config/SimdConfig.cppm | 20 +- .../Math/Public/Simd/Traits/SimdTraits.cppm | 628 ++++++++++++++++++ Source/Engine/NexusEngine.cppm | 2 + 4 files changed, 653 insertions(+), 12 deletions(-) create mode 100644 Source/Engine/Core/Math/Public/Simd/Traits/SimdTraits.cppm diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index f3a92ff..b08565f 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,5 +1,16 @@ # SPDX-License-Identifier: MIT +if(MSVC) + set(NEXUS_COMPILE_FLAGS /arch:AVX2 /GL /Oi) + set(NEXUS_LINK_FLAGS /LTCG) +else() + set(NEXUS_COMPILE_FLAGS -march=native -mfma) + set(NEXUS_LINK_FLAGS -flto) +endif() + +add_compile_options(${NEXUS_COMPILE_FLAGS}) +add_link_options(${NEXUS_LINK_FLAGS}) + add_subdirectory(Editor) add_subdirectory(Engine) add_subdirectory(ThirdParty) @@ -13,6 +24,6 @@ target_link_libraries(NexusEngine PRIVATE NexusThirdParty) target_link_libraries(NexusEditor PRIVATE NexusEngine) if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") - target_link_libraries(NexusEngine PRIVATE "-lstdc++exp") - target_link_libraries(NexusEditor PRIVATE "-lstdc++exp") + target_link_libraries(NexusEngine PRIVATE stdc++exp) + target_link_libraries(NexusEditor PRIVATE stdc++exp) endif() diff --git a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm index 12956f8..5e43d01 100644 --- a/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm +++ b/Source/Engine/Core/Math/Public/Simd/Config/SimdConfig.cppm @@ -191,16 +191,16 @@ export namespace Nexus::Simd { if (!osAvx512) return result; - result.features[static_cast(Feature::avx512f)] = Bit(leaf7.ebx, 16); - result.features[static_cast(Feature::avx512dq)] = Bit(leaf7.ebx, 17); - result.features[static_cast(Feature::avx512ifma)] = Bit(leaf7.ebx, 21); - result.features[static_cast(Feature::avx512cd)] = Bit(leaf7.ebx, 28); - result.features[static_cast(Feature::avx512bw)] = Bit(leaf7.ebx, 30); - result.features[static_cast(Feature::avx512vl)] = Bit(leaf7.ebx, 31); - result.features[static_cast(Feature::avx512vbmi)] = Bit(leaf7.ecx, 1); - result.features[static_cast(Feature::avx512vbmi2)] = Bit(leaf7.ecx, 6); - result.features[static_cast(Feature::avx512vnni)] = Bit(leaf7.ecx, 11); - result.features[static_cast(Feature::avx512bitalg)] = Bit(leaf7.ecx, 12); + result.features[static_cast(Feature::avx512f)] = Bit(leaf7.ebx, 16); + result.features[static_cast(Feature::avx512dq)] = Bit(leaf7.ebx, 17); + result.features[static_cast(Feature::avx512ifma)] = Bit(leaf7.ebx, 21); + result.features[static_cast(Feature::avx512cd)] = Bit(leaf7.ebx, 28); + result.features[static_cast(Feature::avx512bw)] = Bit(leaf7.ebx, 30); + result.features[static_cast(Feature::avx512vl)] = Bit(leaf7.ebx, 31); + result.features[static_cast(Feature::avx512vbmi)] = Bit(leaf7.ecx, 1); + result.features[static_cast(Feature::avx512vbmi2)] = Bit(leaf7.ecx, 6); + result.features[static_cast(Feature::avx512vnni)] = Bit(leaf7.ecx, 11); + result.features[static_cast(Feature::avx512bitalg)] = Bit(leaf7.ecx, 12); result.features[static_cast(Feature::avx512vpopcntdq)] = Bit(leaf7.ecx, 14); // Leaf 7 subleaf 1. diff --git a/Source/Engine/Core/Math/Public/Simd/Traits/SimdTraits.cppm b/Source/Engine/Core/Math/Public/Simd/Traits/SimdTraits.cppm new file mode 100644 index 0000000..53d5a22 --- /dev/null +++ b/Source/Engine/Core/Math/Public/Simd/Traits/SimdTraits.cppm @@ -0,0 +1,628 @@ +// SPDX-License-Identifier: MIT + +module; + +#include + +#if defined(_MSC_VER) +# define FORCEINLINE __forceinline +#else +# define FORCEINLINE inline __attribute__((always_inline)) +#endif + +export module NE.Engine.Math.Simd.Traits; + +import NE.Engine.Core.Types; + +import std; + +#if defined(__clang__) +# pragma clang diagnostic push +# pragma clang diagnostic ignored "-WTU-local-entity-exposure" +#endif + +export namespace Nexus::Simd { + + // Bit widths: 256 (AVX/AVX2), 128 (SSE/SSE2/SSE4.1, AVX2 gather) and 0 (plain scalar, width 1). + // Everything below is AVX2 at most (no AVX-512). + // + // Common interface of every specialization: + // type, mask_type, width + // load / store / from / set1 / add / sub / mul / div / sqrt + // neg(a) -a, flips the sign bit (keeps -0.0 / NaN behaviour of unary minus) + // min(a, b) / max(a, b) per lane, same NaN behaviour as _mm_min/max (returns b if either is NaN) + // gather(base, idx) lane k = base[idx[k]] (idx points to `width` int32 indices) + // reduce_add(a) horizontal sum of all lanes + // all_equal(a, b) true when every lane of a == b + // compareEqual(a, b) per-lane mask (all bits set when equal) + // cmp_lt / cmp_le / cmp_gt / cmp_ge(a, b) per-lane ordered, quiet comparisons -> mask + // movemask(mask) one bit per lane (bit k = lane k is set) + // select(a, b, mask) lane k = b[k] when mask lane k is set, a[k] otherwise + // permute(a) lane k = a[Ik] (`width` indices) + // blend(a, b) lane k = b[k] when bit k of Mask is set, a[k] otherwise + // + // Width-specific constructors (the name carries the lane count): + // double/128 : set2(a, b) + // float/128 : set4(a, b, c, d) + // double/256 : set4(a, b, c, d) + // float/256 : set8(a, b, c, d, e, f, g, h) + // scalar : set1(a) + // + // Notes: + // - from(v) takes the vector by reference and returns a pointer to its lanes (the by-value + // version returned a pointer to a dead parameter). The pointer is only valid as long as `v`. + // - mask_type is the vector type for SIMD widths and bool for the scalar width, so + // select(a, b, cmp_lt(a, b)) compiles unchanged in generic code. + + template + struct simd_traits; + + template <> + struct simd_traits { + using type = __m128d; + using mask_type = __m128d; + static constexpr usize width = 2; + + static FORCEINLINE type load(const float64* data) { + return _mm_loadu_pd(data); + } + + static FORCEINLINE void store(float64* data, type vec) { + _mm_storeu_pd(data, vec); + } + + static FORCEINLINE float64* from(type& data) { + return reinterpret_cast(&data); + } + + static FORCEINLINE type set1(float64 scalar) { + return _mm_set1_pd(scalar); + } + + static FORCEINLINE type set2(float64 a, float64 b) { + return _mm_set_pd(b, a); + } + + static FORCEINLINE type add(type a, type b) { + return _mm_add_pd(a, b); + } + + static FORCEINLINE type sub(type a, type b) { + return _mm_sub_pd(a, b); + } + + static FORCEINLINE type mul(type a, type b) { + return _mm_mul_pd(a, b); + } + + static FORCEINLINE type div(type a, type b) { + return _mm_div_pd(a, b); + } + + static FORCEINLINE type sqrt(type a) { + return _mm_sqrt_pd(a); + } + + static FORCEINLINE type neg(type a) { + return _mm_xor_pd(a, _mm_set1_pd(-0.0)); + } + + static FORCEINLINE type min(type a, type b) { + return _mm_min_pd(a, b); + } + + static FORCEINLINE type max(type a, type b) { + return _mm_max_pd(a, b); + } + + template + static FORCEINLINE type permute(type a) { + static_assert(I0 >= 0 && I0 < 2 && I1 >= 0 && I1 < 2, "permute index out of range"); + return _mm_shuffle_pd(a, a, I0 | (I1 << 1)); + } + + template + static FORCEINLINE type blend(type a, type b) { + static_assert(Mask >= 0 && Mask < 4, "blend mask must fit in 2 bits"); + return _mm_blend_pd(a, b, Mask); + } + + static FORCEINLINE type gather(const float64* base, const int32* idx) { + // only 2 indices (8 bytes) may be read here + return _mm_i32gather_pd(base, _mm_loadl_epi64(reinterpret_cast(idx)), 8); + } + + static FORCEINLINE float64 reduce_add(type a) { + return _mm_cvtsd_f64(_mm_add_sd(a, _mm_unpackhi_pd(a, a))); + } + + static FORCEINLINE bool all_equal(type a, type b) { + return _mm_movemask_pd(_mm_cmpeq_pd(a, b)) == 0x3; + } + + static FORCEINLINE mask_type compareEqual(type a, type b) { + return _mm_cmpeq_pd(a, b); + } + + static FORCEINLINE mask_type cmp_lt(type a, type b) { + return _mm_cmp_pd(a, b, _CMP_LT_OQ); + } + + static FORCEINLINE mask_type cmp_le(type a, type b) { + return _mm_cmp_pd(a, b, _CMP_LE_OQ); + } + + static FORCEINLINE mask_type cmp_gt(type a, type b) { + return _mm_cmp_pd(a, b, _CMP_GT_OQ); + } + + static FORCEINLINE mask_type cmp_ge(type a, type b) { + return _mm_cmp_pd(a, b, _CMP_GE_OQ); + } + + static FORCEINLINE int32 movemask(mask_type mask) { + return _mm_movemask_pd(mask); + } + + static FORCEINLINE type select(type a, type b, mask_type mask) { + // blendv picks b where the sign bit of the mask lane is set: one instruction instead of and/andnot/or + return _mm_blendv_pd(a, b, mask); + } + }; + + template <> + struct simd_traits { + using type = __m128; + using mask_type = __m128; + static constexpr usize width = 4; + + static FORCEINLINE type load(const float32* data) { + return _mm_loadu_ps(data); + } + + static FORCEINLINE void store(float32* data, type vec) { + _mm_storeu_ps(data, vec); + } + + static FORCEINLINE float32* from(type& data) { + return reinterpret_cast(&data); + } + + static FORCEINLINE type set1(float32 scalar) { + return _mm_set1_ps(scalar); + } + + static FORCEINLINE type set4(float32 a, float32 b, float32 c, float32 d) { + return _mm_set_ps(d, c, b, a); + } + + static FORCEINLINE type add(type a, type b) { + return _mm_add_ps(a, b); + } + + static FORCEINLINE type sub(type a, type b) { + return _mm_sub_ps(a, b); + } + + static FORCEINLINE type mul(type a, type b) { + return _mm_mul_ps(a, b); + } + + static FORCEINLINE type div(type a, type b) { + return _mm_div_ps(a, b); + } + + static FORCEINLINE type sqrt(type a) { + return _mm_sqrt_ps(a); + } + + static FORCEINLINE type neg(type a) { + return _mm_xor_ps(a, _mm_set1_ps(-0.0f)); + } + + static FORCEINLINE type min(type a, type b) { + return _mm_min_ps(a, b); + } + + static FORCEINLINE type max(type a, type b) { + return _mm_max_ps(a, b); + } + + template + static FORCEINLINE type permute(type a) { + static_assert(I0 >= 0 && I0 < 4 && I1 >= 0 && I1 < 4 && I2 >= 0 && I2 < 4 && I3 >= 0 && I3 < 4, + "permute index out of range"); + return _mm_shuffle_ps(a, a, _MM_SHUFFLE(I3, I2, I1, I0)); + } + + template + static FORCEINLINE type blend(type a, type b) { + static_assert(Mask >= 0 && Mask < 16, "blend mask must fit in 4 bits"); + return _mm_blend_ps(a, b, Mask); + } + + static FORCEINLINE type gather(const float32* base, const int32* idx) { + return _mm_i32gather_ps(base, _mm_loadu_si128(reinterpret_cast(idx)), 4); + } + + static FORCEINLINE float32 reduce_add(type a) { + type t = _mm_add_ps(a, _mm_movehl_ps(a, a)); + t = _mm_add_ss(t, _mm_shuffle_ps(t, t, 0x55)); + return _mm_cvtss_f32(t); + } + + static FORCEINLINE bool all_equal(type a, type b) { + return _mm_movemask_ps(_mm_cmpeq_ps(a, b)) == 0xF; + } + + static FORCEINLINE mask_type compareEqual(type a, type b) { + return _mm_cmpeq_ps(a, b); + } + + static FORCEINLINE mask_type cmp_lt(type a, type b) { + return _mm_cmp_ps(a, b, _CMP_LT_OQ); + } + + static FORCEINLINE mask_type cmp_le(type a, type b) { + return _mm_cmp_ps(a, b, _CMP_LE_OQ); + } + + static FORCEINLINE mask_type cmp_gt(type a, type b) { + return _mm_cmp_ps(a, b, _CMP_GT_OQ); + } + + static FORCEINLINE mask_type cmp_ge(type a, type b) { + return _mm_cmp_ps(a, b, _CMP_GE_OQ); + } + + static FORCEINLINE int32 movemask(mask_type mask) { + return _mm_movemask_ps(mask); + } + + static FORCEINLINE type select(type a, type b, mask_type mask) { + return _mm_blendv_ps(a, b, mask); + } + }; + + template <> + struct simd_traits { + using type = __m256; + using mask_type = __m256; + static constexpr usize width = 8; + + static FORCEINLINE type load(const float32* data) { + return _mm256_loadu_ps(data); + } + + static FORCEINLINE void store(float32* data, type vec) { + _mm256_storeu_ps(data, vec); + } + + static FORCEINLINE float32* from(type& data) { + return reinterpret_cast(&data); + } + + static FORCEINLINE type set1(float32 scalar) { + return _mm256_set1_ps(scalar); + } + + static FORCEINLINE type set8(float32 a, float32 b, float32 c, float32 d, float32 e, float32 f, float32 g, + float32 h) { + return _mm256_set_ps(h, g, f, e, d, c, b, a); + } + + static FORCEINLINE type add(type a, type b) { + return _mm256_add_ps(a, b); + } + + static FORCEINLINE type sub(type a, type b) { + return _mm256_sub_ps(a, b); + } + + static FORCEINLINE type mul(type a, type b) { + return _mm256_mul_ps(a, b); + } + + static FORCEINLINE type div(type a, type b) { + return _mm256_div_ps(a, b); + } + + static FORCEINLINE type sqrt(type a) { + return _mm256_sqrt_ps(a); + } + + static FORCEINLINE type neg(type a) { + return _mm256_xor_ps(a, _mm256_set1_ps(-0.0f)); + } + + static FORCEINLINE type min(type a, type b) { + return _mm256_min_ps(a, b); + } + + static FORCEINLINE type max(type a, type b) { + return _mm256_max_ps(a, b); + } + + // Full cross-lane permutation (AVX2 vpermps): lane k = a[Ik] + template + static FORCEINLINE type permute(type a) { + static_assert(I0 >= 0 && I0 < 8 && I1 >= 0 && I1 < 8 && I2 >= 0 && I2 < 8 && I3 >= 0 && I3 < 8 && I4 >= 0 && + I4 < 8 && I5 >= 0 && I5 < 8 && I6 >= 0 && I6 < 8 && I7 >= 0 && I7 < 8, + "permute index out of range"); + return _mm256_permutevar8x32_ps(a, _mm256_setr_epi32(I0, I1, I2, I3, I4, I5, I6, I7)); + } + + template + static FORCEINLINE type blend(type a, type b) { + static_assert(Mask >= 0 && Mask < 256, "blend mask must fit in 8 bits"); + return _mm256_blend_ps(a, b, Mask); + } + + static FORCEINLINE type gather(const float32* base, const int32* idx) { + return _mm256_i32gather_ps(base, _mm256_loadu_si256(reinterpret_cast(idx)), 4); + } + + static FORCEINLINE float32 reduce_add(type a) { + const __m128 sum = _mm_add_ps(_mm256_castps256_ps128(a), _mm256_extractf128_ps(a, 1)); + return simd_traits::reduce_add(sum); + } + + static FORCEINLINE bool all_equal(type a, type b) { + return _mm256_movemask_ps(_mm256_cmp_ps(a, b, _CMP_EQ_OQ)) == 0xFF; + } + + static FORCEINLINE mask_type compareEqual(type a, type b) { + return _mm256_cmp_ps(a, b, _CMP_EQ_OQ); + } + + static FORCEINLINE mask_type cmp_lt(type a, type b) { + return _mm256_cmp_ps(a, b, _CMP_LT_OQ); + } + + static FORCEINLINE mask_type cmp_le(type a, type b) { + return _mm256_cmp_ps(a, b, _CMP_LE_OQ); + } + + static FORCEINLINE mask_type cmp_gt(type a, type b) { + return _mm256_cmp_ps(a, b, _CMP_GT_OQ); + } + + static FORCEINLINE mask_type cmp_ge(type a, type b) { + return _mm256_cmp_ps(a, b, _CMP_GE_OQ); + } + + static FORCEINLINE int32 movemask(mask_type mask) { + return _mm256_movemask_ps(mask); + } + + static FORCEINLINE type select(type a, type b, mask_type mask) { + return _mm256_blendv_ps(a, b, mask); + } + }; + + template <> + struct simd_traits { + using type = __m256d; + using mask_type = __m256d; + static constexpr usize width = 4; + + static FORCEINLINE type load(const float64* data) { + return _mm256_loadu_pd(data); + } + + static FORCEINLINE void store(float64* data, type vec) { + _mm256_storeu_pd(data, vec); + } + + static FORCEINLINE float64* from(type& data) { + return reinterpret_cast(&data); + } + + static FORCEINLINE type set1(float64 scalar) { + return _mm256_set1_pd(scalar); + } + + static FORCEINLINE type set4(float64 a, float64 b, float64 c, float64 d) { + return _mm256_set_pd(d, c, b, a); + } + + static FORCEINLINE type add(type a, type b) { + return _mm256_add_pd(a, b); + } + + static FORCEINLINE type sub(type a, type b) { + return _mm256_sub_pd(a, b); + } + + static FORCEINLINE type mul(type a, type b) { + return _mm256_mul_pd(a, b); + } + + static FORCEINLINE type div(type a, type b) { + return _mm256_div_pd(a, b); + } + + static FORCEINLINE type sqrt(type a) { + return _mm256_sqrt_pd(a); + } + + static FORCEINLINE type neg(type a) { + return _mm256_xor_pd(a, _mm256_set1_pd(-0.0)); + } + + static FORCEINLINE type min(type a, type b) { + return _mm256_min_pd(a, b); + } + + static FORCEINLINE type max(type a, type b) { + return _mm256_max_pd(a, b); + } + + template + static FORCEINLINE type permute(type a) { + static_assert(I0 >= 0 && I0 < 4 && I1 >= 0 && I1 < 4 && I2 >= 0 && I2 < 4 && I3 >= 0 && I3 < 4, + "permute index out of range"); + return _mm256_permute4x64_pd(a, _MM_SHUFFLE(I3, I2, I1, I0)); + } + + template + static FORCEINLINE type blend(type a, type b) { + static_assert(Mask >= 0 && Mask < 16, "blend mask must fit in 4 bits"); + return _mm256_blend_pd(a, b, Mask); + } + + static FORCEINLINE type gather(const float64* base, const int32* idx) { + return _mm256_i32gather_pd(base, _mm_loadu_si128(reinterpret_cast(idx)), 8); + } + + static FORCEINLINE float64 reduce_add(type a) { + const __m128d sum = _mm_add_pd(_mm256_castpd256_pd128(a), _mm256_extractf128_pd(a, 1)); + return simd_traits::reduce_add(sum); + } + + static FORCEINLINE bool all_equal(type a, type b) { + return _mm256_movemask_pd(_mm256_cmp_pd(a, b, _CMP_EQ_OQ)) == 0xF; + } + + static FORCEINLINE mask_type compareEqual(type a, type b) { + return _mm256_cmp_pd(a, b, _CMP_EQ_OQ); + } + + static FORCEINLINE mask_type cmp_lt(type a, type b) { + return _mm256_cmp_pd(a, b, _CMP_LT_OQ); + } + + static FORCEINLINE mask_type cmp_le(type a, type b) { + return _mm256_cmp_pd(a, b, _CMP_LE_OQ); + } + + static FORCEINLINE mask_type cmp_gt(type a, type b) { + return _mm256_cmp_pd(a, b, _CMP_GT_OQ); + } + + static FORCEINLINE mask_type cmp_ge(type a, type b) { + return _mm256_cmp_pd(a, b, _CMP_GE_OQ); + } + + static FORCEINLINE int32 movemask(mask_type mask) { + return _mm256_movemask_pd(mask); + } + + static FORCEINLINE type select(type a, type b, mask_type mask) { + return _mm256_blendv_pd(a, b, mask); + } + }; + + // Bit width 0 = scalar "batch" of one element: lets the same generic code handle the tail of a loop. + template + struct simd_traits { + using type = T; + using mask_type = bool; + static constexpr usize width = 1; + + static constexpr FORCEINLINE type load(const T* data) { + return *data; + } + + static constexpr FORCEINLINE void store(T* data, type vec) { + *data = vec; + } + + static constexpr FORCEINLINE T* from(type& data) { + return &data; + } + + static constexpr FORCEINLINE type set1(T scalar) { + return scalar; + } + + static constexpr FORCEINLINE type add(type a, type b) { + return a + b; + } + + static constexpr FORCEINLINE type sub(type a, type b) { + return a - b; + } + + static constexpr FORCEINLINE type mul(type a, type b) { + return a * b; + } + + static constexpr FORCEINLINE type div(type a, type b) { + return a / b; + } + + static constexpr FORCEINLINE type sqrt(type a) { + return std::sqrt(a); + } + + static constexpr FORCEINLINE type neg(type a) { + return -a; + } + + // Same semantics as _mm_min/max: returns b when a and b are unordered (NaN) + static constexpr FORCEINLINE type min(type a, type b) { + return a < b ? a : b; + } + + static constexpr FORCEINLINE type max(type a, type b) { + return a > b ? a : b; + } + + template + static constexpr FORCEINLINE type permute(type a) { + static_assert(I0 == 0, "permute index out of range"); + return a; + } + + template + static constexpr FORCEINLINE type blend(type a, type b) { + static_assert(Mask >= 0 && Mask < 2, "blend mask must fit in 1 bit"); + return (Mask & 1) ? b : a; + } + + static constexpr FORCEINLINE type gather(const T* base, const int32* idx) { + return base[idx[0]]; + } + + static constexpr FORCEINLINE T reduce_add(type a) { + return a; + } + + static constexpr FORCEINLINE bool all_equal(type a, type b) { + return a == b; + } + + static constexpr FORCEINLINE mask_type compareEqual(type a, type b) { + return a == b; + } + + static constexpr FORCEINLINE mask_type cmp_lt(type a, type b) { + return a < b; + } + + static constexpr FORCEINLINE mask_type cmp_le(type a, type b) { + return a <= b; + } + + static constexpr FORCEINLINE mask_type cmp_gt(type a, type b) { + return a > b; + } + + static constexpr FORCEINLINE mask_type cmp_ge(type a, type b) { + return a >= b; + } + + static constexpr FORCEINLINE int32 movemask(mask_type mask) { + return mask ? 1 : 0; + } + + static constexpr FORCEINLINE type select(type a, type b, mask_type mask) { + return mask ? b : a; + } + }; +} // namespace Nexus::Simd + +#if defined(__clang__) +# pragma clang diagnostic pop +#endif diff --git a/Source/Engine/NexusEngine.cppm b/Source/Engine/NexusEngine.cppm index fb20230..d2d2479 100644 --- a/Source/Engine/NexusEngine.cppm +++ b/Source/Engine/NexusEngine.cppm @@ -17,6 +17,8 @@ export import NE.Engine.Core.Window; export import NE.Engine.Math.Mat; export import NE.Engine.Math.Quaternion; export import NE.Engine.Math.Vec; +export import NE.Engine.Math.Simd.Config; +export import NE.Engine.Math.Simd.Traits; // Network export import NE.Engine.Network.Common.NetworkAddress; From 464d217c4db2539103ff70aa4622d77b5d209bfd Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 15 Nov 2026 16:12:30 +0100 Subject: [PATCH 22/25] Fix linux compilation error. Signed-off-by: Dylan Hollemaert --- Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp index c134da1..10ebf6a 100644 --- a/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp +++ b/Source/Engine/RHI/Private/Backend/Vulkan/Texture.cpp @@ -28,8 +28,7 @@ namespace Nexus::RHI { imageInfo.setUsage(ConvertTextureUsageToVulkan(desc.Usage)); imageInfo.setFlags(desc.IsCubeMap ? vk::ImageCreateFlagBits::eCubeCompatible : vk::ImageCreateFlags{}); - vma::AllocationCreateInfo allocInfo; - std::memset(&allocInfo, 0, sizeof(allocInfo)); + vma::AllocationCreateInfo allocInfo = {}; allocInfo.usage = vma::MemoryUsage::eGpuOnly; vk::Result result = allocator.createImage(&imageInfo, &allocInfo, &m_Image, &m_Allocation, &m_AllocationInfo); From f772a6a3f24be9e3e09610bb61269ed6236c44d1 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Sun, 15 Nov 2026 23:24:22 +0100 Subject: [PATCH 23/25] Not needed for now, and it was a bad way of doing it anyway. Signed-off-by: Dylan Hollemaert --- Source/CMakeLists.txt | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index b08565f..aa00bc1 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -1,16 +1,5 @@ # SPDX-License-Identifier: MIT -if(MSVC) - set(NEXUS_COMPILE_FLAGS /arch:AVX2 /GL /Oi) - set(NEXUS_LINK_FLAGS /LTCG) -else() - set(NEXUS_COMPILE_FLAGS -march=native -mfma) - set(NEXUS_LINK_FLAGS -flto) -endif() - -add_compile_options(${NEXUS_COMPILE_FLAGS}) -add_link_options(${NEXUS_LINK_FLAGS}) - add_subdirectory(Editor) add_subdirectory(Engine) add_subdirectory(ThirdParty) From f0a899d43967c085f673a5b257668ed7e4a36e44 Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 16 Nov 2026 01:02:26 +0100 Subject: [PATCH 24/25] Was supposed to be a bugfix, then I added some QoL functions. Signed-off-by: Dylan Hollemaert --- .../Network/Platform/Linux/LinuxSocket.cpp | 4 ++ .../Platform/Linux/LinuxSocket_Internal.cpp | 9 +++ .../Platform/Linux/LinuxSocket_Internal.hpp | 1 + .../Network/Platform/Public/Socket.cppm | 2 + .../Windows/WindowsScoket_Internal.hpp | 1 + .../Platform/Windows/WindowsSocket.cpp | 7 +- .../Windows/WindowsSocket_Internal.cpp | 9 +++ .../Engine/Network/TCP/Private/TCPServer.cpp | 10 +++ .../Engine/Network/TCP/Public/TCPServer.cppm | 3 + .../Engine/Network/UDP/Private/UDPSocket.cpp | 4 ++ .../Engine/Network/UDP/Public/UDPSocket.cppm | 1 + Tests/Engine/Network/NetworkManagerTests.cpp | 11 +-- Tests/Engine/Network/SocketTests.cpp | 69 +++++++------------ Tests/Engine/Network/TCPClientTests.cpp | 16 ++--- Tests/Engine/Network/TCPServerTests.cpp | 60 +++++++--------- Tests/Engine/Network/UDPSocketTests.cpp | 40 ++++------- 16 files changed, 119 insertions(+), 128 deletions(-) diff --git a/Source/Engine/Network/Platform/Linux/LinuxSocket.cpp b/Source/Engine/Network/Platform/Linux/LinuxSocket.cpp index e7fe076..a628edf 100644 --- a/Source/Engine/Network/Platform/Linux/LinuxSocket.cpp +++ b/Source/Engine/Network/Platform/Linux/LinuxSocket.cpp @@ -127,6 +127,10 @@ namespace Nexus::Network { return RawBind(m_handle, port); } + uint16 Socket::GetBoundPort() const { + return RawGetPort(m_handle); + } + bool Socket::Connect(const NetworkAddress& address, std::optional& outError) { if (!IsValid() || m_type != SocketType::TCP) { SetError(outError, NetworkErrorCode::InvalidOperation, "Connect requires a valid TCP socket"); diff --git a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp index fba56f9..b206f8e 100644 --- a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp +++ b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp @@ -121,6 +121,15 @@ namespace Nexus::Network::Internal { return ::bind(static_cast(handle), reinterpret_cast(&sa), sizeof(sa)) == 0; } + unsigned short RawGetPort(RawHandle handle) { + sockaddr_in sa{}; + socklen_t len = sizeof(sa); + if (::getsockname(static_cast(handle), reinterpret_cast(&sa), &len) != 0) { + return 0; + } + return ntohs(sa.sin_port); + } + bool RawListen(RawHandle handle, int backlog) { return ::listen(static_cast(handle), backlog) == 0; } diff --git a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.hpp b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.hpp index 8bd9e49..c7dceef 100644 --- a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.hpp +++ b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.hpp @@ -52,6 +52,7 @@ namespace Nexus::Network::Internal { [[nodiscard]] bool RawSetReuseAddr(RawHandle handle); [[nodiscard]] bool RawBind(RawHandle handle, unsigned short port); + [[nodiscard]] unsigned short RawGetPort(RawHandle handle); [[nodiscard]] bool RawListen(RawHandle handle, int backlog); [[nodiscard]] RawHandle RawAccept(RawHandle handle); diff --git a/Source/Engine/Network/Platform/Public/Socket.cppm b/Source/Engine/Network/Platform/Public/Socket.cppm index d731849..0eec4d1 100644 --- a/Source/Engine/Network/Platform/Public/Socket.cppm +++ b/Source/Engine/Network/Platform/Public/Socket.cppm @@ -42,6 +42,7 @@ export namespace Nexus::Network { bool SetNonBlocking(bool enabled); bool Bind(uint16 port); + uint16 GetBoundPort() const; bool Connect(const NetworkAddress& address, std::optional& outError); [[nodiscard]] bool CompleteConnect(std::optional& outError); @@ -63,6 +64,7 @@ export namespace Nexus::Network { private: NativeSocketHandle m_handle = INVALID_SOCKET; SocketType m_type = SocketType::TCP; + uint16 m_port = 0; }; } // namespace Nexus::Network diff --git a/Source/Engine/Network/Platform/Windows/WindowsScoket_Internal.hpp b/Source/Engine/Network/Platform/Windows/WindowsScoket_Internal.hpp index f104f6b..1918df4 100644 --- a/Source/Engine/Network/Platform/Windows/WindowsScoket_Internal.hpp +++ b/Source/Engine/Network/Platform/Windows/WindowsScoket_Internal.hpp @@ -54,6 +54,7 @@ namespace Nexus::Network::Internal { [[nodiscard]] bool RawSetReuseAddr(RawHandle handle); [[nodiscard]] bool RawBind(RawHandle handle, unsigned short port); + [[nodiscard]] unsigned short RawGetPort(RawHandle handle); [[nodiscard]] bool RawListen(RawHandle handle, int backlog); [[nodiscard]] RawHandle RawAccept(RawHandle handle); diff --git a/Source/Engine/Network/Platform/Windows/WindowsSocket.cpp b/Source/Engine/Network/Platform/Windows/WindowsSocket.cpp index 1acf92d..6697d65 100644 --- a/Source/Engine/Network/Platform/Windows/WindowsSocket.cpp +++ b/Source/Engine/Network/Platform/Windows/WindowsSocket.cpp @@ -154,7 +154,12 @@ namespace Nexus::Network { } static_cast(RawSetReuseAddr(m_handle)); - return RawBind(m_handle, port); + m_port = port; + return RawBind(m_handle, m_port); + } + + uint16 Socket::GetBoundPort() const { + return RawGetPort(m_handle); } bool Socket::Connect(const NetworkAddress& address, std::optional& outError) { diff --git a/Source/Engine/Network/Platform/Windows/WindowsSocket_Internal.cpp b/Source/Engine/Network/Platform/Windows/WindowsSocket_Internal.cpp index 2e12178..28c185f 100644 --- a/Source/Engine/Network/Platform/Windows/WindowsSocket_Internal.cpp +++ b/Source/Engine/Network/Platform/Windows/WindowsSocket_Internal.cpp @@ -144,6 +144,15 @@ namespace Nexus::Network::Internal { return ::bind(static_cast(handle), reinterpret_cast(&sa), sizeof(sa)) == 0; } + unsigned short RawGetPort(RawHandle handle) { + sockaddr_in sa{}; + int len = sizeof(sa); + if (::getsockname(static_cast(handle), reinterpret_cast(&sa), &len) != 0) { + return 0; + } + return ntohs(sa.sin_port); + } + bool RawListen(RawHandle handle, int backlog) { return ::listen(static_cast(handle), backlog) == 0; } diff --git a/Source/Engine/Network/TCP/Private/TCPServer.cpp b/Source/Engine/Network/TCP/Private/TCPServer.cpp index bb2dd69..b6c10e4 100644 --- a/Source/Engine/Network/TCP/Private/TCPServer.cpp +++ b/Source/Engine/Network/TCP/Private/TCPServer.cpp @@ -29,6 +29,12 @@ namespace Nexus::Network { return false; } + m_boundPort = m_listenSocket.GetBoundPort(); + if (m_boundPort == 0) { + m_listenSocket.Close(); + return false; + } + m_nextClientId = 1; return true; } @@ -91,6 +97,10 @@ namespace Nexus::Network { } } + uint16 TCPServer::GetBoundPort() const { + return m_boundPort; + } + usize TCPServer::ClientCount() const noexcept { return m_clients.size(); } diff --git a/Source/Engine/Network/TCP/Public/TCPServer.cppm b/Source/Engine/Network/TCP/Public/TCPServer.cppm index 2bb85ac..46e55d6 100644 --- a/Source/Engine/Network/TCP/Public/TCPServer.cppm +++ b/Source/Engine/Network/TCP/Public/TCPServer.cppm @@ -32,11 +32,14 @@ export namespace Nexus::Network { void Broadcast(std::span framedData); + uint16 GetBoundPort() const; + [[nodiscard]] usize ClientCount() const noexcept; private: Socket m_listenSocket; std::unordered_map m_clients; ClientId m_nextClientId = 1; + uint16 m_boundPort = 0; }; } // namespace Nexus::Network diff --git a/Source/Engine/Network/UDP/Private/UDPSocket.cpp b/Source/Engine/Network/UDP/Private/UDPSocket.cpp index fd1ae9a..6930c69 100644 --- a/Source/Engine/Network/UDP/Private/UDPSocket.cpp +++ b/Source/Engine/Network/UDP/Private/UDPSocket.cpp @@ -25,6 +25,10 @@ namespace Nexus::Network { return true; } + uint16 UDPSocket::GetBoundPort() const { + return m_socket.GetBoundPort(); + } + void UDPSocket::Close() { m_socket.Close(); } diff --git a/Source/Engine/Network/UDP/Public/UDPSocket.cppm b/Source/Engine/Network/UDP/Public/UDPSocket.cppm index a8c94be..a526470 100644 --- a/Source/Engine/Network/UDP/Public/UDPSocket.cppm +++ b/Source/Engine/Network/UDP/Public/UDPSocket.cppm @@ -32,6 +32,7 @@ export namespace Nexus::Network { UDPSocket& operator=(UDPSocket&&) noexcept = default; bool Bind(uint16 port); + uint16 GetBoundPort() const; void Close(); diff --git a/Tests/Engine/Network/NetworkManagerTests.cpp b/Tests/Engine/Network/NetworkManagerTests.cpp index 1901fd6..adbefa2 100644 --- a/Tests/Engine/Network/NetworkManagerTests.cpp +++ b/Tests/Engine/Network/NetworkManagerTests.cpp @@ -28,11 +28,6 @@ namespace { return predicate(); } - Nexus::uint16 NextTestPort() { - static std::atomic counter{55000}; - return counter.fetch_add(1); - } - // A raw-Socket "server" used as the peer for NetworkManager's TCP side, // so NetworkManager is tested in isolation rather than against TCPServer. struct RawServer { @@ -42,12 +37,12 @@ namespace { static std::optional Create() { RawServer result; - result.port = NextTestPort(); result.listener = Socket(SocketType::TCP); - if (!result.listener.IsValid() || !result.listener.SetNonBlocking(true) || - !result.listener.Bind(result.port) || !result.listener.Listen()) { + if (!result.listener.IsValid() || !result.listener.SetNonBlocking(true) || !result.listener.Bind(0) || + !result.listener.Listen()) { return std::nullopt; } + result.port = result.listener.GetBoundPort(); return result; } diff --git a/Tests/Engine/Network/SocketTests.cpp b/Tests/Engine/Network/SocketTests.cpp index e543834..c505d96 100644 --- a/Tests/Engine/Network/SocketTests.cpp +++ b/Tests/Engine/Network/SocketTests.cpp @@ -25,12 +25,6 @@ namespace { return predicate(); } - Nexus::uint16 NextTestPort() { - // avoids collisions on ports that are still active/waiting to be closed - static std::atomic counter{51000}; - return counter.fetch_add(1); - } - class SocketTest : public ::testing::Test {}; } // namespace @@ -148,35 +142,29 @@ TEST_F(SocketTest, BindThenListenSucceeds) { Socket listener(SocketType::TCP); ASSERT_TRUE(listener.IsValid()); ASSERT_TRUE(listener.SetNonBlocking(true)); - - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(listener.Bind(port)); + ASSERT_TRUE(listener.Bind(0)); EXPECT_TRUE(listener.Listen()); } TEST_F(SocketTest, AcceptOnListenerWithNoPendingConnectionReturnsNullopt) { Socket listener(SocketType::TCP); ASSERT_TRUE(listener.SetNonBlocking(true)); - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(listener.Bind(port)); + ASSERT_TRUE(listener.Bind(0)); ASSERT_TRUE(listener.Listen()); - EXPECT_FALSE(listener.Accept().has_value()); } TEST_F(SocketTest, ClientCanConnectAndServerCanAccept) { - const Nexus::uint16 port = NextTestPort(); - Socket listener(SocketType::TCP); ASSERT_TRUE(listener.SetNonBlocking(true)); - ASSERT_TRUE(listener.Bind(port)); + ASSERT_TRUE(listener.Bind(0)); ASSERT_TRUE(listener.Listen()); Socket client(SocketType::TCP); ASSERT_TRUE(client.SetNonBlocking(true)); std::optional connectError; - EXPECT_TRUE(client.Connect(NetworkAddress("127.0.0.1", port), connectError)); + EXPECT_TRUE(client.Connect(NetworkAddress("127.0.0.1", listener.GetBoundPort()), connectError)); std::optional accepted; const bool got = WaitUntil([&] { @@ -191,18 +179,16 @@ TEST_F(SocketTest, ClientCanConnectAndServerCanAccept) { } TEST_F(SocketTest, ConnectToNonBlockingSocketReportsConnectionInProgressOrSucceeds) { - const Nexus::uint16 port = NextTestPort(); - Socket listener(SocketType::TCP); ASSERT_TRUE(listener.SetNonBlocking(true)); - ASSERT_TRUE(listener.Bind(port)); + ASSERT_TRUE(listener.Bind(0)); ASSERT_TRUE(listener.Listen()); Socket client(SocketType::TCP); ASSERT_TRUE(client.SetNonBlocking(true)); std::optional error; - const bool started = client.Connect(NetworkAddress("127.0.0.1", port), error); + const bool started = client.Connect(NetworkAddress("127.0.0.1", listener.GetBoundPort()), error); EXPECT_TRUE(started); if (error.has_value()) { @@ -211,17 +197,15 @@ TEST_F(SocketTest, ConnectToNonBlockingSocketReportsConnectionInProgressOrSuccee } TEST_F(SocketTest, CompleteConnectEventuallySucceeds) { - const Nexus::uint16 port = NextTestPort(); - Socket listener(SocketType::TCP); ASSERT_TRUE(listener.SetNonBlocking(true)); - ASSERT_TRUE(listener.Bind(port)); + ASSERT_TRUE(listener.Bind(0)); ASSERT_TRUE(listener.Listen()); Socket client(SocketType::TCP); ASSERT_TRUE(client.SetNonBlocking(true)); std::optional connectError; - ASSERT_TRUE(client.Connect(NetworkAddress("127.0.0.1", port), connectError)); + ASSERT_TRUE(client.Connect(NetworkAddress("127.0.0.1", listener.GetBoundPort()), connectError)); const bool completed = WaitUntil([&] { static_cast(listener.Accept()); @@ -237,7 +221,7 @@ TEST_F(SocketTest, ConnectToClosedPortFails) { ASSERT_TRUE(client.SetNonBlocking(true)); // Nothing is listening on this port. - const Nexus::uint16 port = NextTestPort(); + const Nexus::uint16 port = 0; std::optional connectError; const bool started = client.Connect(NetworkAddress("127.0.0.1", port), connectError); @@ -267,9 +251,9 @@ namespace { Socket server; }; - std::optional MakeConnectedPair(Nexus::uint16 port) { + std::optional MakeConnectedPair() { Socket listener(SocketType::TCP); - if (!listener.SetNonBlocking(true) || !listener.Bind(port) || !listener.Listen()) { + if (!listener.SetNonBlocking(true) || !listener.Bind(0) || !listener.Listen()) { return std::nullopt; } @@ -279,7 +263,7 @@ namespace { } std::optional connectError; - if (!client.Connect(NetworkAddress("127.0.0.1", port), connectError)) { + if (!client.Connect(NetworkAddress("127.0.0.1", listener.GetBoundPort()), connectError)) { return std::nullopt; } @@ -304,7 +288,7 @@ namespace { } // namespace TEST_F(SocketTest, SendThenReceiveDeliversData) { - auto pair = MakeConnectedPair(NextTestPort()); + auto pair = MakeConnectedPair(); ASSERT_TRUE(pair.has_value()); const std::array payload{Nexus::byte{'h'}, Nexus::byte{'e'}, Nexus::byte{'l'}, Nexus::byte{'l'}, @@ -328,7 +312,7 @@ TEST_F(SocketTest, SendThenReceiveDeliversData) { } TEST_F(SocketTest, ReceiveOnSocketWithNoDataReturnsWouldBlock) { - auto pair = MakeConnectedPair(NextTestPort()); + auto pair = MakeConnectedPair(); ASSERT_TRUE(pair.has_value()); std::array buffer{}; @@ -341,7 +325,7 @@ TEST_F(SocketTest, ReceiveOnSocketWithNoDataReturnsWouldBlock) { } TEST_F(SocketTest, ReceiveAfterPeerClosesReportsConnectionClosed) { - auto pair = MakeConnectedPair(NextTestPort()); + auto pair = MakeConnectedPair(); ASSERT_TRUE(pair.has_value()); pair->client.Close(); @@ -358,7 +342,7 @@ TEST_F(SocketTest, ReceiveAfterPeerClosesReportsConnectionClosed) { } TEST_F(SocketTest, SendEmptySpanSucceedsWithZeroBytes) { - auto pair = MakeConnectedPair(NextTestPort()); + auto pair = MakeConnectedPair(); ASSERT_TRUE(pair.has_value()); std::optional error; @@ -374,15 +358,13 @@ TEST_F(SocketTest, SendEmptySpanSucceedsWithZeroBytes) { TEST_F(SocketTest, UdpBindSucceeds) { Socket udp(SocketType::UDP); ASSERT_TRUE(udp.SetNonBlocking(true)); - EXPECT_TRUE(udp.Bind(NextTestPort())); + EXPECT_TRUE(udp.Bind(0)); } TEST_F(SocketTest, UdpSendToThenReceiveFromDeliversDatagram) { - const Nexus::uint16 serverPort = NextTestPort(); - Socket server(SocketType::UDP); ASSERT_TRUE(server.SetNonBlocking(true)); - ASSERT_TRUE(server.Bind(serverPort)); + ASSERT_TRUE(server.Bind(0)); Socket client(SocketType::UDP); ASSERT_TRUE(client.SetNonBlocking(true)); @@ -390,7 +372,7 @@ TEST_F(SocketTest, UdpSendToThenReceiveFromDeliversDatagram) { const std::array payload{Nexus::byte{1}, Nexus::byte{2}, Nexus::byte{3}}; std::optional sendError; - const auto sent = client.SendTo(NetworkAddress("127.0.0.1", serverPort), payload, sendError); + const auto sent = client.SendTo(NetworkAddress("127.0.0.1", server.GetBoundPort()), payload, sendError); ASSERT_TRUE(sent.has_value()); EXPECT_EQ(*sent, payload.size()); @@ -412,7 +394,7 @@ TEST_F(SocketTest, UdpSendToThenReceiveFromDeliversDatagram) { TEST_F(SocketTest, UdpReceiveWithNoDataReturnsWouldBlock) { Socket udp(SocketType::UDP); ASSERT_TRUE(udp.SetNonBlocking(true)); - ASSERT_TRUE(udp.Bind(NextTestPort())); + ASSERT_TRUE(udp.Bind(0)); std::array buffer{}; NetworkAddress sender; @@ -425,20 +407,17 @@ TEST_F(SocketTest, UdpReceiveWithNoDataReturnsWouldBlock) { } TEST_F(SocketTest, UdpSenderAddressMatchesClientBoundPort) { - const Nexus::uint16 serverPort = NextTestPort(); - const Nexus::uint16 clientPort = NextTestPort(); - Socket server(SocketType::UDP); ASSERT_TRUE(server.SetNonBlocking(true)); - ASSERT_TRUE(server.Bind(serverPort)); + ASSERT_TRUE(server.Bind(0)); Socket client(SocketType::UDP); ASSERT_TRUE(client.SetNonBlocking(true)); - ASSERT_TRUE(client.Bind(clientPort)); + ASSERT_TRUE(client.Bind(0)); const std::array payload{Nexus::byte{7}}; std::optional sendError; - ASSERT_TRUE(client.SendTo(NetworkAddress("127.0.0.1", serverPort), payload, sendError).has_value()); + ASSERT_TRUE(client.SendTo(NetworkAddress("127.0.0.1", server.GetBoundPort()), payload, sendError).has_value()); std::array buffer{}; NetworkAddress sender; @@ -450,5 +429,5 @@ TEST_F(SocketTest, UdpSenderAddressMatchesClientBoundPort) { }); ASSERT_TRUE(got); - EXPECT_EQ(sender.Port(), clientPort); + EXPECT_EQ(sender.Port(), client.GetBoundPort()); } diff --git a/Tests/Engine/Network/TCPClientTests.cpp b/Tests/Engine/Network/TCPClientTests.cpp index 3de54b1..d758e6f 100644 --- a/Tests/Engine/Network/TCPClientTests.cpp +++ b/Tests/Engine/Network/TCPClientTests.cpp @@ -28,23 +28,18 @@ namespace { return predicate(); } - Nexus::uint16 NextTestPort() { - static std::atomic counter{52000}; - return counter.fetch_add(1); - } - struct RawListener { Socket listener; Nexus::uint16 port = 0; static std::optional Create() { RawListener result; - result.port = NextTestPort(); result.listener = Socket(SocketType::TCP); - if (!result.listener.IsValid() || !result.listener.SetNonBlocking(true) || - !result.listener.Bind(result.port) || !result.listener.Listen()) { + if (!result.listener.IsValid() || !result.listener.SetNonBlocking(true) || !result.listener.Bind(0) || + !result.listener.Listen()) { return std::nullopt; } + result.port = result.listener.GetBoundPort(); return result; } @@ -54,7 +49,7 @@ namespace { accepted = listener.Accept(); return accepted.has_value(); }); - const bool nonBlocking = accepted->SetNonBlocking(true); + const bool _ = accepted->SetNonBlocking(true); return accepted; } }; @@ -76,9 +71,8 @@ TEST_F(TCPClientTest, DefaultConstructedIsNotConnected) { TEST_F(TCPClientTest, ConnectToClosedPortFailsOrEndsUpDisconnected) { TCPClient client; - const Nexus::uint16 port = NextTestPort(); // nothing listening here - const bool started = client.Connect(NetworkAddress("127.0.0.1", port)); + const bool started = client.Connect(NetworkAddress("127.0.0.1", 0)); // nothing listening here if (!started) { EXPECT_FALSE(client.IsConnected()); return; diff --git a/Tests/Engine/Network/TCPServerTests.cpp b/Tests/Engine/Network/TCPServerTests.cpp index 506ab10..73f832d 100644 --- a/Tests/Engine/Network/TCPServerTests.cpp +++ b/Tests/Engine/Network/TCPServerTests.cpp @@ -28,11 +28,6 @@ namespace { return predicate(); } - Nexus::uint16 NextTestPort() { - static std::atomic counter{53000}; - return counter.fetch_add(1); - } - std::optional ConnectRawClient(Nexus::uint16 port) { Socket client(SocketType::TCP); if (!client.IsValid() || !client.SetNonBlocking(true)) { @@ -64,27 +59,26 @@ namespace { TEST_F(TCPServerTest, ListenSucceeds) { TCPServer server; - EXPECT_TRUE(server.Listen(NextTestPort())); + EXPECT_TRUE(server.Listen(0)); } TEST_F(TCPServerTest, ClientCountStartsAtZero) { TCPServer server; - ASSERT_TRUE(server.Listen(NextTestPort())); + ASSERT_TRUE(server.Listen(0)); EXPECT_EQ(server.ClientCount(), 0u); } TEST_F(TCPServerTest, AcceptPendingWithNoConnectionsReturnsEmpty) { TCPServer server; - ASSERT_TRUE(server.Listen(NextTestPort())); + ASSERT_TRUE(server.Listen(0)); EXPECT_TRUE(server.AcceptPending().empty()); } TEST_F(TCPServerTest, AcceptsIncomingConnection) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(port); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); std::vector accepted; @@ -101,10 +95,9 @@ TEST_F(TCPServerTest, AcceptsIncomingConnection) { TEST_F(TCPServerTest, ClientIdsAreUniqueAndIncrementing) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto firstClient = ConnectRawClient(port); + auto firstClient = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(firstClient.has_value()); std::vector firstIds; WaitUntil([&] { @@ -114,7 +107,7 @@ TEST_F(TCPServerTest, ClientIdsAreUniqueAndIncrementing) { }); ASSERT_EQ(firstIds.size(), 1u); - auto secondClient = ConnectRawClient(port); + auto secondClient = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(secondClient.has_value()); std::vector secondIds; WaitUntil([&] { @@ -130,10 +123,9 @@ TEST_F(TCPServerTest, ClientIdsAreUniqueAndIncrementing) { TEST_F(TCPServerTest, PollAllReturnsFramesSentByClient) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(port); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); ClientId id = 0; @@ -164,10 +156,9 @@ TEST_F(TCPServerTest, PollAllReturnsFramesSentByClient) { TEST_F(TCPServerTest, SendToDeliversFrameToCorrectClient) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(port); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); ASSERT_TRUE(client->SetNonBlocking(true)); @@ -199,7 +190,7 @@ TEST_F(TCPServerTest, SendToDeliversFrameToCorrectClient) { TEST_F(TCPServerTest, SendToUnknownClientIdFails) { TCPServer server; - ASSERT_TRUE(server.Listen(NextTestPort())); + ASSERT_TRUE(server.Listen(0)); const auto frame = BuildFrame("nobody home"); EXPECT_FALSE(server.SendTo(999, frame)); @@ -207,11 +198,10 @@ TEST_F(TCPServerTest, SendToUnknownClientIdFails) { TEST_F(TCPServerTest, BroadcastReachesAllConnectedClients) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto clientA = ConnectRawClient(port); - auto clientB = ConnectRawClient(port); + auto clientA = ConnectRawClient(server.GetBoundPort()); + auto clientB = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(clientA.has_value()); ASSERT_TRUE(clientB.has_value()); ASSERT_TRUE(clientA->SetNonBlocking(true)); @@ -250,10 +240,9 @@ TEST_F(TCPServerTest, BroadcastReachesAllConnectedClients) { TEST_F(TCPServerTest, DisconnectedClientIsRemovedOnPollAll) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(port); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); WaitUntil([&] { @@ -274,10 +263,9 @@ TEST_F(TCPServerTest, DisconnectedClientIsRemovedOnPollAll) { TEST_F(TCPServerTest, StopClearsClientsAndListenSocket) { TCPServer server; - const Nexus::uint16 port = NextTestPort(); - ASSERT_TRUE(server.Listen(port)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(port); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); WaitUntil([&] { server.AcceptPending(); @@ -293,10 +281,9 @@ TEST_F(TCPServerTest, StopClearsClientsAndListenSocket) { TEST_F(TCPServerTest, ListenAgainResetsExistingClients) { TCPServer server; - const Nexus::uint16 firstPort = NextTestPort(); - ASSERT_TRUE(server.Listen(firstPort)); + ASSERT_TRUE(server.Listen(0)); - auto client = ConnectRawClient(firstPort); + auto client = ConnectRawClient(server.GetBoundPort()); ASSERT_TRUE(client.has_value()); WaitUntil([&] { server.AcceptPending(); @@ -304,8 +291,7 @@ TEST_F(TCPServerTest, ListenAgainResetsExistingClients) { }); ASSERT_EQ(server.ClientCount(), 1u); - const Nexus::uint16 secondPort = NextTestPort(); - ASSERT_TRUE(server.Listen(secondPort)); + ASSERT_TRUE(server.Listen(0)); EXPECT_EQ(server.ClientCount(), 0u); } diff --git a/Tests/Engine/Network/UDPSocketTests.cpp b/Tests/Engine/Network/UDPSocketTests.cpp index f81f11a..606914f 100644 --- a/Tests/Engine/Network/UDPSocketTests.cpp +++ b/Tests/Engine/Network/UDPSocketTests.cpp @@ -25,11 +25,6 @@ namespace { return predicate(); } - Nexus::uint16 NextTestPort() { - static std::atomic counter{54000}; - return counter.fetch_add(1); - } - class UDPSocketTest : public ::testing::Test {}; } // namespace @@ -38,12 +33,6 @@ TEST_F(UDPSocketTest, DefaultConstructedIsNotOpen) { EXPECT_FALSE(socket.IsOpen()); } -TEST_F(UDPSocketTest, BindSucceedsAndOpensSocket) { - UDPSocket socket; - EXPECT_TRUE(socket.Bind(NextTestPort())); - EXPECT_TRUE(socket.IsOpen()); -} - TEST_F(UDPSocketTest, BindToEphemeralPortSucceeds) { UDPSocket socket; EXPECT_TRUE(socket.Bind(0)); @@ -52,7 +41,7 @@ TEST_F(UDPSocketTest, BindToEphemeralPortSucceeds) { TEST_F(UDPSocketTest, CloseInvalidatesSocket) { UDPSocket socket; - ASSERT_TRUE(socket.Bind(NextTestPort())); + ASSERT_TRUE(socket.Bind(0)); socket.Close(); EXPECT_FALSE(socket.IsOpen()); @@ -77,16 +66,14 @@ TEST_F(UDPSocketTest, ReceiveOnUnboundSocketFailsWithInvalidOperation) { } TEST_F(UDPSocketTest, SendThenReceiveRoundTripsPayload) { - const Nexus::uint16 serverPort = NextTestPort(); - UDPSocket server; - ASSERT_TRUE(server.Bind(serverPort)); + ASSERT_TRUE(server.Bind(0)); UDPSocket client; ASSERT_TRUE(client.Bind(0)); const std::array payload{Nexus::byte{'p'}, Nexus::byte{'i'}, Nexus::byte{'n'}, Nexus::byte{'g'}}; - EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", serverPort), payload)); + EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", server.GetBoundPort()), payload)); std::optional message; const bool got = WaitUntil([&] { @@ -103,7 +90,7 @@ TEST_F(UDPSocketTest, SendThenReceiveRoundTripsPayload) { TEST_F(UDPSocketTest, ReceiveWithNoDatagramReturnsNulloptWithoutError) { UDPSocket socket; - ASSERT_TRUE(socket.Bind(NextTestPort())); + ASSERT_TRUE(socket.Bind(0)); std::optional error; const auto message = socket.Receive(error); @@ -116,25 +103,26 @@ TEST_F(UDPSocketTest, ReceiveWithNoDatagramReturnsNulloptWithoutError) { TEST_F(UDPSocketTest, SendPayloadLargerThanMaxUdpPayloadFails) { UDPSocket socket; - ASSERT_TRUE(socket.Bind(NextTestPort())); + ASSERT_TRUE(socket.Bind(0)); + + UDPSocket client; + ASSERT_TRUE(client.Bind(0)); const std::vector oversized(MAX_UDP_PAYLOAD + 1, Nexus::byte{0}); - EXPECT_FALSE(socket.Send(NetworkAddress("127.0.0.1", NextTestPort()), oversized)); + EXPECT_FALSE(socket.Send(NetworkAddress("127.0.0.1", client.GetBoundPort()), oversized)); } TEST_F(UDPSocketTest, MultipleDatagramsAreReceivedInSeparateCalls) { - const Nexus::uint16 serverPort = NextTestPort(); - UDPSocket server; - ASSERT_TRUE(server.Bind(serverPort)); + ASSERT_TRUE(server.Bind(0)); UDPSocket client; ASSERT_TRUE(client.Bind(0)); const std::array first{Nexus::byte{1}}; const std::array second{Nexus::byte{2}}; - EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", serverPort), first)); - EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", serverPort), second)); + EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", server.GetBoundPort()), first)); + EXPECT_TRUE(client.Send(NetworkAddress("127.0.0.1", server.GetBoundPort()), second)); std::vector receivedValues; WaitUntil([&] { @@ -159,9 +147,9 @@ TEST_F(UDPSocketTest, IsMoveOnly) { TEST_F(UDPSocketTest, RebindClosesPreviousSocket) { UDPSocket socket; - ASSERT_TRUE(socket.Bind(NextTestPort())); + ASSERT_TRUE(socket.Bind(0)); ASSERT_TRUE(socket.IsOpen()); - ASSERT_TRUE(socket.Bind(NextTestPort())); + ASSERT_TRUE(socket.Bind(0)); EXPECT_TRUE(socket.IsOpen()); } From 515acd62b8f174f603c0c200d9519eb8b14ee95d Mon Sep 17 00:00:00 2001 From: Dylan Hollemaert Date: Mon, 16 Nov 2026 01:04:50 +0100 Subject: [PATCH 25/25] Oops, got confused with WindowsSockets Signed-off-by: Dylan Hollemaert --- Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp index b206f8e..d2e2dda 100644 --- a/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp +++ b/Source/Engine/Network/Platform/Linux/LinuxSocket_Internal.cpp @@ -124,7 +124,7 @@ namespace Nexus::Network::Internal { unsigned short RawGetPort(RawHandle handle) { sockaddr_in sa{}; socklen_t len = sizeof(sa); - if (::getsockname(static_cast(handle), reinterpret_cast(&sa), &len) != 0) { + if (::getsockname(static_cast(handle), reinterpret_cast(&sa), &len) != 0) { return 0; } return ntohs(sa.sin_port);