Update Vulkan-Headers to v1.3.243 (#1531)
Co-authored-by: GitHub <noreply@github.com>
This commit is contained in:
committed by
GitHub
parent
aac3be4855
commit
2acce33951
@@ -114,7 +114,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <span>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 242, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 243, "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
|
||||
@@ -6505,6 +6505,16 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
class InvalidVideoStdParametersKHRError : public SystemError
|
||||
{
|
||||
public:
|
||||
InvalidVideoStdParametersKHRError( std::string const & message ) : SystemError( make_error_code( Result::eErrorInvalidVideoStdParametersKHR ), message ) {}
|
||||
|
||||
InvalidVideoStdParametersKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorInvalidVideoStdParametersKHR ), message ) {}
|
||||
};
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
|
||||
class CompressionExhaustedEXTError : public SystemError
|
||||
{
|
||||
public:
|
||||
@@ -6553,6 +6563,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
case Result::eErrorFullScreenExclusiveModeLostEXT: throw FullScreenExclusiveModeLostEXTError( message );
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
# if defined( VK_ENABLE_BETA_EXTENSIONS )
|
||||
case Result::eErrorInvalidVideoStdParametersKHR: throw InvalidVideoStdParametersKHRError( message );
|
||||
# endif /*VK_ENABLE_BETA_EXTENSIONS*/
|
||||
case Result::eErrorCompressionExhaustedEXT: throw CompressionExhaustedEXTError( message );
|
||||
default: throw SystemError( make_error_code( result ) );
|
||||
}
|
||||
@@ -8372,7 +8385,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<VideoEncodeH264EmitPictureParametersInfoEXT, VideoEncodeInfoKHR>
|
||||
struct StructExtends<VideoEncodeH264DpbSlotInfoEXT, VideoReferenceSlotInfoKHR>
|
||||
{
|
||||
enum
|
||||
{
|
||||
@@ -8465,7 +8478,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<VideoEncodeH265EmitPictureParametersInfoEXT, VideoEncodeInfoKHR>
|
||||
struct StructExtends<VideoEncodeH265DpbSlotInfoEXT, VideoReferenceSlotInfoKHR>
|
||||
{
|
||||
enum
|
||||
{
|
||||
@@ -10980,6 +10993,15 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<QueryPoolVideoEncodeFeedbackCreateInfoKHR, QueryPoolCreateInfo>
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = true
|
||||
};
|
||||
};
|
||||
|
||||
template <>
|
||||
struct StructExtends<VideoEncodeUsageInfoKHR, VideoProfileInfoKHR>
|
||||
{
|
||||
@@ -13080,7 +13102,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
# elif defined( __APPLE__ )
|
||||
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
|
||||
# elif defined( _WIN32 )
|
||||
m_library = ::LoadLibraryA( "vulkan-1.dll" );
|
||||
m_library = ::LoadLibraryA( "vulkan-1.dll" );
|
||||
# else
|
||||
# error unsupported platform
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user