From 9aaa6481e562bc75fb2f0b91e2f5c790b9ab6e17 Mon Sep 17 00:00:00 2001 From: asuessenbach Date: Thu, 27 Aug 2020 09:03:06 +0200 Subject: [PATCH] Update to VK_HEADER_VERSION 152. --- Vulkan-Headers | 2 +- VulkanHppGenerator.cpp | 2 -- vulkan/vulkan.hpp | 7 +------ 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Vulkan-Headers b/Vulkan-Headers index 99638d8..ced848d 160000 --- a/Vulkan-Headers +++ b/Vulkan-Headers @@ -1 +1 @@ -Subproject commit 99638d8d7fc64ae9c3fc6a396ec034abd40e675d +Subproject commit ced848d699b5673a7df900bcfe0b1a6ba9e989ce diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 7ef4802..ffd5ed9 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -8889,8 +8889,6 @@ namespace std Result result; UniqueHandle value; - operator std::tuple&>() VULKAN_HPP_NOEXCEPT { return std::tuple&>(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& () & VULKAN_HPP_NOEXCEPT diff --git a/vulkan/vulkan.hpp b/vulkan/vulkan.hpp index a0b7095..6b53c0b 100644 --- a/vulkan/vulkan.hpp +++ b/vulkan/vulkan.hpp @@ -88,7 +88,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h # include #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 value; - operator std::tuple &>() VULKAN_HPP_NOEXCEPT - { - return std::tuple &>( 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." )