mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-26 22:00:08 +00:00
Update Vulkan-Headers to v1.3.208
This commit is contained in:
parent
20238138e7
commit
dfffc95731
@ -1 +1 @@
|
|||||||
Subproject commit 361fe216efa0a09634c8396d38a3ebfdc7095288
|
Subproject commit 384881cc90fe243b4d29bfbc359f59752c2be995
|
@ -119,7 +119,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
|||||||
# include <span>
|
# include <span>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static_assert( VK_HEADER_VERSION == 207, "Wrong VK_HEADER_VERSION!" );
|
static_assert( VK_HEADER_VERSION == 208, "Wrong VK_HEADER_VERSION!" );
|
||||||
|
|
||||||
// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default.
|
// 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
|
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||||
|
@ -2635,6 +2635,20 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enum class InstanceCreateFlagBits : VkInstanceCreateFlags
|
||||||
|
{
|
||||||
|
eEnumeratePortabilityKHR = VK_INSTANCE_CREATE_ENUMERATE_PORTABILITY_BIT_KHR
|
||||||
|
};
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlagBits value )
|
||||||
|
{
|
||||||
|
switch ( value )
|
||||||
|
{
|
||||||
|
case InstanceCreateFlagBits::eEnumeratePortabilityKHR: return "EnumeratePortabilityKHR";
|
||||||
|
default: return "invalid ( " + VULKAN_HPP_NAMESPACE::toHexString( static_cast<uint32_t>( value ) ) + " )";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
enum class InternalAllocationType
|
enum class InternalAllocationType
|
||||||
{
|
{
|
||||||
eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE
|
eExecutable = VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE
|
||||||
@ -2796,15 +2810,6 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class InstanceCreateFlagBits
|
|
||||||
{
|
|
||||||
};
|
|
||||||
|
|
||||||
VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlagBits )
|
|
||||||
{
|
|
||||||
return "(void)";
|
|
||||||
}
|
|
||||||
|
|
||||||
enum class DeviceCreateFlagBits
|
enum class DeviceCreateFlagBits
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
@ -8630,9 +8635,45 @@ namespace VULKAN_HPP_NAMESPACE
|
|||||||
|
|
||||||
using InstanceCreateFlags = Flags<InstanceCreateFlagBits>;
|
using InstanceCreateFlags = Flags<InstanceCreateFlagBits>;
|
||||||
|
|
||||||
VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags )
|
template <>
|
||||||
|
struct FlagTraits<InstanceCreateFlagBits>
|
||||||
{
|
{
|
||||||
return "{}";
|
enum : VkFlags
|
||||||
|
{
|
||||||
|
allFlags = VkFlags( InstanceCreateFlagBits::eEnumeratePortabilityKHR )
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR InstanceCreateFlags operator|( InstanceCreateFlagBits bit0, InstanceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return InstanceCreateFlags( bit0 ) | bit1;
|
||||||
|
}
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR InstanceCreateFlags operator&( InstanceCreateFlagBits bit0, InstanceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return InstanceCreateFlags( bit0 ) & bit1;
|
||||||
|
}
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR InstanceCreateFlags operator^( InstanceCreateFlagBits bit0, InstanceCreateFlagBits bit1 ) VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return InstanceCreateFlags( bit0 ) ^ bit1;
|
||||||
|
}
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE VULKAN_HPP_CONSTEXPR InstanceCreateFlags operator~( InstanceCreateFlagBits bits ) VULKAN_HPP_NOEXCEPT
|
||||||
|
{
|
||||||
|
return ~( InstanceCreateFlags( bits ) );
|
||||||
|
}
|
||||||
|
|
||||||
|
VULKAN_HPP_INLINE std::string to_string( InstanceCreateFlags value )
|
||||||
|
{
|
||||||
|
if ( !value )
|
||||||
|
return "{}";
|
||||||
|
|
||||||
|
std::string result;
|
||||||
|
if ( value & InstanceCreateFlagBits::eEnumeratePortabilityKHR )
|
||||||
|
result += "EnumeratePortabilityKHR | ";
|
||||||
|
|
||||||
|
return "{ " + result.substr( 0, result.size() - 3 ) + " }";
|
||||||
}
|
}
|
||||||
|
|
||||||
using MemoryHeapFlags = Flags<MemoryHeapFlagBits>;
|
using MemoryHeapFlags = Flags<MemoryHeapFlagBits>;
|
||||||
|
Loading…
Reference in New Issue
Block a user