vk/vulkan.h: Remove VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL_BIT
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:33:43 +0000 (17:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 7 Jul 2015 00:33:45 +0000 (17:33 -0700)
We weren't doing anything with it, so this is a no-op

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

index 7f6776ebbeb4946f63f1ff0eb1fa207edf5c0328..bb6bdf9d566a1a60929622e5be13d7d2c2e02733 100644 (file)
@@ -908,7 +908,6 @@ typedef enum {
     VK_MEMORY_PROPERTY_HOST_NON_COHERENT_BIT = 0x00000002,
     VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT = 0x00000004,
     VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT = 0x00000008,
-    VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL = 0x00000010,
 } VkMemoryPropertyFlagBits;
 typedef VkFlags VkMemoryPropertyFlags;
 
index 088a3f6bb81db5ad13463fcf0db51390575a9c9f..3c73a404f674ea25dbcad51c702bbc0cd69a1be5 100644 (file)
@@ -1091,8 +1091,7 @@ fill_memory_requirements(
       VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT |
       /* VK_MEMORY_PROPERTY_HOST_NON_COHERENT_BIT | */
       /* VK_MEMORY_PROPERTY_HOST_UNCACHED_BIT | */
-      VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT |
-      VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL;
+      VK_MEMORY_PROPERTY_HOST_WRITE_COMBINED_BIT;
 
    memory_requirements->memPropsRequired = 0;