summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason.ekstrand@intel.com>2016-10-07 22:07:04 -0700
committerJason Ekstrand <jason.ekstrand@intel.com>2016-10-14 15:40:39 -0700
commit0a2c375af95953e5d36da243457f40d458077f50 (patch)
tree72fdca978841074a4a1451150a9382c48c4b31e1 /src/intel/vulkan/anv_private.h
parent8e1a8dd47e1f6fb1849b149a42207b16ffd9c10a (diff)
downloadexternal_mesa3d-0a2c375af95953e5d36da243457f40d458077f50.zip
external_mesa3d-0a2c375af95953e5d36da243457f40d458077f50.tar.gz
external_mesa3d-0a2c375af95953e5d36da243457f40d458077f50.tar.bz2
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 <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 1 insertions, 2 deletions
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 */