Update Vulkan-Headers to v1.3.257 (#1617)

Co-authored-by: GitHub <noreply@github.com>
This commit is contained in:
github-actions[bot] 2023-07-10 11:45:53 +02:00 committed by GitHub
parent f4abba455e
commit 23d6bf01e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 74 deletions

@ -1 +1 @@
Subproject commit ed857118e243fdc0f3a100f00ac9919e874cfe63 Subproject commit 485c0395ad85bcefe7aed17d23362d93f61f942d

View File

@ -617,10 +617,6 @@ export namespace VULKAN_HPP_NAMESPACE
using VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT; using VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT;
using VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT; using VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT;
//=== VK_NV_cooperative_matrix ===
using VULKAN_HPP_NAMESPACE::ComponentTypeNV;
using VULKAN_HPP_NAMESPACE::ScopeNV;
//=== VK_NV_coverage_reduction_mode === //=== VK_NV_coverage_reduction_mode ===
using VULKAN_HPP_NAMESPACE::CoverageReductionModeNV; using VULKAN_HPP_NAMESPACE::CoverageReductionModeNV;
using VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagBitsNV; using VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagBitsNV;
@ -810,7 +806,9 @@ export namespace VULKAN_HPP_NAMESPACE
//=== VK_KHR_cooperative_matrix === //=== VK_KHR_cooperative_matrix ===
using VULKAN_HPP_NAMESPACE::ComponentTypeKHR; using VULKAN_HPP_NAMESPACE::ComponentTypeKHR;
using VULKAN_HPP_NAMESPACE::ComponentTypeNV;
using VULKAN_HPP_NAMESPACE::ScopeKHR; using VULKAN_HPP_NAMESPACE::ScopeKHR;
using VULKAN_HPP_NAMESPACE::ScopeNV;
//========================= //=========================
//=== Index Type Traits === //=== Index Type Traits ===

View File

@ -114,7 +114,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <span> # include <span>
#endif #endif
static_assert( VK_HEADER_VERSION == 256, "Wrong VK_HEADER_VERSION!" ); static_assert( VK_HEADER_VERSION == 257, "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. // 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 // To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION

View File

@ -5628,31 +5628,6 @@ namespace VULKAN_HPP_NAMESPACE
eShaderValidationCache = VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT eShaderValidationCache = VK_VALIDATION_FEATURE_DISABLE_SHADER_VALIDATION_CACHE_EXT
}; };
//=== VK_NV_cooperative_matrix ===
enum class ScopeNV
{
eDevice = VK_SCOPE_DEVICE_NV,
eWorkgroup = VK_SCOPE_WORKGROUP_NV,
eSubgroup = VK_SCOPE_SUBGROUP_NV,
eQueueFamily = VK_SCOPE_QUEUE_FAMILY_NV
};
enum class ComponentTypeNV
{
eFloat16 = VK_COMPONENT_TYPE_FLOAT16_NV,
eFloat32 = VK_COMPONENT_TYPE_FLOAT32_NV,
eFloat64 = VK_COMPONENT_TYPE_FLOAT64_NV,
eSint8 = VK_COMPONENT_TYPE_SINT8_NV,
eSint16 = VK_COMPONENT_TYPE_SINT16_NV,
eSint32 = VK_COMPONENT_TYPE_SINT32_NV,
eSint64 = VK_COMPONENT_TYPE_SINT64_NV,
eUint8 = VK_COMPONENT_TYPE_UINT8_NV,
eUint16 = VK_COMPONENT_TYPE_UINT16_NV,
eUint32 = VK_COMPONENT_TYPE_UINT32_NV,
eUint64 = VK_COMPONENT_TYPE_UINT64_NV
};
//=== VK_NV_coverage_reduction_mode === //=== VK_NV_coverage_reduction_mode ===
enum class CoverageReductionModeNV enum class CoverageReductionModeNV
@ -6646,6 +6621,7 @@ namespace VULKAN_HPP_NAMESPACE
eSubgroup = VK_SCOPE_SUBGROUP_KHR, eSubgroup = VK_SCOPE_SUBGROUP_KHR,
eQueueFamily = VK_SCOPE_QUEUE_FAMILY_KHR eQueueFamily = VK_SCOPE_QUEUE_FAMILY_KHR
}; };
using ScopeNV = ScopeKHR;
enum class ComponentTypeKHR enum class ComponentTypeKHR
{ {
@ -6661,6 +6637,7 @@ namespace VULKAN_HPP_NAMESPACE
eUint32 = VK_COMPONENT_TYPE_UINT32_KHR, eUint32 = VK_COMPONENT_TYPE_UINT32_KHR,
eUint64 = VK_COMPONENT_TYPE_UINT64_KHR eUint64 = VK_COMPONENT_TYPE_UINT64_KHR
}; };
using ComponentTypeNV = ComponentTypeKHR;
//========================= //=========================
//=== Index Type Traits === //=== Index Type Traits ===

View File

@ -15877,11 +15877,11 @@ namespace VULKAN_HPP_NAMESPACE
VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV( uint32_t MSize_ = {}, VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV( uint32_t MSize_ = {},
uint32_t NSize_ = {}, uint32_t NSize_ = {},
uint32_t KSize_ = {}, uint32_t KSize_ = {},
VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = {},
VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = {},
VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = {},
VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16, VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = {},
VULKAN_HPP_NAMESPACE::ScopeNV scope_ = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice, VULKAN_HPP_NAMESPACE::ScopeNV scope_ = {},
void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
: pNext( pNext_ ) : pNext( pNext_ )
, MSize( MSize_ ) , MSize( MSize_ )
@ -16023,11 +16023,11 @@ namespace VULKAN_HPP_NAMESPACE
uint32_t MSize = {}; uint32_t MSize = {};
uint32_t NSize = {}; uint32_t NSize = {};
uint32_t KSize = {}; uint32_t KSize = {};
VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = {};
VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = {};
VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = {};
VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16; VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = {};
VULKAN_HPP_NAMESPACE::ScopeNV scope = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice; VULKAN_HPP_NAMESPACE::ScopeNV scope = {};
}; };
template <> template <>

View File

@ -7701,39 +7701,6 @@ namespace VULKAN_HPP_NAMESPACE
} }
} }
//=== VK_NV_cooperative_matrix ===
VULKAN_HPP_INLINE std::string to_string( ScopeNV value )
{
switch ( value )
{
case ScopeNV::eDevice: return "Device";
case ScopeNV::eWorkgroup: return "Workgroup";
case ScopeNV::eSubgroup: return "Subgroup";
case ScopeNV::eQueueFamily: return "QueueFamily";
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
}
}
VULKAN_HPP_INLINE std::string to_string( ComponentTypeNV value )
{
switch ( value )
{
case ComponentTypeNV::eFloat16: return "Float16";
case ComponentTypeNV::eFloat32: return "Float32";
case ComponentTypeNV::eFloat64: return "Float64";
case ComponentTypeNV::eSint8: return "Sint8";
case ComponentTypeNV::eSint16: return "Sint16";
case ComponentTypeNV::eSint32: return "Sint32";
case ComponentTypeNV::eSint64: return "Sint64";
case ComponentTypeNV::eUint8: return "Uint8";
case ComponentTypeNV::eUint16: return "Uint16";
case ComponentTypeNV::eUint32: return "Uint32";
case ComponentTypeNV::eUint64: return "Uint64";
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
}
}
//=== VK_NV_coverage_reduction_mode === //=== VK_NV_coverage_reduction_mode ===
VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value ) VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value )

View File

@ -140,6 +140,17 @@ static_assert( VK_HEADER_VERSION == 12, "Wrong VK_HEADER_VERSION!" );
# undef MemoryBarrier # undef MemoryBarrier
#endif #endif
// XLib.h defines True/False, which collides with our vk::True/vk::False
// -> undef them and provide some namepace-secure constexpr
#if defined( True )
# undef True
constexpr int True = 1;
#endif
#if defined( False )
# undef False
constexpr int False = 0;
#endif
#if defined( __GNUC__ ) #if defined( __GNUC__ )
# define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ ) # define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ )
#endif #endif