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.h117 GLfloat n_dot_VP; /* n dot VP */ in TAG() local
160 n_dot_VP = DOT3( normal, VP ); in TAG()
163 if (n_dot_VP < 0.0F) { in TAG()
168 n_dot_VP = -n_dot_VP; in TAG()
183 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); in TAG()
294 GLfloat n_dot_VP; /* n dot VP */ in TAG() local
338 n_dot_VP = DOT3( normal, VP ); in TAG()
341 if (n_dot_VP < 0.0F) { in TAG()
346 n_dot_VP = -n_dot_VP; in TAG()
362 ACC_SCALE_SCALAR_3V(contrib, n_dot_VP, light->_MatDiffuse[side]); in TAG()
[all …]
Dt_rasterpos.c134 GLfloat n_dot_VP; in shade_rastpos() local
177 n_dot_VP = DOT3( normal, VP ); in shade_rastpos()
179 if (n_dot_VP < 0.0F) { in shade_rastpos()
186 ACC_SCALE_SCALAR_3V(diffuseContrib, n_dot_VP, light->_MatDiffuse[0]); in shade_rastpos()