mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Merge pull request #751 from asuessenbach/155
Update to VK_HEADER_VERSION 155.
This commit is contained in:
commit
d8c299104b
@ -1 +1 @@
|
||||
Subproject commit 7f9879b1b1fab53f719a9ed5e6e29533b10972b2
|
||||
Subproject commit e1ba543c67893e13c7dae9bd38d3e5cba4ecb7c0
|
@ -88,7 +88,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <compare>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 154, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 155, "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
|
||||
@ -9755,6 +9755,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES_EXT,
|
||||
ePhysicalDeviceShaderCoreProperties2AMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_CORE_PROPERTIES_2_AMD,
|
||||
ePhysicalDeviceCoherentMemoryFeaturesAMD = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD,
|
||||
ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT =
|
||||
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_IMAGE_ATOMIC_INT64_FEATURES_EXT,
|
||||
ePhysicalDeviceMemoryBudgetPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_BUDGET_PROPERTIES_EXT,
|
||||
ePhysicalDeviceMemoryPriorityFeaturesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_MEMORY_PRIORITY_FEATURES_EXT,
|
||||
eMemoryPriorityAllocateInfoEXT = VK_STRUCTURE_TYPE_MEMORY_PRIORITY_ALLOCATE_INFO_EXT,
|
||||
@ -10445,6 +10447,8 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return "PhysicalDeviceSubgroupSizeControlFeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceShaderCoreProperties2AMD: return "PhysicalDeviceShaderCoreProperties2AMD";
|
||||
case StructureType::ePhysicalDeviceCoherentMemoryFeaturesAMD: return "PhysicalDeviceCoherentMemoryFeaturesAMD";
|
||||
case StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT:
|
||||
return "PhysicalDeviceShaderImageAtomicInt64FeaturesEXT";
|
||||
case StructureType::ePhysicalDeviceMemoryBudgetPropertiesEXT: return "PhysicalDeviceMemoryBudgetPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceMemoryPriorityFeaturesEXT: return "PhysicalDeviceMemoryPriorityFeaturesEXT";
|
||||
case StructureType::eMemoryPriorityAllocateInfoEXT: return "MemoryPriorityAllocateInfoEXT";
|
||||
@ -76855,6 +76859,108 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
using PhysicalDeviceFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features;
|
||||
using PhysicalDeviceShaderFloat16Int8FeaturesKHR = PhysicalDeviceShaderFloat16Int8Features;
|
||||
|
||||
struct PhysicalDeviceShaderImageAtomicInt64FeaturesEXT
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType =
|
||||
StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT;
|
||||
|
||||
#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT(
|
||||
VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ = {},
|
||||
VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ = {} ) VULKAN_HPP_NOEXCEPT
|
||||
: shaderImageInt64Atomics( shaderImageInt64Atomics_ )
|
||||
, sparseImageInt64Atomics( sparseImageInt64Atomics_ )
|
||||
{}
|
||||
|
||||
VULKAN_HPP_CONSTEXPR PhysicalDeviceShaderImageAtomicInt64FeaturesEXT(
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT = default;
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs )
|
||||
VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = rhs;
|
||||
}
|
||||
#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT &
|
||||
operator=( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const *>( &rhs );
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT &
|
||||
operator=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT ) );
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT &
|
||||
setShaderImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
shaderImageInt64Atomics = shaderImageInt64Atomics_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceShaderImageAtomicInt64FeaturesEXT &
|
||||
setSparseImageInt64Atomics( VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics_ ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
sparseImageInt64Atomics = sparseImageInt64Atomics_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *>( this );
|
||||
}
|
||||
|
||||
operator VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT *>( this );
|
||||
}
|
||||
|
||||
#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR )
|
||||
auto operator<=>( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & ) const = default;
|
||||
#else
|
||||
bool operator==( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) &&
|
||||
( shaderImageInt64Atomics == rhs.shaderImageInt64Atomics ) &&
|
||||
( sparseImageInt64Atomics == rhs.sparseImageInt64Atomics );
|
||||
}
|
||||
|
||||
bool operator!=( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT const & rhs ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
#endif
|
||||
|
||||
public:
|
||||
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT;
|
||||
void * pNext = {};
|
||||
VULKAN_HPP_NAMESPACE::Bool32 shaderImageInt64Atomics = {};
|
||||
VULKAN_HPP_NAMESPACE::Bool32 sparseImageInt64Atomics = {};
|
||||
};
|
||||
static_assert( sizeof( PhysicalDeviceShaderImageAtomicInt64FeaturesEXT ) ==
|
||||
sizeof( VkPhysicalDeviceShaderImageAtomicInt64FeaturesEXT ),
|
||||
"struct and wrapper have different size!" );
|
||||
static_assert( std::is_standard_layout<PhysicalDeviceShaderImageAtomicInt64FeaturesEXT>::value,
|
||||
"struct wrapper is not a standard layout!" );
|
||||
|
||||
template <>
|
||||
struct CppType<StructureType, StructureType::ePhysicalDeviceShaderImageAtomicInt64FeaturesEXT>
|
||||
{
|
||||
using Type = PhysicalDeviceShaderImageAtomicInt64FeaturesEXT;
|
||||
};
|
||||
|
||||
struct PhysicalDeviceShaderImageFootprintFeaturesNV
|
||||
{
|
||||
static const bool allowDuplicate = false;
|
||||
@ -106413,6 +106519,22 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceShaderImageAtomicInt64FeaturesEXT, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceShaderImageAtomicInt64FeaturesEXT, DeviceCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
template <>
|
||||
struct StructExtends<PhysicalDeviceShaderImageFootprintFeaturesNV, PhysicalDeviceFeatures2>
|
||||
{
|
||||
enum
|
||||
|
Loading…
Reference in New Issue
Block a user