summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-10-02 11:41:57 -0700
committerEric Anholt <[email protected]>2017-10-10 11:42:05 -0700
commit3ac8a2a4ba0346ec2d23078ec0d6b10e74609274 (patch)
tree994d60c924dbbb0352203fd77acc57dbd86df449 /src/gallium/drivers/vc5
parentec5af12b5d54f65ab119ce6f4eecd3a9fee5407d (diff)
broadcom/vc5: Fix up a comment from vc4 about the predraw texture setup.
Diffstat (limited to 'src/gallium/drivers/vc5')
-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);