mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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
|
// filter out the check for the different types of VK_DEFINE_NON_DISPATCHABLE_HANDLE
|
||||||
if ( name == "VK_USE_64_BIT_PTR_DEFINES" )
|
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() ) )
|
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>
|
# include <compare>
|
||||||
#endif
|
#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.
|
// 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
|
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||||
#if defined( __LP64__ ) || defined( _WIN64 ) || ( defined( __x86_64__ ) && !defined( __ILP32__ ) ) || \
|
#if ( VK_USE_64_BIT_PTR_DEFINES == 1 )
|
||||||
defined( _M_X64 ) || defined( __ia64 ) || defined( _M_IA64 ) || defined( __aarch64__ ) || defined( __powerpc64__ )
|
|
||||||
# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
# if !defined( VULKAN_HPP_TYPESAFE_CONVERSION )
|
||||||
# define VULKAN_HPP_TYPESAFE_CONVERSION
|
# define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user