summaryrefslogtreecommitdiff
path: root/src/mesa/x86
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2012-02-08 20:11:58 -0700
committerBrian Paul <brianp@vmware.com>2012-02-10 08:06:56 -0700
commitae509f88a54b9cc32f16099109330f2792593c83 (patch)
tree482cf3dde475b64fcc3c2d2e9dee17db6df3c23f /src/mesa/x86
parent4dacf793c8bf5c18f66efeb04e9d8a7e037e7378 (diff)
mesa: remove gl_light::_SpotExpTable field
Just use pow() instead. Spot lights aren't too common and fixed-function lighting isn't as important as it used to me. This saves 32KB per context. Each table was 4KB and there's 8 lights.
Diffstat (limited to 'src/mesa/x86')
-rw-r--r--src/mesa/x86/gen_matypes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c
index 97f71f92cea..7af82b4aea6 100644
--- a/src/mesa/x86/gen_matypes.c
+++ b/src/mesa/x86/gen_matypes.c
@@ -209,7 +209,6 @@ int main( int argc, char **argv )
OFFSET( "LIGHT_NORM_DIRECTION ", struct gl_light, _NormSpotDirection );
OFFSET( "LIGHT_VP_INF_SPOT_ATTEN ", struct gl_light, _VP_inf_spot_attenuation );
printf( "\n" );
- OFFSET( "LIGHT_SPOT_EXP_TABLE ", struct gl_light, _SpotExpTable );
OFFSET( "LIGHT_MAT_AMBIENT ", struct gl_light, _MatAmbient );
OFFSET( "LIGHT_MAT_DIFFUSE ", struct gl_light, _MatDiffuse );
OFFSET( "LIGHT_MAT_SPECULAR ", struct gl_light, _MatSpecular );