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;
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) {