First set of extension inspection helper functions: isDeviceExtension and isInstanceExtension (#1545)

This commit is contained in:
Andreas Süßenbach
2023-03-28 17:33:11 +02:00
committed by GitHub
parent 9d5220db12
commit 4420e1f91e
10 changed files with 463 additions and 5 deletions

View File

@@ -186,6 +186,11 @@ static_assert( VK_HEADER_VERSION == 245, "Wrong VK_HEADER_VERSION!" );
# else
# define VULKAN_HPP_CONSTEXPR_14
# endif
# if __cpp_constexpr >= 201907
# define VULKAN_HPP_CONSTEXPR_20 constexpr
# else
# define VULKAN_HPP_CONSTEXPR_20
# endif
# define VULKAN_HPP_CONST_OR_CONSTEXPR constexpr
#else
# define VULKAN_HPP_CONSTEXPR
@@ -13153,7 +13158,7 @@ namespace VULKAN_HPP_NAMESPACE
# elif defined( __APPLE__ )
m_library = dlopen( "libvulkan.dylib", RTLD_NOW | RTLD_LOCAL );
# elif defined( _WIN32 )
m_library = ::LoadLibraryA( "vulkan-1.dll" );
m_library = ::LoadLibraryA( "vulkan-1.dll" );
# else
# error unsupported platform
# endif