summaryrefslogtreecommitdiffstats
path: root/include/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-02-02 13:08:47 -0800
committerJason Ekstrand <jason.ekstrand@intel.com>2016-02-02 13:08:47 -0800
commitc7f26bbed9ad6cd382ed5be666f83ba276de8b03 (patch)
tree42d2e1f89c05b7f84c15a0393519b442e5cedc70 /include/vulkan
parent0d2145b50f4b8b85702c9442f754c060901f38e0 (diff)
downloadexternal_mesa3d-c7f26bbed9ad6cd382ed5be666f83ba276de8b03.zip
external_mesa3d-c7f26bbed9ad6cd382ed5be666f83ba276de8b03.tar.gz
external_mesa3d-c7f26bbed9ad6cd382ed5be666f83ba276de8b03.tar.bz2
vulkan: Bump the header to 1.0.3
Diffstat (limited to 'include/vulkan')
-rw-r--r--include/vulkan/vulkan.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h
index 9940f85..f5610c5 100644
--- a/include/vulkan/vulkan.h
+++ b/include/vulkan/vulkan.h
@@ -38,11 +38,14 @@ extern "C" {
#include "vk_platform.h"
#define VK_MAKE_VERSION(major, minor, patch) \
- ((major << 22) | (minor << 12) | patch)
+ (((major) << 22) | ((minor) << 12) | (patch))
// Vulkan API version supported by this file
-#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 2)
+#define VK_API_VERSION VK_MAKE_VERSION(1, 0, 3)
+#define VK_VERSION_MAJOR(version) ((uint32_t)(version) >> 22)
+#define VK_VERSION_MINOR(version) (((uint32_t)(version) >> 12) & 0x3ff)
+#define VK_VERSION_PATCH(version) ((uint32_t)(version) & 0xfff)
#define VK_NULL_HANDLE 0