mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Update Vulkan-Headers to v1.3.244 (#1535)
Co-authored-by: GitHub <noreply@github.com>
This commit is contained in:
parent
086af6f3d7
commit
1bd3877dcc
@ -1 +1 @@
|
||||
Subproject commit d732b2de303ce505169011d438178191136bfb00
|
||||
Subproject commit fa204df59c6caea6b9be3cf0754a88cd89056a87
|
@ -114,7 +114,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <span>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 243, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 244, "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for non-dispatchable handles, so don't allow copy constructors on this platform by default.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
@ -4859,6 +4859,18 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return ::vkGetPipelineExecutableInternalRepresentationsKHR( device, pExecutableInfo, pInternalRepresentationCount, pInternalRepresentations );
|
||||
}
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VkResult vkMapMemory2KHR( VkDevice device, const VkMemoryMapInfoKHR * pMemoryMapInfo, void ** ppData ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkMapMemory2KHR( device, pMemoryMapInfo, ppData );
|
||||
}
|
||||
|
||||
VkResult vkUnmapMemory2KHR( VkDevice device, const VkMemoryUnmapInfoKHR * pMemoryUnmapInfo ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ::vkUnmapMemory2KHR( device, pMemoryUnmapInfo );
|
||||
}
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
|
||||
VkResult vkReleaseSwapchainImagesEXT( VkDevice device, const VkReleaseSwapchainImagesInfoEXT * pReleaseInfo ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -13943,6 +13955,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR = 0;
|
||||
PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR = 0;
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
PFN_vkMapMemory2KHR vkMapMemory2KHR = 0;
|
||||
PFN_vkUnmapMemory2KHR vkUnmapMemory2KHR = 0;
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
PFN_vkReleaseSwapchainImagesEXT vkReleaseSwapchainImagesEXT = 0;
|
||||
|
||||
@ -15174,6 +15190,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetPipelineExecutableInternalRepresentationsKHR =
|
||||
PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetInstanceProcAddr( instance, "vkGetPipelineExecutableInternalRepresentationsKHR" ) );
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
vkMapMemory2KHR = PFN_vkMapMemory2KHR( vkGetInstanceProcAddr( instance, "vkMapMemory2KHR" ) );
|
||||
vkUnmapMemory2KHR = PFN_vkUnmapMemory2KHR( vkGetInstanceProcAddr( instance, "vkUnmapMemory2KHR" ) );
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
vkReleaseSwapchainImagesEXT = PFN_vkReleaseSwapchainImagesEXT( vkGetInstanceProcAddr( instance, "vkReleaseSwapchainImagesEXT" ) );
|
||||
|
||||
@ -16150,6 +16170,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetPipelineExecutableInternalRepresentationsKHR =
|
||||
PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ) );
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
vkMapMemory2KHR = PFN_vkMapMemory2KHR( vkGetDeviceProcAddr( device, "vkMapMemory2KHR" ) );
|
||||
vkUnmapMemory2KHR = PFN_vkUnmapMemory2KHR( vkGetDeviceProcAddr( device, "vkUnmapMemory2KHR" ) );
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
vkReleaseSwapchainImagesEXT = PFN_vkReleaseSwapchainImagesEXT( vkGetDeviceProcAddr( device, "vkReleaseSwapchainImagesEXT" ) );
|
||||
|
||||
|
@ -790,6 +790,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ePipelineExecutableInfoKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INFO_KHR,
|
||||
ePipelineExecutableStatisticKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_STATISTIC_KHR,
|
||||
ePipelineExecutableInternalRepresentationKHR = VK_STRUCTURE_TYPE_PIPELINE_EXECUTABLE_INTERNAL_REPRESENTATION_KHR,
|
||||
eMemoryMapInfoKHR = VK_STRUCTURE_TYPE_MEMORY_MAP_INFO_KHR,
|
||||
eMemoryUnmapInfoKHR = VK_STRUCTURE_TYPE_MEMORY_UNMAP_INFO_KHR,
|
||||
ePhysicalDeviceShaderAtomicFloat2FeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_ATOMIC_FLOAT_2_FEATURES_EXT,
|
||||
eSurfacePresentModeEXT = VK_STRUCTURE_TYPE_SURFACE_PRESENT_MODE_EXT,
|
||||
eSurfacePresentScalingCapabilitiesEXT = VK_STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT,
|
||||
@ -5593,6 +5595,21 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eFloat64 = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_FLOAT64_KHR
|
||||
};
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
enum class MemoryUnmapFlagBitsKHR : VkMemoryUnmapFlagsKHR
|
||||
{
|
||||
};
|
||||
|
||||
using MemoryUnmapFlagsKHR = Flags<MemoryUnmapFlagBitsKHR>;
|
||||
|
||||
template <>
|
||||
struct FlagTraits<MemoryUnmapFlagBitsKHR>
|
||||
{
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR bool isBitmask = true;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR MemoryUnmapFlagsKHR allFlags = {};
|
||||
};
|
||||
|
||||
//=== VK_EXT_surface_maintenance1 ===
|
||||
|
||||
enum class PresentScalingFlagBitsEXT : VkPresentScalingFlagsEXT
|
||||
|
@ -18003,6 +18003,51 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR * pMemoryMapInfo,
|
||||
void ** ppData,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||
return static_cast<Result>( d.vkMapMemory2KHR( m_device, reinterpret_cast<const VkMemoryMapInfoKHR *>( pMemoryMapInfo ), ppData ) );
|
||||
}
|
||||
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<void *>::type
|
||||
Device::mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR & memoryMapInfo, Dispatch const & d ) const
|
||||
{
|
||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||
|
||||
void * pData;
|
||||
VkResult result = d.vkMapMemory2KHR( m_device, reinterpret_cast<const VkMemoryMapInfoKHR *>( &memoryMapInfo ), &pData );
|
||||
resultCheck( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory2KHR" );
|
||||
|
||||
return createResultValueType( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), pData );
|
||||
}
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE Result Device::unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR * pMemoryUnmapInfo,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||
return static_cast<Result>( d.vkUnmapMemory2KHR( m_device, reinterpret_cast<const VkMemoryUnmapInfoKHR *>( pMemoryUnmapInfo ) ) );
|
||||
}
|
||||
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch>
|
||||
VULKAN_HPP_INLINE void Device::unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR & memoryUnmapInfo,
|
||||
Dispatch const & d ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||
|
||||
d.vkUnmapMemory2KHR( m_device, reinterpret_cast<const VkMemoryUnmapInfoKHR *>( &memoryUnmapInfo ) );
|
||||
}
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
|
||||
template <typename Dispatch>
|
||||
|
@ -1131,6 +1131,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct PipelineExecutableStatisticKHR;
|
||||
struct PipelineExecutableInternalRepresentationKHR;
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
struct MemoryMapInfoKHR;
|
||||
struct MemoryUnmapInfoKHR;
|
||||
|
||||
//=== VK_EXT_shader_atomic_float2 ===
|
||||
struct PhysicalDeviceShaderAtomicFloat2FeaturesEXT;
|
||||
|
||||
@ -11846,6 +11850,27 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD Result mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR * pMemoryMapInfo,
|
||||
void ** ppData,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
VULKAN_HPP_NODISCARD typename ResultValueType<void *>::type mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR & memoryMapInfo,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const;
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
Result unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR * pMemoryUnmapInfo,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
void unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR & memoryUnmapInfo,
|
||||
Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const VULKAN_HPP_NOEXCEPT;
|
||||
#endif /* VULKAN_HPP_DISABLE_ENHANCED_MODE */
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
|
||||
template <typename Dispatch = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE>
|
||||
|
@ -6142,6 +6142,22 @@ namespace std
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR>
|
||||
{
|
||||
std::size_t operator()( VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR const & memoryMapInfoKHR ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.flags );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.memory );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.offset );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryMapInfoKHR.size );
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::MemoryOpaqueCaptureAddressAllocateInfo>
|
||||
{
|
||||
@ -6207,6 +6223,20 @@ namespace std
|
||||
}
|
||||
};
|
||||
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR>
|
||||
{
|
||||
std::size_t operator()( VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR const & memoryUnmapInfoKHR ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
std::size_t seed = 0;
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryUnmapInfoKHR.sType );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryUnmapInfoKHR.pNext );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryUnmapInfoKHR.flags );
|
||||
VULKAN_HPP_HASH_COMBINE( seed, memoryUnmapInfoKHR.memory );
|
||||
return seed;
|
||||
}
|
||||
};
|
||||
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
template <>
|
||||
struct hash<VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR>
|
||||
|
@ -1311,6 +1311,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
vkGetPipelineExecutableInternalRepresentationsKHR =
|
||||
PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ) );
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
vkMapMemory2KHR = PFN_vkMapMemory2KHR( vkGetDeviceProcAddr( device, "vkMapMemory2KHR" ) );
|
||||
vkUnmapMemory2KHR = PFN_vkUnmapMemory2KHR( vkGetDeviceProcAddr( device, "vkUnmapMemory2KHR" ) );
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
vkReleaseSwapchainImagesEXT = PFN_vkReleaseSwapchainImagesEXT( vkGetDeviceProcAddr( device, "vkReleaseSwapchainImagesEXT" ) );
|
||||
|
||||
@ -2151,6 +2155,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR = 0;
|
||||
PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR = 0;
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
PFN_vkMapMemory2KHR vkMapMemory2KHR = 0;
|
||||
PFN_vkUnmapMemory2KHR vkUnmapMemory2KHR = 0;
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
PFN_vkReleaseSwapchainImagesEXT vkReleaseSwapchainImagesEXT = 0;
|
||||
|
||||
@ -3944,6 +3952,12 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR>
|
||||
getPipelineExecutableInternalRepresentationsKHR( const VULKAN_HPP_NAMESPACE::PipelineExecutableInfoKHR & executableInfo ) const;
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_NODISCARD void * mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR & memoryMapInfo ) const;
|
||||
|
||||
void unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR & memoryUnmapInfo ) const VULKAN_HPP_NOEXCEPT;
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
|
||||
void releaseSwapchainImagesEXT( const VULKAN_HPP_NAMESPACE::ReleaseSwapchainImagesInfoEXT & releaseInfo ) const;
|
||||
@ -18033,6 +18047,27 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return internalRepresentations;
|
||||
}
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE void * Device::mapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR & memoryMapInfo ) const
|
||||
{
|
||||
VULKAN_HPP_ASSERT( getDispatcher()->vkMapMemory2KHR && "Function <vkMapMemory2KHR> requires <VK_KHR_map_memory2>" );
|
||||
|
||||
void * pData;
|
||||
VkResult result =
|
||||
getDispatcher()->vkMapMemory2KHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryMapInfoKHR *>( &memoryMapInfo ), &pData );
|
||||
resultCheck( static_cast<VULKAN_HPP_NAMESPACE::Result>( result ), VULKAN_HPP_NAMESPACE_STRING "::Device::mapMemory2KHR" );
|
||||
|
||||
return pData;
|
||||
}
|
||||
|
||||
VULKAN_HPP_INLINE void Device::unmapMemory2KHR( const VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR & memoryUnmapInfo ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VULKAN_HPP_ASSERT( getDispatcher()->vkUnmapMemory2KHR && "Function <vkUnmapMemory2KHR> requires <VK_KHR_map_memory2>" );
|
||||
|
||||
getDispatcher()->vkUnmapMemory2KHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryUnmapInfoKHR *>( &memoryUnmapInfo ) );
|
||||
}
|
||||
|
||||
//=== VK_EXT_swapchain_maintenance1 ===
|
||||
|
||||
VULKAN_HPP_INLINE void Device::releaseSwapchainImagesEXT( const VULKAN_HPP_NAMESPACE::ReleaseSwapchainImagesInfoEXT & releaseInfo ) const
|
||||
|
@ -4488,6 +4488,18 @@ VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::Pipeline
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PipelineExecutableInternalRepresentationKHR>::value,
|
||||
"PipelineExecutableInternalRepresentationKHR is not nothrow_move_constructible!" );
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR ) == sizeof( VkMemoryMapInfoKHR ), "struct and wrapper have different size!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR>::value, "struct wrapper is not a standard layout!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR>::value,
|
||||
"MemoryMapInfoKHR is not nothrow_move_constructible!" );
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR ) == sizeof( VkMemoryUnmapInfoKHR ), "struct and wrapper have different size!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR>::value, "struct wrapper is not a standard layout!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR>::value,
|
||||
"MemoryUnmapInfoKHR is not nothrow_move_constructible!" );
|
||||
|
||||
//=== VK_EXT_shader_atomic_float2 ===
|
||||
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderAtomicFloat2FeaturesEXT ) ==
|
||||
|
@ -46118,6 +46118,133 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = MemoryHostPointerPropertiesEXT;
|
||||
};
|
||||
|
||||
struct MemoryMapInfoKHR
|
||||
{
|
||||
using NativeType = VkMemoryMapInfoKHR;
|
||||
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryMapInfoKHR;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR MemoryMapInfoKHR( VULKAN_HPP_NAMESPACE::MemoryMapFlags flags_ = {},
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {},
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize size_ = {},
|
||||
const void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
|
||||
: pNext( pNext_ )
|
||||
, flags( flags_ )
|
||||
, memory( memory_ )
|
||||
, offset( offset_ )
|
||||
, size( size_ )
|
||||
{
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR MemoryMapInfoKHR( MemoryMapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
MemoryMapInfoKHR( VkMemoryMapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT : MemoryMapInfoKHR( *reinterpret_cast<MemoryMapInfoKHR const *>( &rhs ) ) {}
|
||||
|
||||
MemoryMapInfoKHR & operator=( MemoryMapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
MemoryMapInfoKHR & operator=( VkMemoryMapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryMapInfoKHR const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryMapInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryMapInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::MemoryMapFlags flags_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
flags = flags_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryMapInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
memory = memory_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryMapInfoKHR & setOffset( VULKAN_HPP_NAMESPACE::DeviceSize offset_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
offset = offset_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryMapInfoKHR & setSize( VULKAN_HPP_NAMESPACE::DeviceSize size_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
size = size_;
|
||||
return *this;
|
||||
}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_SETTERS*/
|
||||
|
||||
operator VkMemoryMapInfoKHR const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkMemoryMapInfoKHR *>( this );
|
||||
}
|
||||
|
||||
operator VkMemoryMapInfoKHR &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkMemoryMapInfoKHR *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_USE_REFLECT )
|
||||
# if 14 <= VULKAN_HPP_CPP_VERSION
|
||||
auto
|
||||
# else
|
||||
std::tuple<VULKAN_HPP_NAMESPACE::StructureType const &,
|
||||
const void * const &,
|
||||
VULKAN_HPP_NAMESPACE::MemoryMapFlags const &,
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory const &,
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize const &,
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize const &>
|
||||
# endif
|
||||
reflect() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::tie( sType, pNext, flags, memory, offset, size );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( MemoryMapInfoKHR const & ) const = default;
|
||||
#else
|
||||
bool operator==( MemoryMapInfoKHR 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 ) && ( flags == rhs.flags ) && ( memory == rhs.memory ) && ( offset == rhs.offset ) &&
|
||||
( size == rhs.size );
|
||||
# endif
|
||||
}
|
||||
|
||||
bool operator!=( MemoryMapInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryMapInfoKHR;
|
||||
const void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::MemoryMapFlags flags = {};
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory = {};
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize offset = {};
|
||||
VULKAN_HPP_NAMESPACE::DeviceSize size = {};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::eMemoryMapInfoKHR>
|
||||
{
|
||||
using Type = MemoryMapInfoKHR;
|
||||
};
|
||||
|
||||
struct MemoryOpaqueCaptureAddressAllocateInfo
|
||||
{
|
||||
using NativeType = VkMemoryOpaqueCaptureAddressAllocateInfo;
|
||||
@ -46537,6 +46664,112 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
uint32_t heapIndex = {};
|
||||
};
|
||||
|
||||
struct MemoryUnmapInfoKHR
|
||||
{
|
||||
using NativeType = VkMemoryUnmapInfoKHR;
|
||||
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eMemoryUnmapInfoKHR;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR MemoryUnmapInfoKHR( VULKAN_HPP_NAMESPACE::MemoryUnmapFlagsKHR flags_ = {},
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory_ = {},
|
||||
const void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
|
||||
: pNext( pNext_ )
|
||||
, flags( flags_ )
|
||||
, memory( memory_ )
|
||||
{
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR MemoryUnmapInfoKHR( MemoryUnmapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
MemoryUnmapInfoKHR( VkMemoryUnmapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT : MemoryUnmapInfoKHR( *reinterpret_cast<MemoryUnmapInfoKHR const *>( &rhs ) ) {}
|
||||
|
||||
MemoryUnmapInfoKHR & operator=( MemoryUnmapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
MemoryUnmapInfoKHR & operator=( VkMemoryUnmapInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryUnmapInfoKHR const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryUnmapInfoKHR & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryUnmapInfoKHR & setFlags( VULKAN_HPP_NAMESPACE::MemoryUnmapFlagsKHR flags_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
flags = flags_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 MemoryUnmapInfoKHR & setMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
memory = memory_;
|
||||
return *this;
|
||||
}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_SETTERS*/
|
||||
|
||||
operator VkMemoryUnmapInfoKHR const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkMemoryUnmapInfoKHR *>( this );
|
||||
}
|
||||
|
||||
operator VkMemoryUnmapInfoKHR &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkMemoryUnmapInfoKHR *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_USE_REFLECT )
|
||||
# if 14 <= VULKAN_HPP_CPP_VERSION
|
||||
auto
|
||||
# else
|
||||
std::tuple<VULKAN_HPP_NAMESPACE::StructureType const &,
|
||||
const void * const &,
|
||||
VULKAN_HPP_NAMESPACE::MemoryUnmapFlagsKHR const &,
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory const &>
|
||||
# endif
|
||||
reflect() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::tie( sType, pNext, flags, memory );
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( MemoryUnmapInfoKHR const & ) const = default;
|
||||
#else
|
||||
bool operator==( MemoryUnmapInfoKHR 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 ) && ( flags == rhs.flags ) && ( memory == rhs.memory );
|
||||
# endif
|
||||
}
|
||||
|
||||
bool operator!=( MemoryUnmapInfoKHR const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryUnmapInfoKHR;
|
||||
const void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::MemoryUnmapFlagsKHR flags = {};
|
||||
VULKAN_HPP_NAMESPACE::DeviceMemory memory = {};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::eMemoryUnmapInfoKHR>
|
||||
{
|
||||
using Type = MemoryUnmapInfoKHR;
|
||||
};
|
||||
|
||||
#if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
struct MemoryWin32HandlePropertiesKHR
|
||||
{
|
||||
|
@ -2692,6 +2692,13 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return "{}";
|
||||
}
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagsKHR )
|
||||
{
|
||||
return "{}";
|
||||
}
|
||||
|
||||
//=== VK_EXT_surface_maintenance1 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( PresentScalingFlagsEXT value )
|
||||
@ -3841,6 +3848,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePipelineExecutableInfoKHR: return "PipelineExecutableInfoKHR";
|
||||
case StructureType::ePipelineExecutableStatisticKHR: return "PipelineExecutableStatisticKHR";
|
||||
case StructureType::ePipelineExecutableInternalRepresentationKHR: return "PipelineExecutableInternalRepresentationKHR";
|
||||
case StructureType::eMemoryMapInfoKHR: return "MemoryMapInfoKHR";
|
||||
case StructureType::eMemoryUnmapInfoKHR: return "MemoryUnmapInfoKHR";
|
||||
case StructureType::ePhysicalDeviceShaderAtomicFloat2FeaturesEXT: return "PhysicalDeviceShaderAtomicFloat2FeaturesEXT";
|
||||
case StructureType::eSurfacePresentModeEXT: return "SurfacePresentModeEXT";
|
||||
case StructureType::eSurfacePresentScalingCapabilitiesEXT: return "SurfacePresentScalingCapabilitiesEXT";
|
||||
@ -7612,6 +7621,13 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
}
|
||||
|
||||
//=== VK_KHR_map_memory2 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( MemoryUnmapFlagBitsKHR )
|
||||
{
|
||||
return "(void)";
|
||||
}
|
||||
|
||||
//=== VK_EXT_surface_maintenance1 ===
|
||||
|
||||
VULKAN_HPP_INLINE std::string to_string( PresentScalingFlagBitsEXT value )
|
||||
|
Loading…
Reference in New Issue
Block a user