Merge pull request #726 from asuessenbach/152

Update to VK_HEADER_VERSION 152.
This commit is contained in:
Andreas Süßenbach 2020-08-27 10:28:55 +02:00 committed by GitHub
commit 27d4d78ea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 9 deletions

@ -1 +1 @@
Subproject commit 99638d8d7fc64ae9c3fc6a396ec034abd40e675d
Subproject commit ced848d699b5673a7df900bcfe0b1a6ba9e989ce

View File

@ -8889,8 +8889,6 @@ namespace std
Result result;
UniqueHandle<Type, Dispatch> value;
operator std::tuple<Result&, UniqueHandle<Type, Dispatch>&>() VULKAN_HPP_NOEXCEPT { return std::tuple<Result&, UniqueHandle<Type, Dispatch>&>(result, value); }
# if !defined(VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST)
VULKAN_HPP_DEPRECATED("Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue.")
operator UniqueHandle<Type, Dispatch>& () & VULKAN_HPP_NOEXCEPT

View File

@ -88,7 +88,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <compare>
#endif
static_assert( VK_HEADER_VERSION == 151, "Wrong VK_HEADER_VERSION!" );
static_assert( VK_HEADER_VERSION == 152, "Wrong VK_HEADER_VERSION!" );
// 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
@ -16372,11 +16372,6 @@ namespace VULKAN_HPP_NAMESPACE
Result result;
UniqueHandle<Type, Dispatch> value;
operator std::tuple<Result &, UniqueHandle<Type, Dispatch> &>() VULKAN_HPP_NOEXCEPT
{
return std::tuple<Result &, UniqueHandle<Type, Dispatch> &>( result, value );
}
# if !defined( VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST )
VULKAN_HPP_DEPRECATED(
"Implicit-cast operators on vk::ResultValue are deprecated. Explicitly access the value as member of ResultValue." )