summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc4/vc4_draw.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-07-01 14:42:42 -0700
committerEric Anholt <[email protected]>2014-08-08 18:59:46 -0700
commitcf2d777fbe7fd87f9076d4bc0ad639b33e7ffb70 (patch)
treeb9e6ddfc4cc60ace7115107fba1ef552027cc9c2 /src/gallium/drivers/vc4/vc4_draw.c
parent6cf86dd48786b08991714c338c6b506dde5f75bb (diff)
vc4: Add shader variant caching to handle FS output swizzle.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_draw.c')
-rw-r--r--src/gallium/drivers/vc4/vc4_draw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_draw.c b/src/gallium/drivers/vc4/vc4_draw.c
index 1d7956d1d4f..10b5deb560e 100644
--- a/src/gallium/drivers/vc4/vc4_draw.c
+++ b/src/gallium/drivers/vc4/vc4_draw.c
@@ -98,6 +98,8 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
"tile_state");
}
+ vc4_update_compiled_shaders(vc4);
+
vc4->needs_flush = true;
// Tile state data is 48 bytes per tile, I think it can be thrown away