summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan/radv_private.h
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2017-08-16 08:59:41 +0200
committerBas Nieuwenhuizen <[email protected]>2017-08-24 19:20:47 +0200
commit2e86f6b2597df85bc106780763ead0b20b3bc8e4 (patch)
tree11e044cc1dcbbf9fd6e0a226b29633321d49200c /src/amd/vulkan/radv_private.h
parent3907d6325951148dd314421415d9dc1b8e335de3 (diff)
radv: Add multiview clears.
v2: Use for_each_bit. Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r--src/amd/vulkan/radv_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 1ad0dedf7d3..31f4d285aa7 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -752,6 +752,7 @@ void radv_dynamic_state_copy(struct radv_dynamic_state *dest,
*/
struct radv_attachment_state {
VkImageAspectFlags pending_clear_aspects;
+ uint32_t cleared_views;
VkClearValue clear_value;
VkImageLayout current_layout;
};