summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/genX_cmd_buffer.c
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/genX_cmd_buffer.c
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/genX_cmd_buffer.c')
-rw-r--r--src/intel/vulkan/genX_cmd_buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c
index f5e3530b59d..9f61a10c3ef 100644
--- a/src/intel/vulkan/genX_cmd_buffer.c
+++ b/src/intel/vulkan/genX_cmd_buffer.c
@@ -1100,6 +1100,7 @@ void genX(CmdBeginRenderPass)(
cmd_buffer->state.framebuffer = framebuffer;
cmd_buffer->state.pass = pass;
+ cmd_buffer->state.render_area = pRenderPassBegin->renderArea;
anv_cmd_state_setup_attachments(cmd_buffer, pRenderPassBegin);
genX(flush_pipeline_select_3d)(cmd_buffer);