vk: Remove SHAREABLE bits
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:12:47 +0000 (17:12 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:12:51 +0000 (17:12 -0700)
They were removed from the Vulkan API and we don't really use them because
there are no multi-GPU i965 systems.

include/vulkan/vulkan.h
src/vulkan/device.c

index 5f0906f932e012fae72a18413810070e8b077ea6..cdd60288fe1079c7d06eecda440c236b0aec00d0 100644 (file)
@@ -911,7 +911,6 @@ typedef enum {
     VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT = 0x00000004,
     VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT = 0x00000008,
     VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL = 0x00000010,
-    VK_MEMORY_PROPERTY_SHAREABLE_BIT = 0x00000011,
 } VkMemoryPropertyFlagBits;
 typedef VkFlags VkMemoryPropertyFlags;
 
@@ -926,10 +925,6 @@ typedef enum {
     VK_FENCE_CREATE_SIGNALED_BIT = 0x00000001,
 } VkFenceCreateFlagBits;
 typedef VkFlags VkFenceCreateFlags;
-
-typedef enum {
-    VK_SEMAPHORE_CREATE_SHAREABLE_BIT = 0x00000001,
-} VkSemaphoreCreateFlagBits;
 typedef VkFlags VkSemaphoreCreateFlags;
 typedef VkFlags VkEventCreateFlags;
 
@@ -973,8 +968,7 @@ typedef enum {
 typedef VkFlags VkBufferUsageFlags;
 
 typedef enum {
-    VK_BUFFER_CREATE_SHAREABLE_BIT = 0x00000001,
-    VK_BUFFER_CREATE_SPARSE_BIT = 0x00000002,
+    VK_BUFFER_CREATE_SPARSE_BIT = 0x00000001,
 } VkBufferCreateFlagBits;
 typedef VkFlags VkBufferCreateFlags;
 
@@ -993,10 +987,9 @@ typedef VkFlags VkImageUsageFlags;
 typedef enum {
     VK_IMAGE_CREATE_INVARIANT_DATA_BIT = 0x00000001,
     VK_IMAGE_CREATE_CLONEABLE_BIT = 0x00000002,
-    VK_IMAGE_CREATE_SHAREABLE_BIT = 0x00000004,
-    VK_IMAGE_CREATE_SPARSE_BIT = 0x00000008,
-    VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 0x00000010,
-    VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 0x00000020,
+    VK_IMAGE_CREATE_SPARSE_BIT = 0x00000004,
+    VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT = 0x00000008,
+    VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT = 0x00000010,
 } VkImageCreateFlagBits;
 typedef VkFlags VkImageCreateFlags;
 
index 35eaad2177485c511249a72a56ba21b3df633b47..35f3f31e67b146644bc681b2d1561d684cb7a932 100644 (file)
@@ -1092,8 +1092,7 @@ fill_memory_requirements(
       VK_MEMORY_PROPERTY_HOST_DEVICE_COHERENT_BIT |
       /* VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT | */
       VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT |
-      VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL |
-      VK_MEMORY_PROPERTY_SHAREABLE_BIT;
+      VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL;
 
    memory_requirements->memPropsRequired = 0;