summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg Kristensen <[email protected]>2016-02-14 22:46:25 -0800
committerKristian Høgsberg Kristensen <[email protected]>2016-02-15 17:32:07 -0800
commit18dd59538b888127a3894bf764d863e5067f4a4a (patch)
tree6c77bc8fca02dc76d8257901d8b9578158a11985 /src
parent832f73f512e9e6c21d495d7b07e229482371ef2f (diff)
anv/gen7: Call flush_pipeline_select_3d() from CmdBeginRenderPass
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/gen7_cmd_buffer.c2
1 files changed, 2 insertions, 0 deletions
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,