From c7954b130a107a774e721101b99443fefda0bedc Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Sun, 17 Jul 2016 20:59:42 +0200 Subject: st/mesa: don't dirty sample shading on _NEW_PROGRAM MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state. Reviewed-by: Nicolai Hähnle --- 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 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 | -- cgit v1.2.3