Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/tnl/
Dt_rasterpos.c216 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()
Dt_vb_lighttmp.h207 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()
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/
Dt_rasterpos.c216 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()
Dt_vb_lighttmp.h207 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()