Module: Mesa Branch: master Commit: c7954b130a107a774e721101b99443fefda0bedc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c7954b130a107a774e721101b99443fefda0bedc
Author: Marek Olšák <marek.ol...@amd.com> Date: Sun Jul 17 20:59:42 2016 +0200 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 <nicolai.haeh...@amd.com> --- 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 2ba6efe..e4dd6fa 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 | _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit