Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dlight.c158 light->_CosCutoff = (cosf(light->SpotCutoff * M_PI / 180.0)); in _mesa_light()
159 if (light->_CosCutoff < 0) in _mesa_light()
160 light->_CosCutoff = 0; in _mesa_light()
1016 if (PV_dot_dir > light->_CosCutoff) { in compute_light_positions()
1138 l->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
Drastpos.c189 if (PV_dot_dir<light->_CosCutoff) { in shade_rastpos()
Dmtypes.h309 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
/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 fetch_state()
515 value[3] = ctx->Light.Light[ln]._CosCutoff; in 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.c966 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()