summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-05-28 20:28:08 -0700
committerKenneth Graunke <[email protected]>2019-02-21 10:26:06 -0800
commita6dd9caf0d8bff7321a6acf8753fa63846c9f227 (patch)
treead358daf7160bdf984bcf584011d4c67e4031740
parent04d1a3a7def43c29f3f03e9ea6d4555823d44191 (diff)
iris: flush always
-rw-r--r--src/gallium/drivers/iris/iris_draw.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_draw.c b/src/gallium/drivers/iris/iris_draw.c
index df95e030014..2494ade77d1 100644
--- a/src/gallium/drivers/iris/iris_draw.c
+++ b/src/gallium/drivers/iris/iris_draw.c
@@ -55,4 +55,7 @@ iris_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info)
iris_update_compiled_shaders(ice);
ice->vtbl.upload_render_state(ice, batch, info);
+
+ // XXX: don't flush always
+ iris_batch_flush(batch);
}