From bc70bad59bde311434349bbe07b7fb1d3b0ec559 Mon Sep 17 00:00:00 2001 From: Timothy Arceri <tarceri@itsqueeze.com> Date: Wed, 7 Jun 2017 13:26:16 +1000 Subject: mesa: inline vbo_exec_invalidate_state() and call from mesa core MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rather than calling it indirectly in each driver. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> --- src/mesa/state_tracker/st_context.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mesa/state_tracker') diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 0e768ea9e44..743c7bde280 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -279,11 +279,6 @@ st_invalidate_state(struct gl_context * ctx) if (new_state & _NEW_PROGRAM_CONSTANTS) st->dirty |= st->active_states & ST_NEW_CONSTANTS; - - /* This is the only core Mesa module we depend upon. - * No longer use swrast, swsetup, tnl. - */ - _vbo_InvalidateState(ctx, new_state); } -- cgit v1.2.3