From 18dd59538b888127a3894bf764d863e5067f4a4a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Sun, 14 Feb 2016 22:46:25 -0800 Subject: [PATCH] anv/gen7: Call flush_pipeline_select_3d() from CmdBeginRenderPass --- src/vulkan/gen7_cmd_buffer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vulkan/gen7_cmd_buffer.c b/src/vulkan/gen7_cmd_buffer.c index be713798709..b5b9d1c5ce0 100644 --- a/src/vulkan/gen7_cmd_buffer.c +++ b/src/vulkan/gen7_cmd_buffer.c @@ -664,6 +664,8 @@ void genX(CmdBeginRenderPass)( cmd_buffer->state.pass = pass; anv_cmd_state_setup_attachments(cmd_buffer, pRenderPassBegin); + genX(flush_pipeline_select_3d)(cmd_buffer); + const VkRect2D *render_area = &pRenderPassBegin->renderArea; anv_batch_emit(&cmd_buffer->batch, GEN7_3DSTATE_DRAWING_RECTANGLE, -- 2.30.2