summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/vc5/vc5_draw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc5/vc5_draw.c b/src/gallium/drivers/vc5/vc5_draw.c
index b7f8a7819f8..953477817d8 100644
--- a/src/gallium/drivers/vc5/vc5_draw.c
+++ b/src/gallium/drivers/vc5/vc5_draw.c
@@ -361,7 +361,9 @@ vc5_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
return;
}
- /* Before setting up the draw, do any fixup blits necessary. */
+ /* Before setting up the draw, flush anything writing to the textures
+ * that we read from.
+ */
vc5_predraw_check_textures(pctx, &vc5->verttex);
vc5_predraw_check_textures(pctx, &vc5->fragtex);