Home
last modified time | relevance | path

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

/third_party/mesa3d/src/mesa/main/
Dlight.c186 lu->_CosCutoff = (cosf(lu->SpotCutoff * M_PI / 180.0)); in _mesa_light()
187 if (lu->_CosCutoff < 0) in _mesa_light()
188 lu->_CosCutoff = 0; in _mesa_light()
1100 if (PV_dot_dir > lu->_CosCutoff) { in compute_light_positions()
1225 lu->_CosCutoff = 0.0; /* KW: -ve values not admitted */ in init_light()
Drastpos.c193 if (PV_dot_dir<lu->_CosCutoff) { in shade_rastpos()
Dmtypes.h570 GLfloat _CosCutoff; /**< = MAX(0, cos(SpotCutoff)) */ member
/third_party/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h149 if (PV_dot_dir<lu->_CosCutoff) { in TAG()
329 if (PV_dot_dir<lu->_CosCutoff) { in TAG()
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv10_state_tnl.c260 float cutoff = MAX2(a3, 1 / (1 - lu->_CosCutoff)); in nv10_get_spot_coeff()
/third_party/mesa3d/src/mesa/program/
Dprog_statevars.c645 value[3] = ctx->Light.LightSource[ln]._CosCutoff; in fetch_state()
/third_party/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_state.c968 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff; in radeonLightfv()
/third_party/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state.c1185 fcmd[LIT_SPOT_CUTOFF] = lu->_CosCutoff; in r200Lightfv()