summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
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
commit1169791c18d2b291870fc68fef4f3ff5e4a81674 (patch)
treec42be4e5dd8ef52758ed1e4ff5f1f9dbb2485ccd /src/mesa/main
parent6726d1609831244e9593fd1ee4b29ba2485922a0 (diff)
mesa: Remove unused bit in ffvertex_prog state_key.
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/mesa/main')
-rw-r--r--src/mesa/main/ffvertex_prog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/main/ffvertex_prog.c b/src/mesa/main/ffvertex_prog.c
index 2eccc1fdfec..6f86477c49f 100644
--- a/src/mesa/main/ffvertex_prog.c
+++ b/src/mesa/main/ffvertex_prog.c
@@ -63,7 +63,6 @@ struct state_key {
unsigned fog_distance_mode:2;
unsigned separate_specular:1;
unsigned point_attenuated:1;
- unsigned texture_enabled_global:1;
unsigned fragprog_inputs_read:12;
GLbitfield varying_vp_inputs;
@@ -230,11 +229,6 @@ static void make_state_key( struct gl_context *ctx, struct state_key *key )
if (ctx->Point._Attenuated)
key->point_attenuated = 1;
- if (ctx->Texture._TexGenEnabled ||
- ctx->Texture._TexMatEnabled ||
- ctx->Texture._MaxEnabledTexImageUnit != -1)
- key->texture_enabled_global = 1;
-
mask = ctx->Texture._EnabledCoordUnits | ctx->Texture._TexGenEnabled
| ctx->Texture._TexMatEnabled | ctx->Point.CoordReplace;
while (mask) {