[Mesa-dev] [PATCH 04/14] mesa: Drop dead last_ReallyEnabled fields from drivers.

Eric Anholt eric at anholt.net
Thu Apr 24 17:50:11 PDT 2014


---
 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 597532b..34af202 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 544b396..4032532 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 2dd1918..f44dff0 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 |
-- 
1.9.2



More information about the mesa-dev mailing list