mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Update to version 1.0.32 (#43)
This commit is contained in:
parent
c8df19c07b
commit
8236dd0ba9
@ -1 +1 @@
|
|||||||
Subproject commit b97259786d817bfda38a3b0374782949011e51db
|
Subproject commit 368b08a7b2add6db489d0af766bd74854e1c87d4
|
@ -309,20 +309,20 @@ std::string const versionCheckHeader = (
|
|||||||
);
|
);
|
||||||
|
|
||||||
std::string const inlineHeader = {R"(
|
std::string const inlineHeader = {R"(
|
||||||
#if !defined(VULKAN_HPP_INLINE)
|
#if !defined(VULKAN_HPP_INLINE)
|
||||||
# if defined(__clang___)
|
# if defined(__clang___)
|
||||||
# if __has_attribute(always_inline)
|
# if __has_attribute(always_inline)
|
||||||
# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__
|
# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__
|
||||||
# else
|
# else
|
||||||
# define VULKAN_HPP_INLINE inline
|
# define VULKAN_HPP_INLINE inline
|
||||||
# endif
|
# endif
|
||||||
# elif defined(__GNUC__)
|
# elif defined(__GNUC__)
|
||||||
# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__
|
# define VULKAN_HPP_INLINE __attribute__((always_inline)) __inline__
|
||||||
# elif defined(_MSC_VER)
|
# elif defined(_MSC_VER)
|
||||||
# define VULKAN_HPP_INLINE __forceinline
|
# define VULKAN_HPP_INLINE __forceinline
|
||||||
# else
|
# else
|
||||||
# define VULKAN_HPP_INLINE inline
|
# define VULKAN_HPP_INLINE inline
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
)"
|
)"
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
# include <vector>
|
# include <vector>
|
||||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||||
|
|
||||||
static_assert( VK_HEADER_VERSION == 31 , "Wrong VK_HEADER_VERSION!" );
|
static_assert( VK_HEADER_VERSION == 32 , "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
|
||||||
|
Loading…
Reference in New Issue
Block a user