Update for Vulkan-Docs 1.3.292

This commit is contained in:
Jon Leech 2024-07-27 05:20:20 -07:00 committed by Jon Leech
parent fabe9e2672
commit 595c8d4794
9 changed files with 1186 additions and 401 deletions

View file

@ -12,6 +12,7 @@
#include <array> // ArrayWrapperND
#include <string.h> // strnlen
#include <string> // std::string
#include <utility> // std::exchange
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_hpp_macros.hpp>
@ -56,7 +57,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <span>
#endif
static_assert( VK_HEADER_VERSION == 291, "Wrong VK_HEADER_VERSION!" );
static_assert( VK_HEADER_VERSION == 292, "Wrong VK_HEADER_VERSION!" );
// <tuple> includes <sys/sysmacros.h> through some other header
// this results in major(x) being resolved to gnu_dev_major(x)
@ -5889,6 +5890,18 @@ namespace VULKAN_HPP_NAMESPACE
}
#endif
#if ( 14 <= VULKAN_HPP_CPP_VERSION )
using std::exchange;
#else
template <class T, class U = T>
VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_INLINE T exchange( T & obj, U && newValue )
{
T oldValue = std::move( obj );
obj = std::forward<U>( newValue );
return oldValue;
}
#endif
#if !defined( VULKAN_HPP_NO_SMART_HANDLE )
struct AllocationCallbacks;