aboutsummaryrefslogtreecommitdiff
path: root/include/vk_platform.h
diff options
context:
space:
mode:
authorMike Stroyan <mike@LunarG.com>2015-04-17 12:36:38 -0600
committerMike Stroyan <mike@LunarG.com>2015-04-17 20:40:58 -0600
commitebae832becfe966d2f413ca17cd2f9e7d4e804f1 (patch)
treec91193ba72f92d93ea33c699c487f6b19754bc25 /include/vk_platform.h
parent7c5603c74d669f70373b037a7f7e015869491df5 (diff)
downloadusermoji-ebae832becfe966d2f413ca17cd2f9e7d4e804f1.tar.xz
update to vulkan.h header version 90, bug 13529
Diffstat (limited to 'include/vk_platform.h')
-rw-r--r--include/vk_platform.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/vk_platform.h b/include/vk_platform.h
index 957c135e..90db1b2f 100644
--- a/include/vk_platform.h
+++ b/include/vk_platform.h
@@ -2,7 +2,7 @@
// File: vk_platform.h
//
/*
-** Copyright (c) 2014 The Khronos Group Inc.
+** Copyright (c) 2014-2015 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
@@ -82,6 +82,16 @@ typedef uint32_t bool32_t;
typedef uint32_t VkSampleMask;
typedef uint32_t VkFlags;
+#if (UINTPTR_MAX >= UINT64_MAX)
+ #define VK_UINTPTRLEAST64_MAX UINTPTR_MAX
+
+ typedef uintptr_t VkUintPtrLeast64;
+#else
+ #define VK_UINTPTRLEAST64_MAX UINT64_MAX
+
+ typedef uint64_t VkUintPtrLeast64;
+#endif
+
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus