mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-12-24 01:30:14 +00:00
Update Vulkan-Headers to v1.2.199
This commit is contained in:
parent
e18a7d4b46
commit
66d80093dc
@ -1 +1 @@
|
||||
Subproject commit 8c1c27d5a9b9de8a17f500053bd08c7ca6bba19c
|
||||
Subproject commit 83e1a9ed8ce289cebb1c02c8167d663dc1befb24
|
@ -119,7 +119,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <span>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 198, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 199, "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for 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
|
||||
@ -10967,6 +10967,32 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
};
|
||||
|
||||
//=== VK_EXT_image_view_min_lod ===
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceImageViewMinLodFeaturesEXT, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceImageViewMinLodFeaturesEXT, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<ImageViewMinLodCreateInfoEXT, ImageViewCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
|
||||
//=== VK_EXT_multi_draw ===
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceMultiDrawFeaturesEXT, PhysicalDeviceFeatures2>
|
||||
|
@ -878,6 +878,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
ePhysicalDeviceGlobalPriorityQueryFeaturesEXT =
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GLOBAL_PRIORITY_QUERY_FEATURES_EXT,
|
||||
eQueueFamilyGlobalPriorityPropertiesEXT = VK_STRUCTURE_TYPE_QUEUE_FAMILY_GLOBAL_PRIORITY_PROPERTIES_EXT,
|
||||
ePhysicalDeviceImageViewMinLodFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_VIEW_MIN_LOD_FEATURES_EXT,
|
||||
eImageViewMinLodCreateInfoEXT = VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT,
|
||||
ePhysicalDeviceMultiDrawFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_FEATURES_EXT,
|
||||
ePhysicalDeviceMultiDrawPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MULTI_DRAW_PROPERTIES_EXT,
|
||||
ePhysicalDeviceBorderColorSwizzleFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BORDER_COLOR_SWIZZLE_FEATURES_EXT,
|
||||
@ -1837,6 +1839,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::ePhysicalDeviceGlobalPriorityQueryFeaturesEXT:
|
||||
return "PhysicalDeviceGlobalPriorityQueryFeaturesEXT";
|
||||
case StructureType::eQueueFamilyGlobalPriorityPropertiesEXT: return "QueueFamilyGlobalPriorityPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceImageViewMinLodFeaturesEXT: return "PhysicalDeviceImageViewMinLodFeaturesEXT";
|
||||
case StructureType::eImageViewMinLodCreateInfoEXT: return "ImageViewMinLodCreateInfoEXT";
|
||||
case StructureType::ePhysicalDeviceMultiDrawFeaturesEXT: return "PhysicalDeviceMultiDrawFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceMultiDrawPropertiesEXT: return "PhysicalDeviceMultiDrawPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceBorderColorSwizzleFeaturesEXT:
|
||||
@ -5208,7 +5212,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eVerisiliconProprietary = VK_DRIVER_ID_VERISILICON_PROPRIETARY,
|
||||
eMesaTurnip = VK_DRIVER_ID_MESA_TURNIP,
|
||||
eMesaV3Dv = VK_DRIVER_ID_MESA_V3DV,
|
||||
eMesaPanvk = VK_DRIVER_ID_MESA_PANVK
|
||||
eMesaPanvk = VK_DRIVER_ID_MESA_PANVK,
|
||||
eSamsungProprietary = VK_DRIVER_ID_SAMSUNG_PROPRIETARY
|
||||
};
|
||||
using DriverIdKHR = DriverId;
|
||||
|
||||
@ -5236,6 +5241,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case DriverId::eMesaTurnip: return "MesaTurnip";
|
||||
case DriverId::eMesaV3Dv: return "MesaV3Dv";
|
||||
case DriverId::eMesaPanvk: return "MesaPanvk";
|
||||
case DriverId::eSamsungProprietary: return "SamsungProprietary";
|
||||
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||
}
|
||||
}
|
||||
|
@ -1273,6 +1273,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
struct PhysicalDeviceGlobalPriorityQueryFeaturesEXT;
|
||||
struct QueueFamilyGlobalPriorityPropertiesEXT;
|
||||
|
||||
//=== VK_EXT_image_view_min_lod ===
|
||||
struct PhysicalDeviceImageViewMinLodFeaturesEXT;
|
||||
struct ImageViewMinLodCreateInfoEXT;
|
||||
|
||||
//=== VK_EXT_multi_draw ===
|
||||
struct PhysicalDeviceMultiDrawFeaturesEXT;
|
||||
struct PhysicalDeviceMultiDrawPropertiesEXT;
|
||||
|
@ -33130,6 +33130,90 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = ImageViewHandleInfoNVX;
|
||||
};
|
||||
|
||||
struct ImageViewMinLodCreateInfoEXT
|
||||
{
|
||||
using NativeType = VkImageViewMinLodCreateInfoEXT;
|
||||
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eImageViewMinLodCreateInfoEXT;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR ImageViewMinLodCreateInfoEXT( float minLod_ = {} ) VULKAN_HPP_NOEXCEPT : minLod( minLod_ ) {}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR
|
||||
ImageViewMinLodCreateInfoEXT( ImageViewMinLodCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
ImageViewMinLodCreateInfoEXT( VkImageViewMinLodCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
: ImageViewMinLodCreateInfoEXT( *reinterpret_cast<ImageViewMinLodCreateInfoEXT const *>( &rhs ) )
|
||||
{}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
ImageViewMinLodCreateInfoEXT & operator=( ImageViewMinLodCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
ImageViewMinLodCreateInfoEXT & operator=( VkImageViewMinLodCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageViewMinLodCreateInfoEXT const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||
VULKAN_HPP_CONSTEXPR_14 ImageViewMinLodCreateInfoEXT & setPNext( const void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 ImageViewMinLodCreateInfoEXT & setMinLod( float minLod_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
minLod = minLod_;
|
||||
return *this;
|
||||
}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_SETTERS*/
|
||||
|
||||
operator VkImageViewMinLodCreateInfoEXT const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkImageViewMinLodCreateInfoEXT *>( this );
|
||||
}
|
||||
|
||||
operator VkImageViewMinLodCreateInfoEXT &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkImageViewMinLodCreateInfoEXT *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( ImageViewMinLodCreateInfoEXT const & ) const = default;
|
||||
#else
|
||||
bool operator==( ImageViewMinLodCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( minLod == rhs.minLod );
|
||||
}
|
||||
|
||||
bool operator!=( ImageViewMinLodCreateInfoEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewMinLodCreateInfoEXT;
|
||||
const void * pNext = {};
|
||||
float minLod = {};
|
||||
};
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::ImageViewMinLodCreateInfoEXT ) ==
|
||||
sizeof( VkImageViewMinLodCreateInfoEXT ),
|
||||
"struct and wrapper have different size!" );
|
||||
VULKAN_HPP_STATIC_ASSERT( std::is_standard_layout<VULKAN_HPP_NAMESPACE::ImageViewMinLodCreateInfoEXT>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
VULKAN_HPP_STATIC_ASSERT(
|
||||
std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::ImageViewMinLodCreateInfoEXT>::value,
|
||||
"ImageViewMinLodCreateInfoEXT is not nothrow_move_constructible!" );
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::eImageViewMinLodCreateInfoEXT>
|
||||
{
|
||||
using Type = ImageViewMinLodCreateInfoEXT;
|
||||
};
|
||||
|
||||
struct ImageViewUsageCreateInfo
|
||||
{
|
||||
using NativeType = VkImageViewUsageCreateInfo;
|
||||
@ -45834,6 +45918,100 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using Type = PhysicalDeviceImageViewImageFormatInfoEXT;
|
||||
};
|
||||
|
||||
struct PhysicalDeviceImageViewMinLodFeaturesEXT
|
||||
{
|
||||
using NativeType = VkPhysicalDeviceImageViewMinLodFeaturesEXT;
|
||||
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType =
|
||||
StructureType::ePhysicalDeviceImageViewMinLodFeaturesEXT;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR
|
||||
PhysicalDeviceImageViewMinLodFeaturesEXT( VULKAN_HPP_NAMESPACE::Bool32 minLod_ = {} ) VULKAN_HPP_NOEXCEPT
|
||||
: minLod( minLod_ )
|
||||
{}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceImageViewMinLodFeaturesEXT(
|
||||
PhysicalDeviceImageViewMinLodFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceImageViewMinLodFeaturesEXT( VkPhysicalDeviceImageViewMinLodFeaturesEXT const & rhs )
|
||||
VULKAN_HPP_NOEXCEPT
|
||||
: PhysicalDeviceImageViewMinLodFeaturesEXT(
|
||||
*reinterpret_cast<PhysicalDeviceImageViewMinLodFeaturesEXT const *>( &rhs ) )
|
||||
{}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/
|
||||
|
||||
PhysicalDeviceImageViewMinLodFeaturesEXT &
|
||||
operator=( PhysicalDeviceImageViewMinLodFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceImageViewMinLodFeaturesEXT &
|
||||
operator=( VkPhysicalDeviceImageViewMinLodFeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceImageViewMinLodFeaturesEXT const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_SETTERS )
|
||||
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageViewMinLodFeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceImageViewMinLodFeaturesEXT &
|
||||
setMinLod( VULKAN_HPP_NAMESPACE::Bool32 minLod_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
minLod = minLod_;
|
||||
return *this;
|
||||
}
|
||||
#endif /*VULKAN_HPP_NO_STRUCT_SETTERS*/
|
||||
|
||||
operator VkPhysicalDeviceImageViewMinLodFeaturesEXT const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkPhysicalDeviceImageViewMinLodFeaturesEXT *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceImageViewMinLodFeaturesEXT &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkPhysicalDeviceImageViewMinLodFeaturesEXT *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( PhysicalDeviceImageViewMinLodFeaturesEXT const & ) const = default;
|
||||
#else
|
||||
bool operator==( PhysicalDeviceImageViewMinLodFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( minLod == rhs.minLod );
|
||||
}
|
||||
|
||||
bool operator!=( PhysicalDeviceImageViewMinLodFeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceImageViewMinLodFeaturesEXT;
|
||||
void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::Bool32 minLod = {};
|
||||
};
|
||||
VULKAN_HPP_STATIC_ASSERT( sizeof( VULKAN_HPP_NAMESPACE::PhysicalDeviceImageViewMinLodFeaturesEXT ) ==
|
||||
sizeof( VkPhysicalDeviceImageViewMinLodFeaturesEXT ),
|
||||
"struct and wrapper have different size!" );
|
||||
VULKAN_HPP_STATIC_ASSERT(
|
||||
std::is_standard_layout<VULKAN_HPP_NAMESPACE::PhysicalDeviceImageViewMinLodFeaturesEXT>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
VULKAN_HPP_STATIC_ASSERT(
|
||||
std::is_nothrow_move_constructible<VULKAN_HPP_NAMESPACE::PhysicalDeviceImageViewMinLodFeaturesEXT>::value,
|
||||
"PhysicalDeviceImageViewMinLodFeaturesEXT is not nothrow_move_constructible!" );
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::ePhysicalDeviceImageViewMinLodFeaturesEXT>
|
||||
{
|
||||
using Type = PhysicalDeviceImageViewMinLodFeaturesEXT;
|
||||
};
|
||||
|
||||
struct PhysicalDeviceImagelessFramebufferFeatures
|
||||
{
|
||||
using NativeType = VkPhysicalDeviceImagelessFramebufferFeatures;
|
||||
|
Loading…
Reference in New Issue
Block a user