Home
last modified time | relevance | path

Searched refs:n_dot_VP (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h119 GLfloat n_dot_VP; /* n dot VP */ in TAG() local
162 n_dot_VP = DOT3( normal, VP ); in TAG()
165 if (n_dot_VP < 0.0F) { in TAG()
170 n_dot_VP = -n_dot_VP; in TAG()
185 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); in TAG()
298 GLfloat n_dot_VP; /* n dot VP */ in TAG() local
341 n_dot_VP = DOT3( normal, VP ); in TAG()
344 if (n_dot_VP < 0.0F) { in TAG()
349 n_dot_VP = -n_dot_VP; in TAG()
365 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); in TAG()
[all …]
/external/mesa3d/src/mesa/main/
Drastpos.c159 GLfloat n_dot_VP; in shade_rastpos() local
202 n_dot_VP = DOT3( normal, VP ); in shade_rastpos()
204 if (n_dot_VP < 0.0F) { in shade_rastpos()
211 ACC_SCALE_SCALAR_3V(diffuseContrib, n_dot_VP, light->_MatDiffuse[0]); in shade_rastpos()