summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-11-14 17:18:47 -0800
committerJason Ekstrand <[email protected]>2016-11-22 13:44:55 -0800
commit3f1eda0b42eae5009a96b7f3c088b2d85eea44db (patch)
tree8c5e71fd8b99a18e20158f006133a61d2fd95ce0 /src/intel/vulkan/anv_private.h
parent347f43c8ec54b1380d45a10c6ee38189ec6d73e9 (diff)
anv/pass: Calculate the combined image usage of attachments
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 7d7380a9d46..c7e44742e2e 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1722,6 +1722,7 @@ enum anv_subpass_usage {
struct anv_render_pass_attachment {
VkFormat format;
uint32_t samples;
+ VkImageUsageFlags usage;
VkAttachmentLoadOp load_op;
VkAttachmentStoreOp store_op;
VkAttachmentLoadOp stencil_load_op;