From 6bac47c05a40ea5a9f62b8b40bc1399a613d53df Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 23 Apr 2014 16:43:20 -0700 Subject: [PATCH] mesa: Drop dead last_ReallyEnabled fields from drivers. Reviewed-by: Matt Turner Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i915/i915_context.h | 1 - src/mesa/drivers/dri/radeon/radeon_context.h | 1 - src/mesa/drivers/dri/radeon/radeon_state_init.c | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/mesa/drivers/dri/i915/i915_context.h b/src/mesa/drivers/dri/i915/i915_context.h index 597532b1eed..34af202b691 100644 --- a/src/mesa/drivers/dri/i915/i915_context.h +++ b/src/mesa/drivers/dri/i915/i915_context.h @@ -250,7 +250,6 @@ struct i915_context { struct intel_context intel; - GLuint last_ReallyEnabled; GLuint lodbias_ss2[MAX_TEXTURE_UNITS]; diff --git a/src/mesa/drivers/dri/radeon/radeon_context.h b/src/mesa/drivers/dri/radeon/radeon_context.h index 544b3967514..40325327813 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.h +++ b/src/mesa/drivers/dri/radeon/radeon_context.h @@ -416,7 +416,6 @@ struct r100_context { GLuint NeedTexMatrix; GLuint TexMatColSwap; GLmatrix tmpmat[RADEON_MAX_TEXTURE_UNITS]; - GLuint last_ReallyEnabled; /* radeon_tcl.c */ diff --git a/src/mesa/drivers/dri/radeon/radeon_state_init.c b/src/mesa/drivers/dri/radeon/radeon_state_init.c index 2dd19184905..f44dff09eae 100644 --- a/src/mesa/drivers/dri/radeon/radeon_state_init.c +++ b/src/mesa/drivers/dri/radeon/radeon_state_init.c @@ -658,8 +658,6 @@ void radeonInitState( r100ContextPtr rmesa ) for (i = 0; i < 6; i++) rmesa->hw.ucp[i].emit = vec_emit; - rmesa->last_ReallyEnabled = -1; - /* Initial Harware state: */ rmesa->hw.ctx.cmd[CTX_PP_MISC] = (RADEON_ALPHA_TEST_PASS | -- 2.30.2