[Mesa-dev] [PATCH 7/9] st/mesa: don't dirty sample shading on _NEW_PROGRAM
Marek Olšák
maraeo at gmail.com
Mon Jul 18 13:11:53 UTC 2016
From: Marek Olšák <marek.olsak at amd.com>
Already done as part of ST_NEW_FRAGMENT_PROGRAM in st_validate_state.
---
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 911bec6..5eb36be 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 |
--
2.7.4
More information about the mesa-dev
mailing list