From 0a2c375af95953e5d36da243457f40d458077f50 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 7 Oct 2016 22:07:04 -0700 Subject: anv/image: Get rid of the usage hacks for meta Now that meta is gone and we're using blorp, we don't need all of the usage hacks. Instead, the usage provided by the app is exactly the usage that we want because the app is the only thing creating image views. Signed-off-by: Jason Ekstrand --- src/intel/vulkan/anv_private.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/intel/vulkan/anv_private.h') diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 7c5dc56..1e39167 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -1672,8 +1672,7 @@ anv_image_has_hiz(const struct anv_image *image) void anv_image_view_init(struct anv_image_view *view, struct anv_device *device, const VkImageViewCreateInfo* pCreateInfo, - struct anv_cmd_buffer *cmd_buffer, - VkImageUsageFlags usage_mask); + struct anv_cmd_buffer *cmd_buffer); struct anv_buffer_view { enum isl_format format; /**< VkBufferViewCreateInfo::format */ -- cgit v1.1