summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2017-01-09 10:44:36 -0800
committerNanley Chery <[email protected]>2017-01-12 20:52:20 -0800
commit968ffd6c868af7226e8f889573eef709888151cb (patch)
treeef9bf89d4ef913dc5a05a3dbcd95197d5775aab8 /src/intel/vulkan/anv_private.h
parent104ce1dbab44f8d11d5dcc90d3f1cc8c466893d8 (diff)
anv: Prepare for transitioning to the requested final layout
Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index a4e6cb282b8..a3a958f7bd3 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1770,6 +1770,9 @@ struct anv_render_pass_attachment {
/* An array, indexed by subpass id, of how the attachment will be used. */
enum anv_subpass_usage * subpass_usage;
+
+ /* The subpass id in which the attachment will be used last. */
+ uint32_t last_subpass_idx;
};
struct anv_render_pass {