From 3ac8a2a4ba0346ec2d23078ec0d6b10e74609274 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 2 Oct 2017 11:41:57 -0700 Subject: [PATCH] broadcom/vc5: Fix up a comment from vc4 about the predraw texture setup. --- src/gallium/drivers/vc5/vc5_draw.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.30.2