From: Jason Ekstrand Date: Tue, 7 Jul 2015 00:33:43 +0000 (-0700) Subject: vk/vulkan.h: Remove VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL_BIT X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=65f9ccb4e70da0386e14399a1f31135a64ad9f94;p=mesa.git vk/vulkan.h: Remove VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL_BIT We weren't doing anything with it, so this is a no-op --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 7f6776ebbeb..bb6bdf9d566 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -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; diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 088a3f6bb81..3c73a404f67 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -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;