summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-05-20 00:11:32 -0700
committerJason Ekstrand <[email protected]>2016-05-27 15:18:04 -0700
commitb26bd6790dd1b09e377bd926e9145ec20ce6ac3f (patch)
tree4946fedb2023a1a3a4f2e2f12b1fa43e6c825658 /src/intel/vulkan/anv_private.h
parent54324877926caa28b8ebd89d95b4e7c2447d17b8 (diff)
anv/clear: Only clear the render area when doing subpass clears
Signed-off-by: Jason Ekstrand <[email protected]> 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 d8fffc3bf6d..f6ce31da1c4 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -1174,6 +1174,7 @@ struct anv_cmd_state {
struct anv_framebuffer * framebuffer;
struct anv_render_pass * pass;
struct anv_subpass * subpass;
+ VkRect2D render_area;
uint32_t restart_index;
struct anv_vertex_binding vertex_bindings[MAX_VBS];
struct anv_descriptor_set * descriptors[MAX_SETS];