diff options
author | Jon Leech <[email protected]> | 2022-06-16 02:50:39 -0700 |
---|---|---|
committer | Jon Leech <[email protected]> | 2022-06-16 02:50:59 -0700 |
commit | 3be1df310be8963c29125c35fce25ee0af12ff70 (patch) | |
tree | 20d350dada7d4bfdeadcf9d39e46cbccc84cf0ef /include/vulkan/vulkan.hpp | |
parent | ec9b96aae53e152f6812e66fa43757c1256369a0 (diff) | |
download | Vulkan-Headers-3be1df310be8963c29125c35fce25ee0af12ff70.tar.gz Vulkan-Headers-3be1df310be8963c29125c35fce25ee0af12ff70.zip |
Update for Vulkan-Docs 1.3.218v1.3.218
Diffstat (limited to 'include/vulkan/vulkan.hpp')
-rw-r--r-- | include/vulkan/vulkan.hpp | 259 |
1 files changed, 96 insertions, 163 deletions
diff --git a/include/vulkan/vulkan.hpp b/include/vulkan/vulkan.hpp index 69d1f01..e54b480 100644 --- a/include/vulkan/vulkan.hpp +++ b/include/vulkan/vulkan.hpp @@ -120,7 +120,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h # include <span> #endif -static_assert( VK_HEADER_VERSION == 217, "Wrong VK_HEADER_VERSION!" ); +static_assert( VK_HEADER_VERSION == 218, "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 @@ -5816,6 +5816,81 @@ namespace VULKAN_HPP_NAMESPACE InvalidShaderNVError( char const * message ) : SystemError( make_error_code( Result::eErrorInvalidShaderNV ), message ) {} }; +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class ImageUsageNotSupportedKHRError : public SystemError + { + public: + ImageUsageNotSupportedKHRError( std::string const & message ) : SystemError( make_error_code( Result::eErrorImageUsageNotSupportedKHR ), message ) {} + ImageUsageNotSupportedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorImageUsageNotSupportedKHR ), message ) {} + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class VideoPictureLayoutNotSupportedKHRError : public SystemError + { + public: + VideoPictureLayoutNotSupportedKHRError( std::string const & message ) + : SystemError( make_error_code( Result::eErrorVideoPictureLayoutNotSupportedKHR ), message ) + { + } + VideoPictureLayoutNotSupportedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorVideoPictureLayoutNotSupportedKHR ), message ) + { + } + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class VideoProfileOperationNotSupportedKHRError : public SystemError + { + public: + VideoProfileOperationNotSupportedKHRError( std::string const & message ) + : SystemError( make_error_code( Result::eErrorVideoProfileOperationNotSupportedKHR ), message ) + { + } + VideoProfileOperationNotSupportedKHRError( char const * message ) + : SystemError( make_error_code( Result::eErrorVideoProfileOperationNotSupportedKHR ), message ) + { + } + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class VideoProfileFormatNotSupportedKHRError : public SystemError + { + public: + VideoProfileFormatNotSupportedKHRError( std::string const & message ) + : SystemError( make_error_code( Result::eErrorVideoProfileFormatNotSupportedKHR ), message ) + { + } + VideoProfileFormatNotSupportedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorVideoProfileFormatNotSupportedKHR ), message ) + { + } + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class VideoProfileCodecNotSupportedKHRError : public SystemError + { + public: + VideoProfileCodecNotSupportedKHRError( std::string const & message ) + : SystemError( make_error_code( Result::eErrorVideoProfileCodecNotSupportedKHR ), message ) + { + } + VideoProfileCodecNotSupportedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorVideoProfileCodecNotSupportedKHR ), message ) {} + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + class VideoStdVersionNotSupportedKHRError : public SystemError + { + public: + VideoStdVersionNotSupportedKHRError( std::string const & message ) : SystemError( make_error_code( Result::eErrorVideoStdVersionNotSupportedKHR ), message ) + { + } + VideoStdVersionNotSupportedKHRError( char const * message ) : SystemError( make_error_code( Result::eErrorVideoStdVersionNotSupportedKHR ), message ) {} + }; +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ + class InvalidDrmFormatModifierPlaneLayoutEXTError : public SystemError { public: @@ -5883,6 +5958,24 @@ namespace VULKAN_HPP_NAMESPACE case Result::eErrorIncompatibleDisplayKHR: throw IncompatibleDisplayKHRError( message ); case Result::eErrorValidationFailedEXT: throw ValidationFailedEXTError( message ); case Result::eErrorInvalidShaderNV: throw InvalidShaderNVError( message ); +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorImageUsageNotSupportedKHR: throw ImageUsageNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorVideoPictureLayoutNotSupportedKHR: throw VideoPictureLayoutNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorVideoProfileOperationNotSupportedKHR: throw VideoProfileOperationNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorVideoProfileFormatNotSupportedKHR: throw VideoProfileFormatNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorVideoProfileCodecNotSupportedKHR: throw VideoProfileCodecNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ +# if defined( VK_ENABLE_BETA_EXTENSIONS ) + case Result::eErrorVideoStdVersionNotSupportedKHR: throw VideoStdVersionNotSupportedKHRError( message ); +# endif /*VK_ENABLE_BETA_EXTENSIONS*/ case Result::eErrorInvalidDrmFormatModifierPlaneLayoutEXT: throw InvalidDrmFormatModifierPlaneLayoutEXTError( message ); case Result::eErrorNotPermittedKHR: throw NotPermittedKHRError( message ); # if defined( VK_USE_PLATFORM_WIN32_KHR ) @@ -7384,7 +7477,7 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoProfileKHR, FormatProperties2> + struct StructExtends<VideoProfilesKHR, PhysicalDeviceImageFormatInfo2> { enum { @@ -7392,31 +7485,7 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoProfileKHR, ImageCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoProfileKHR, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoProfileKHR, BufferCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoProfilesKHR, FormatProperties2> + struct StructExtends<VideoProfilesKHR, PhysicalDeviceVideoFormatInfoKHR> { enum { @@ -7432,14 +7501,6 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoProfilesKHR, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> struct StructExtends<VideoProfilesKHR, BufferCreateInfo> { enum @@ -7580,38 +7641,6 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoEncodeH264ProfileEXT, FormatProperties2> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH264ProfileEXT, ImageCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH264ProfileEXT, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH264ProfileEXT, BufferCreateInfo> - { - enum - { - value = true - }; - }; - template <> struct StructExtends<VideoEncodeH264RateControlInfoEXT, VideoEncodeRateControlInfoKHR> { enum @@ -7688,38 +7717,6 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoEncodeH265ProfileEXT, FormatProperties2> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH265ProfileEXT, ImageCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH265ProfileEXT, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoEncodeH265ProfileEXT, BufferCreateInfo> - { - enum - { - value = true - }; - }; - template <> struct StructExtends<VideoEncodeH265RateControlInfoEXT, VideoEncodeRateControlInfoKHR> { enum @@ -7756,38 +7753,6 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoDecodeH264ProfileEXT, FormatProperties2> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH264ProfileEXT, ImageCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH264ProfileEXT, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH264ProfileEXT, BufferCreateInfo> - { - enum - { - value = true - }; - }; - template <> struct StructExtends<VideoDecodeH264CapabilitiesEXT, VideoDecodeCapabilitiesKHR> { enum @@ -8810,38 +8775,6 @@ namespace VULKAN_HPP_NAMESPACE }; }; template <> - struct StructExtends<VideoDecodeH265ProfileEXT, FormatProperties2> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH265ProfileEXT, ImageCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH265ProfileEXT, ImageViewCreateInfo> - { - enum - { - value = true - }; - }; - template <> - struct StructExtends<VideoDecodeH265ProfileEXT, BufferCreateInfo> - { - enum - { - value = true - }; - }; - template <> struct StructExtends<VideoDecodeH265CapabilitiesEXT, VideoDecodeCapabilitiesKHR> { enum |