st/mesa: don't dirty sample shading on _NEW_PROGRAM
authorMarek Olšák <marek.olsak@amd.com>
Sun, 17 Jul 2016 18:59:42 +0000 (20:59 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 30 Jul 2016 13:02:14 +0000 (15:02 +0200)
Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_context.c

index 2ba6efe..e4dd6fa 100644 (file)
@@ -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 |