From af3454cad58be3df63c7fe6caf9604f651a6ce54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Wed, 9 Mar 2016 17:03:12 +0100 Subject: st/mesa: remove ST_NEW_MESA flag (v2) Only used indirectly when checking dirty.st != 0 v2: also update st_cb_compute.c Reviewed-by: Ilia Mirkin --- src/mesa/state_tracker/st_context.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/state_tracker/st_context.c') diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index e3ddee6..f5a6f85 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -141,9 +141,7 @@ void st_invalidate_state(struct gl_context * ctx, GLbitfield new_state) /* Invalidate render and compute pipelines. */ st->dirty.mesa |= new_state; - st->dirty.st |= ST_NEW_MESA; st->dirty_cp.mesa |= new_state; - st->dirty_cp.st |= ST_NEW_MESA; /* This is the only core Mesa module we depend upon. * No longer use swrast, swsetup, tnl. -- cgit v1.1