From: Nicolai Hähnle <[email protected]>

Since commit d938b8c, the sample locations are no longer set unconditionally,
so we need to set the atom to dirty on all chips, not just Polaris.

Cc: 12.0 <[email protected]>
---
 src/gallium/drivers/radeonsi/si_state_shaders.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c 
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index c24130d..f5f69cf 100644
--- a/src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/src/gallium/drivers/radeonsi/si_state_shaders.c
@@ -2170,8 +2170,7 @@ bool si_update_shaders(struct si_context *sctx)
                        if (sctx->b.chip_class == SI)
                                si_mark_atom_dirty(sctx, 
&sctx->db_render_state);
 
-                       if (sctx->framebuffer.nr_samples <= 1 &&
-                           sctx->b.family >= CHIP_POLARIS10)
+                       if (sctx->framebuffer.nr_samples <= 1)
                                si_mark_atom_dirty(sctx, 
&sctx->msaa_sample_locs.atom);
                }
        }
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to