vc4: Make sure we recompile when sample_mask changes.
authorEric Anholt <eric@anholt.net>
Thu, 21 Apr 2016 00:00:13 +0000 (17:00 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 22 Apr 2016 18:27:11 +0000 (11:27 -0700)
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>
src/gallium/drivers/vc4/vc4_program.c

index 4235d265d87404fa87da2f46c191f349c6e03490..fa81622224e3e321864d03ff0d1a084959dc08aa 100644 (file)
@@ -2176,6 +2176,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))) {