diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 8c7f0b07c96..93240e9b8c9 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -4065,13 +4065,6 @@ VkResult anv_AllocateMemory( if (!(mem_type->propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT)) alloc_flags |= ANV_BO_ALLOC_NO_LOCAL_MEM; - /* If the allocated buffer might end up in local memory and it's host - * visible, make CPU writes are combined, it should be faster. - */ - if (!(alloc_flags & ANV_BO_ALLOC_NO_LOCAL_MEM) && - (mem_type->propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)) - alloc_flags |= ANV_BO_ALLOC_WRITE_COMBINE; - if (vk_flags & VK_MEMORY_ALLOCATE_DEVICE_ADDRESS_BIT) alloc_flags |= ANV_BO_ALLOC_CLIENT_VISIBLE_ADDRESS;