-Subproject commit ed857118e243fdc0f3a100f00ac9919e874cfe63
+Subproject commit 485c0395ad85bcefe7aed17d23362d93f61f942d
using VULKAN_HPP_NAMESPACE::ValidationFeatureDisableEXT;
using VULKAN_HPP_NAMESPACE::ValidationFeatureEnableEXT;
- //=== VK_NV_cooperative_matrix ===
- using VULKAN_HPP_NAMESPACE::ComponentTypeNV;
- using VULKAN_HPP_NAMESPACE::ScopeNV;
-
//=== VK_NV_coverage_reduction_mode ===
using VULKAN_HPP_NAMESPACE::CoverageReductionModeNV;
using VULKAN_HPP_NAMESPACE::PipelineCoverageReductionStateCreateFlagBitsNV;
//=== VK_KHR_cooperative_matrix ===
using VULKAN_HPP_NAMESPACE::ComponentTypeKHR;
+ using VULKAN_HPP_NAMESPACE::ComponentTypeNV;
using VULKAN_HPP_NAMESPACE::ScopeKHR;
+ using VULKAN_HPP_NAMESPACE::ScopeNV;
//=========================
//=== Index Type Traits ===
# include <span>
#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.
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
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 ===
enum class CoverageReductionModeNV
eSubgroup = VK_SCOPE_SUBGROUP_KHR,
eQueueFamily = VK_SCOPE_QUEUE_FAMILY_KHR
};
+ using ScopeNV = ScopeKHR;
enum class ComponentTypeKHR
{
eUint32 = VK_COMPONENT_TYPE_UINT32_KHR,
eUint64 = VK_COMPONENT_TYPE_UINT64_KHR
};
+ using ComponentTypeNV = ComponentTypeKHR;
//=========================
//=== Index Type Traits ===
VULKAN_HPP_CONSTEXPR CooperativeMatrixPropertiesNV( uint32_t MSize_ = {},
uint32_t NSize_ = {},
uint32_t KSize_ = {},
- VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16,
- VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16,
- VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16,
- VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16,
- VULKAN_HPP_NAMESPACE::ScopeNV scope_ = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice,
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV AType_ = {},
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV BType_ = {},
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV CType_ = {},
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV DType_ = {},
+ VULKAN_HPP_NAMESPACE::ScopeNV scope_ = {},
void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
: pNext( pNext_ )
, MSize( MSize_ )
uint32_t MSize = {};
uint32_t NSize = {};
uint32_t KSize = {};
- VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16;
- VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16;
- VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16;
- VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = VULKAN_HPP_NAMESPACE::ComponentTypeNV::eFloat16;
- VULKAN_HPP_NAMESPACE::ScopeNV scope = VULKAN_HPP_NAMESPACE::ScopeNV::eDevice;
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV AType = {};
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV BType = {};
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV CType = {};
+ VULKAN_HPP_NAMESPACE::ComponentTypeNV DType = {};
+ VULKAN_HPP_NAMESPACE::ScopeNV scope = {};
};
template <>
}
}
- //=== 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 ===
VULKAN_HPP_INLINE std::string to_string( CoverageReductionModeNV value )
# undef MemoryBarrier
#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__ )
# define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ )
#endif