Lines Matching full:ln

102          const GLuint ln = (GLuint) state[1];  in _mesa_fetch_state()  local
106 COPY_4V(value, ctx->Light.Light[ln].Ambient); in _mesa_fetch_state()
109 COPY_4V(value, ctx->Light.Light[ln].Diffuse); in _mesa_fetch_state()
112 COPY_4V(value, ctx->Light.Light[ln].Specular); in _mesa_fetch_state()
115 COPY_4V(value, ctx->Light.Light[ln].EyePosition); in _mesa_fetch_state()
118 value[0] = ctx->Light.Light[ln].ConstantAttenuation; in _mesa_fetch_state()
119 value[1] = ctx->Light.Light[ln].LinearAttenuation; in _mesa_fetch_state()
120 value[2] = ctx->Light.Light[ln].QuadraticAttenuation; in _mesa_fetch_state()
121 value[3] = ctx->Light.Light[ln].SpotExponent; in _mesa_fetch_state()
124 COPY_3V(value, ctx->Light.Light[ln].SpotDirection); in _mesa_fetch_state()
125 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
128 value[0] = ctx->Light.Light[ln].SpotCutoff; in _mesa_fetch_state()
138 COPY_3V(p, ctx->Light.Light[ln].EyePosition); in _mesa_fetch_state()
177 const GLuint ln = (GLuint) state[1]; in _mesa_fetch_state() local
184 value[i] = ctx->Light.Light[ln].Ambient[i] * in _mesa_fetch_state()
192 value[i] = ctx->Light.Light[ln].Diffuse[i] * in _mesa_fetch_state()
200 value[i] = ctx->Light.Light[ln].Specular[i] * in _mesa_fetch_state()
467 * exp: 2^-(density/ln(2) * fogcoord) in _mesa_fetch_state()
468 * exp2: 2^-((density/(sqrt(ln(2))) * fogcoord)^2) in _mesa_fetch_state()
473 value[2] = (GLfloat)(ctx->Fog.Density * M_LOG2E); /* M_LOG2E == 1/ln(2) */ in _mesa_fetch_state()
513 const GLuint ln = (GLuint) state[2]; in _mesa_fetch_state() local
514 COPY_3V(value, ctx->Light.Light[ln]._NormSpotDirection); in _mesa_fetch_state()
515 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
521 const GLuint ln = (GLuint) state[2]; in _mesa_fetch_state() local
522 COPY_4V(value, ctx->Light.Light[ln]._Position); in _mesa_fetch_state()
528 const GLuint ln = (GLuint) state[2]; in _mesa_fetch_state() local
529 COPY_4V(value, ctx->Light.Light[ln]._Position); in _mesa_fetch_state()
536 const GLuint ln = (GLuint) state[2]; in _mesa_fetch_state() local
542 COPY_3V(p, ctx->Light.Light[ln]._Position); in _mesa_fetch_state()