Update Vulkan-Headers to v1.3.257 (#1617)

Co-authored-by: GitHub <noreply@github.com>
This commit is contained in:
github-actions[bot]
2023-07-10 11:45:53 +02:00
committed by GitHub
parent f4abba455e
commit 23d6bf01e2
7 changed files with 27 additions and 74 deletions

View File

@@ -140,6 +140,17 @@ static_assert( VK_HEADER_VERSION == 12, "Wrong VK_HEADER_VERSION!" );
# undef MemoryBarrier
#endif
// XLib.h defines True/False, which collides with our vk::True/vk::False
// -> undef them and provide some namepace-secure constexpr
#if defined( True )
# undef True
constexpr int True = 1;
#endif
#if defined( False )
# undef False
constexpr int False = 0;
#endif
#if defined( __GNUC__ )
# define GCC_VERSION ( __GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__ )
#endif