From: Eric Anholt Date: Mon, 2 Oct 2017 18:41:57 +0000 (-0700) Subject: broadcom/vc5: Fix up a comment from vc4 about the predraw texture setup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ac8a2a4ba0346ec2d23078ec0d6b10e74609274;p=mesa.git broadcom/vc5: Fix up a comment from vc4 about the predraw texture setup. --- 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);