From: Marek Olšák <marek.ol...@amd.com>

Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state.
---
 src/mesa/state_tracker/st_context.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/mesa/state_tracker/st_context.c 
b/src/mesa/state_tracker/st_context.c
index 911bec6..5eb36be 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -150,8 +150,7 @@ void st_invalidate_state(struct gl_context * ctx, 
GLbitfield new_state)
          st->dirty |= ST_NEW_DSA;
 
       if (new_state & _NEW_PROGRAM)
-         st->dirty |= ST_NEW_SAMPLE_SHADING |
-                      ST_NEW_RASTERIZER;
+         st->dirty |= ST_NEW_RASTERIZER;
 
       if (new_state & _NEW_SCISSOR)
          st->dirty |= ST_NEW_RASTERIZER |
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to