Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/tnl/
Dt_vb_lighttmp.h209 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG() local
210 if (spec_coef > 1.0e-10F) { in TAG()
211 spec_coef *= attenuation; in TAG()
212 ACC_SCALE_SCALAR_3V( spec[side], spec_coef, in TAG()
389 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG() local
390 ACC_SCALE_SCALAR_3V( contrib, spec_coef, in TAG()
/external/mesa3d/src/mesa/main/
Drastpos.c223 GLfloat spec_coef; in shade_rastpos() local
226 spec_coef = powf(n_dot_h, shine); in shade_rastpos()
228 if (spec_coef > 1.0e-10F) { in shade_rastpos()
230 ACC_SCALE_SCALAR_3V( specularContrib, spec_coef, in shade_rastpos()
234 ACC_SCALE_SCALAR_3V( diffuseContrib, spec_coef, in shade_rastpos()