mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 13:40:08 +00:00
Update to VK_HEADER_VERSION 174.
This commit is contained in:
parent
026e07639f
commit
3b04005776
@ -1 +1 @@
|
||||
Subproject commit a8d6ab19d197400be34422813c5edc7e4cbde552
|
||||
Subproject commit e1d8c4931d8e4b6c4a8e633c163ed3aa82d6ac1c
|
@ -11735,7 +11735,7 @@ void VulkanHppGenerator::readDefine( tinyxml2::XMLElement const *
|
||||
// filter out the check for the different types of VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||
if ( name == "VK_USE_64_BIT_PTR_DEFINES" )
|
||||
{
|
||||
m_typesafeCheck = "#if defined( VK_USE_64_BIT_PTR_DEFINES )\n";
|
||||
m_typesafeCheck = "#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )";
|
||||
}
|
||||
else if ( ( name == "VK_DEFINE_NON_DISPATCHABLE_HANDLE" ) && ( m_typesafeCheck.empty() ) )
|
||||
{
|
||||
|
@ -93,12 +93,11 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <compare>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 173, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 174, "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
|
||||
#if defined( __LP64__ ) || defined( _WIN64 ) || ( defined( __x86_64__ ) && !defined( __ILP32__ ) ) || \
|
||||
defined( _M_X64 ) || defined( __ia64 ) || defined( _M_IA64 ) || defined( __aarch64__ ) || defined( __powerpc64__ )
|
||||
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
|
||||
# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||
# define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user