summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2016-04-20 17:00:13 -0700
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-05 11:47:19 +0100
commitbf37eeb166b2246ec905447ac90b146a6b43f514 (patch)
tree69ff1652d04c22b27b1645279a45e8e4e5dd21c8
parent2a88239dae0ae13dbc943ea86ed57f215d8bacb8 (diff)
vc4: Make sure we recompile when sample_mask changes.
Part of fixing piglit EXT_framebuffer_multisample/sample-coverage inverted (there is also a bug with RCL tiled blits) Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 79b36168e00891c765d0dffed411beca48be1da5)
-rw-r--r--src/gallium/drivers/vc4/vc4_program.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 31968bb5db9..f56d3bdb788 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -2053,6 +2053,7 @@ vc4_update_compiled_fs(struct vc4_context *vc4, uint8_t prim_mode)
VC4_DIRTY_FRAMEBUFFER |
VC4_DIRTY_ZSA |
VC4_DIRTY_RASTERIZER |
+ VC4_DIRTY_SAMPLE_MASK |
VC4_DIRTY_FRAGTEX |
VC4_DIRTY_TEXSTATE |
VC4_DIRTY_UNCOMPILED_FS))) {