From 65f9ccb4e70da0386e14399a1f31135a64ad9f94 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Mon, 6 Jul 2015 17:33:43 -0700 Subject: [PATCH] vk/vulkan.h: Remove VK_MEMORY_PROPERTY_PREFER_HOST_LOCAL_BIT We weren't doing anything with it, so this is a no-op --- include/vulkan/vulkan.h | 1 - src/vulkan/device.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) 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; -- 2.30.2