Home
last modified time | relevance | path

Searched refs:_CosCutoff (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/mesa/main/
Dlight.c159 light->_CosCutoff = (cosf(light->SpotCutoff * M_PI / 180.0)); in _mesa_light()
160 if (light->_CosCutoff < 0) in _mesa_light()
161 light->_CosCutoff = 0; in _mesa_light()
1018 if (PV_dot_dir > light->_CosCutoff) { in compute_light_positions()
1138 l->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
Drastpos.c171 if (PV_dot_dir<light->_CosCutoff) { in shade_rastpos()
Dmtypes.h347 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c219 OFFSET( "LIGHT_COS_CUTOFF ", struct gl_light, _CosCutoff ); in main()
/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h148 if (PV_dot_dir<light->_CosCutoff) { in TAG()
327 if (PV_dot_dir<light->_CosCutoff) { in TAG()
/external/mesa3d/src/mesa/program/
Dprog_statevars.c125 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
533 value[3] = ctx->Light.Light[ln]._CosCutoff; in _mesa_fetch_state()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c260 float cutoff = MAX2(a3, 1 / (1 - l->_CosCutoff)); in nv10_get_spot_coeff()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c969 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in radeonLightfv()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c1184 fcmd[LIT_SPOT_CUTOFF] = l->_CosCutoff; in r200Lightfv()