From: Marek Olšák Date: Sun, 17 Jul 2016 18:59:42 +0000 (+0200) Subject: st/mesa: don't dirty sample shading on _NEW_PROGRAM X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c7954b130a107a774e721101b99443fefda0bedc;p=mesa.git 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 --- 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 |