OSDN Git Service

broadcom/vc5: Fix up a comment from vc4 about the predraw texture setup.
authorEric Anholt <eric@anholt.net>
Mon, 2 Oct 2017 18:41:57 +0000 (11:41 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 10 Oct 2017 18:42:05 +0000 (11:42 -0700)
src/gallium/drivers/vc5/vc5_draw.c

index b7f8a78..9534778 100644 (file)
@@ -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);