Guard type trait CppType to map from VkHandle to vk::Handle by ( VK_USE_64_BIT_PTR_DEFINES == 1 ). (#1836)

This commit is contained in:
Andreas Süßenbach 2024-03-25 14:00:43 +01:00 committed by GitHub
parent 88d508b32f
commit a7ac08b8d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 171 additions and 0 deletions

View File

@ -7650,11 +7650,13 @@ ${commands}
${CppType}
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<Vk${className}, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::${className};
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::${className}>

View File

@ -20,7 +20,10 @@
static_assert( std::is_same<vk::CppType<vk::IndexType, vk::IndexType::eUint16>::Type, uint16_t>::value, "" );
static_assert( std::is_same<vk::CppType<vk::ObjectType, vk::ObjectType::eInstance>::Type, vk::Instance>::value, "" );
static_assert( std::is_same<vk::CppType<vk::DebugReportObjectTypeEXT, vk::DebugReportObjectTypeEXT ::eInstance>::Type, vk::Instance>::value, "" );
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
static_assert( std::is_same<vk::CppType<VkInstance>::Type, vk::Instance>::value, "" );
#endif
#include <vulkan/vulkan_raii.hpp>

View File

@ -2477,11 +2477,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSurfaceKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SurfaceKHR>
@ -2573,11 +2575,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDebugReportCallbackEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT>
@ -2663,11 +2667,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDebugUtilsMessengerEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT>
@ -2756,11 +2762,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DisplayKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDisplayKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DisplayKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DisplayKHR>
@ -2849,11 +2857,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSwapchainKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SwapchainKHR>
@ -2942,11 +2952,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Semaphore;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSemaphore, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Semaphore;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Semaphore>
@ -3035,11 +3047,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Fence;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkFence, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Fence;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Fence>
@ -3125,11 +3139,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPerformanceConfigurationINTEL, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL>
@ -3218,11 +3234,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::QueryPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkQueryPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::QueryPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::QueryPool>
@ -3311,11 +3329,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Buffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkBuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Buffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Buffer>
@ -3404,11 +3424,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PipelineLayout;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipelineLayout, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PipelineLayout;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PipelineLayout>
@ -3497,11 +3519,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorSet;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorSet, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorSet;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorSet>
@ -3590,11 +3614,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ImageView;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkImageView, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ImageView;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ImageView>
@ -3683,11 +3709,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Pipeline;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipeline, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Pipeline;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Pipeline>
@ -3770,11 +3798,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ShaderEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkShaderEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ShaderEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ShaderEXT>
@ -3863,11 +3893,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Image;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkImage, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Image;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Image>
@ -3959,11 +3991,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureNV;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkAccelerationStructureNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureNV;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::AccelerationStructureNV>
@ -4049,11 +4083,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkOpticalFlowSessionNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV>
@ -4145,11 +4181,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorUpdateTemplate, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate>
@ -4240,11 +4278,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Event;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkEvent, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Event;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Event>
@ -4336,11 +4376,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkAccelerationStructureKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::AccelerationStructureKHR>
@ -4423,11 +4465,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::MicromapEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkMicromapEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::MicromapEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::MicromapEXT>
@ -6817,11 +6861,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CommandBuffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCommandBuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CommandBuffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CommandBuffer>
@ -6910,11 +6956,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DeviceMemory;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDeviceMemory, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DeviceMemory;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DeviceMemory>
@ -6997,11 +7045,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::VideoSessionKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkVideoSessionKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::VideoSessionKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::VideoSessionKHR>
@ -7087,11 +7137,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDeferredOperationKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DeferredOperationKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DeferredOperationKHR>
@ -7184,11 +7236,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA;
};
# if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkBufferCollectionFUCHSIA, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA;
};
# endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA>
@ -7278,11 +7332,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::BufferView;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkBufferView, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::BufferView;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::BufferView>
@ -7371,11 +7427,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CommandPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCommandPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CommandPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CommandPool>
@ -7464,11 +7522,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PipelineCache;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipelineCache, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PipelineCache;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PipelineCache>
@ -7557,11 +7617,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CuFunctionNVX;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCuFunctionNVX, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CuFunctionNVX;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CuFunctionNVX>
@ -7650,11 +7712,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CuModuleNVX;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCuModuleNVX, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CuModuleNVX;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CuModuleNVX>
@ -7744,11 +7808,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CudaFunctionNV;
};
# if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCudaFunctionNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CudaFunctionNV;
};
# endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CudaFunctionNV>
@ -7839,11 +7905,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CudaModuleNV;
};
# if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCudaModuleNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CudaModuleNV;
};
# endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CudaModuleNV>
@ -7933,11 +8001,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorPool>
@ -8029,11 +8099,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorSetLayout, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorSetLayout>
@ -8122,11 +8194,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Framebuffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkFramebuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Framebuffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Framebuffer>
@ -8212,11 +8286,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkIndirectCommandsLayoutNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV>
@ -8299,11 +8375,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlot;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPrivateDataSlot, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlot;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PrivateDataSlot>
@ -8394,11 +8472,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::RenderPass;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkRenderPass, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::RenderPass;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::RenderPass>
@ -8487,11 +8567,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Sampler;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSampler, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Sampler;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Sampler>
@ -8583,11 +8665,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSamplerYcbcrConversion, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion>
@ -8678,11 +8762,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ShaderModule;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkShaderModule, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ShaderModule;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ShaderModule>
@ -8773,11 +8859,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkValidationCacheEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ValidationCacheEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ValidationCacheEXT>
@ -8863,11 +8951,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkVideoSessionParametersKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR>
@ -9114,11 +9204,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Queue;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkQueue, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Queue;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Queue>
@ -14258,11 +14350,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Device;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDevice, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Device;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Device>
@ -14351,11 +14445,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDisplayModeKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DisplayModeKHR>
@ -15779,11 +15875,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPhysicalDevice, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PhysicalDevice>
@ -16451,11 +16549,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Instance;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkInstance, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Instance;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Instance>

View File

@ -1086,11 +1086,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDebugUtilsMessengerEXT, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT>
@ -1179,11 +1181,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSurfaceKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SurfaceKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SurfaceKHR>
@ -1272,11 +1276,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSwapchainKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SwapchainKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SwapchainKHR>
@ -1365,11 +1371,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Semaphore;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSemaphore, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Semaphore;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Semaphore>
@ -1458,11 +1466,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Fence;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkFence, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Fence;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Fence>
@ -1551,11 +1561,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::QueryPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkQueryPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::QueryPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::QueryPool>
@ -1644,11 +1656,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PipelineLayout;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipelineLayout, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PipelineLayout;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PipelineLayout>
@ -1737,11 +1751,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorSet;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorSet, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorSet;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorSet>
@ -1830,11 +1846,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Buffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkBuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Buffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Buffer>
@ -1923,11 +1941,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Pipeline;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipeline, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Pipeline;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Pipeline>
@ -2016,11 +2036,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Image;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkImage, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Image;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Image>
@ -2109,11 +2131,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Event;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkEvent, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Event;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Event>
@ -3253,11 +3277,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CommandBuffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCommandBuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CommandBuffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CommandBuffer>
@ -3346,11 +3372,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DeviceMemory;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDeviceMemory, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DeviceMemory;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DeviceMemory>
@ -3439,11 +3467,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::BufferView;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkBufferView, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::BufferView;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::BufferView>
@ -3532,11 +3562,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::CommandPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkCommandPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::CommandPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::CommandPool>
@ -3625,11 +3657,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PipelineCache;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPipelineCache, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PipelineCache;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PipelineCache>
@ -3718,11 +3752,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorPool;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorPool, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorPool;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorPool>
@ -3814,11 +3850,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDescriptorSetLayout, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DescriptorSetLayout;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DescriptorSetLayout>
@ -3907,11 +3945,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Framebuffer;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkFramebuffer, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Framebuffer;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Framebuffer>
@ -4000,11 +4040,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ImageView;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkImageView, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ImageView;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ImageView>
@ -4087,11 +4129,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlot;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPrivateDataSlot, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PrivateDataSlot;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PrivateDataSlot>
@ -4182,11 +4226,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::RenderPass;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkRenderPass, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::RenderPass;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::RenderPass>
@ -4275,11 +4321,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Sampler;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSampler, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Sampler;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Sampler>
@ -4365,11 +4413,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSamplerYcbcrConversion, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion>
@ -4458,11 +4508,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::SemaphoreSciSyncPoolNV;
};
# if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkSemaphoreSciSyncPoolNV, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::SemaphoreSciSyncPoolNV;
};
# endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::SemaphoreSciSyncPoolNV>
@ -4552,11 +4604,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DisplayKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDisplayKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DisplayKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DisplayKHR>
@ -4747,11 +4801,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Queue;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkQueue, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Queue;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Queue>
@ -6895,11 +6951,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Device;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDevice, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Device;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Device>
@ -6988,11 +7046,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkDisplayModeKHR, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::DisplayModeKHR;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::DisplayModeKHR>
@ -7852,11 +7912,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkPhysicalDevice, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::PhysicalDevice;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::PhysicalDevice>
@ -8124,11 +8186,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::Instance;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkInstance, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::Instance;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::Instance>
@ -8285,11 +8349,13 @@ namespace VULKAN_HPP_NAMESPACE
using Type = VULKAN_HPP_NAMESPACE::ShaderModule;
};
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
template <>
struct CppType<VkShaderModule, VK_NULL_HANDLE>
{
using Type = VULKAN_HPP_NAMESPACE::ShaderModule;
};
#endif
template <>
struct isVulkanHandleType<VULKAN_HPP_NAMESPACE::ShaderModule>