iris: flush always
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 29 May 2018 03:28:08 +0000 (20:28 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:06 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_draw.c

index df95e0300146ef6e803e038cdedd0935e43c19c8..2494ade77d1d1f17dfd1a37886ed803bfadd7bca 100644 (file)
@@ -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);
 }