summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-07-17 20:59:42 +0200
committerMarek Olšák <[email protected]>2016-07-30 15:02:14 +0200
commitc7954b130a107a774e721101b99443fefda0bedc (patch)
tree6054f80a459a22172611bad9a6b81fddfc29c7bb /src/mesa/state_tracker/st_context.c
parent79dcd69afae4ada47fd4e746e9eec87c6d8028f0 (diff)
st/mesa: don't dirty sample shading on _NEW_PROGRAM
Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 2ba6efe7644..e4dd6fa897c 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 |