Mesa (master): vc4: Make sure we recompile when sample_mask changes.

Eric Anholt anholt at kemper.freedesktop.org
Fri Apr 22 18:27:54 UTC 2016


Module: Mesa
Branch: master
Commit: 79b36168e00891c765d0dffed411beca48be1da5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=79b36168e00891c765d0dffed411beca48be1da5

Author: Eric Anholt <eric at anholt.net>
Date:   Wed Apr 20 17:00:13 2016 -0700

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 at lists.freedesktop.org>

---

 src/gallium/drivers/vc4/vc4_program.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/vc4/vc4_program.c b/src/gallium/drivers/vc4/vc4_program.c
index 4235d26..fa81622 100644
--- a/src/gallium/drivers/vc4/vc4_program.c
+++ b/src/gallium/drivers/vc4/vc4_program.c
@@ -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))) {




More information about the mesa-commit mailing list