Searched refs:spec_coef (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/tnl/ |
D | t_rasterpos.c | 216 GLfloat spec_coef; in shade_rastpos() local 219 spec_coef = powf(n_dot_h, shine); in shade_rastpos() 221 if (spec_coef > 1.0e-10) { in shade_rastpos() 223 ACC_SCALE_SCALAR_3V( specularContrib, spec_coef, in shade_rastpos() 227 ACC_SCALE_SCALAR_3V( diffuseContrib, spec_coef, in shade_rastpos()
|
D | t_vb_lighttmp.h | 207 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG() local 208 if (spec_coef > 1.0e-10) { in TAG() 209 spec_coef *= attenuation; in TAG() 210 ACC_SCALE_SCALAR_3V( spec[side], spec_coef, in TAG() 386 GLfloat spec_coef = lookup_shininess(ctx, side, n_dot_h); in TAG() local 387 ACC_SCALE_SCALAR_3V( contrib, spec_coef, in TAG()
|