summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMathias Fröhlich <[email protected]>2018-01-27 12:09:00 -0700
committerBrian Paul <[email protected]>2018-01-30 09:07:59 -0700
commitb4216b588e970c6d322fd068c553d0bfc5e7a062 (patch)
tree93ed56ed37303c10ec91052762860f8ded4a6774 /src
parent1169791c18d2b291870fc68fef4f3ff5e4a81674 (diff)
mesa: Remove unused ffvertex_prog texunit_really_enabled.
Remove set but not read field from the state key used for hashing fixed function vertex shaders. Signed-off-by: Mathias Fröhlich <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/ffvertex_prog.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c
index 6f86477c49f..964d7079e1a 100644
--- a/src/mesa/main/ffvertex_prog.c
+++ b/src/mesa/main/ffvertex_prog.c
@@ -72,7 +72,6 @@ struct state_key {
unsigned light_eyepos3_is_zero:1;
unsigned light_spotcutoff_is_180:1;
unsigned light_attenuated:1;
- unsigned texunit_really_enabled:1;
unsigned texmat_enabled:1;
unsigned coord_replace:1;
unsigned texgen_enabled:1;
@@ -235,9 +234,6 @@ static void make_state_key( struct gl_context *ctx, struct state_key *key )
const int i = u_bit_scan(&mask);
struct gl_texture_unit *texUnit = &ctx->Texture.Unit[i];
- if (texUnit->_Current)
- key->unit[i].texunit_really_enabled = 1;
-
if (ctx->Point.PointSprite)
if (ctx->Point.CoordReplace & (1u << i))
key->unit[i].coord_replace = 1;