vk/vulkan.h: Bump to the version 0.138.1 header
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Jul 2015 00:34:23 +0000 (17:34 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 23 Jul 2015 17:38:22 +0000 (10:38 -0700)
This doesn't actually require any implementation changes but it does change
an enum so it is ABI-incompatable with 0.138.0.

include/vulkan/vulkan.h

index 8af58d15a277235642f5cc214716a4aea43bf86a..53038467da790fe84af2db978bbd461b9f27b4a7 100644 (file)
@@ -41,7 +41,7 @@ extern "C" {
     ((major << 22) | (minor << 12) | patch)
 
 // Vulkan API version supported by this file
-#define VK_API_VERSION VK_MAKE_VERSION(0, 138, 0)
+#define VK_API_VERSION VK_MAKE_VERSION(0, 138, 1)
 
 
 #define VK_DEFINE_HANDLE(obj) typedef struct obj##_T* obj;
@@ -206,22 +206,21 @@ typedef enum {
     VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO = 32,
     VK_STRUCTURE_TYPE_CMD_BUFFER_BEGIN_INFO = 33,
     VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO = 34,
-    VK_STRUCTURE_TYPE_LAYER_CREATE_INFO = 35,
-    VK_STRUCTURE_TYPE_MEMORY_BARRIER = 36,
-    VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 37,
-    VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 38,
-    VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 39,
-    VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 40,
-    VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 41,
-    VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 42,
-    VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 43,
-    VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 44,
-    VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 45,
-    VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION = 46,
-    VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION = 47,
-    VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY = 48,
-    VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 49,
-    VK_STRUCTURE_TYPE_CMD_POOL_CREATE_INFO = 50,
+    VK_STRUCTURE_TYPE_MEMORY_BARRIER = 35,
+    VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER = 36,
+    VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER = 37,
+    VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO = 38,
+    VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET = 39,
+    VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET = 40,
+    VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO = 41,
+    VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO = 42,
+    VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE = 43,
+    VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO = 44,
+    VK_STRUCTURE_TYPE_ATTACHMENT_DESCRIPTION = 45,
+    VK_STRUCTURE_TYPE_SUBPASS_DESCRIPTION = 46,
+    VK_STRUCTURE_TYPE_SUBPASS_DEPENDENCY = 47,
+    VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO = 48,
+    VK_STRUCTURE_TYPE_CMD_POOL_CREATE_INFO = 49,
     VK_STRUCTURE_TYPE_BEGIN_RANGE = VK_STRUCTURE_TYPE_APPLICATION_INFO,
     VK_STRUCTURE_TYPE_END_RANGE = VK_STRUCTURE_TYPE_CMD_POOL_CREATE_INFO,
     VK_STRUCTURE_TYPE_NUM = (VK_STRUCTURE_TYPE_CMD_POOL_CREATE_INFO - VK_STRUCTURE_TYPE_APPLICATION_INFO + 1),
@@ -1356,7 +1355,7 @@ typedef struct {
     char                                        layerName[VK_MAX_EXTENSION_NAME];
     uint32_t                                    specVersion;
     uint32_t                                    implVersion;
-    const char*                                 description[VK_MAX_DESCRIPTION];
+    char                                        description[VK_MAX_DESCRIPTION];
 } VkLayerProperties;
 
 typedef struct {