Home
last modified time | relevance | path

Searched refs:specularColor (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/mesa/main/
Drastpos.c128 GLfloat diffuseColor[4], specularColor[4]; /* for RGB mode only */ in shade_rastpos() local
133 ASSIGN_4V(specularColor, 0.0, 0.0, 0.0, 1.0); in shade_rastpos()
242 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib ); in shade_rastpos()
249 Rspec[0] = CLAMP(specularColor[0], 0.0F, 1.0F); in shade_rastpos()
250 Rspec[1] = CLAMP(specularColor[1], 0.0F, 1.0F); in shade_rastpos()
251 Rspec[2] = CLAMP(specularColor[2], 0.0F, 1.0F); in shade_rastpos()
252 Rspec[3] = CLAMP(specularColor[3], 0.0F, 1.0F); in shade_rastpos()
/external/swiftshader/src/Renderer/
DVertexProcessor.cpp419 void VertexProcessor::setMaterialSpecular(const Color<float> &specularColor) in setMaterialSpecular() argument
421 ff.materialSpecular[0] = specularColor.r; in setMaterialSpecular()
422 ff.materialSpecular[1] = specularColor.g; in setMaterialSpecular()
423 ff.materialSpecular[2] = specularColor.b; in setMaterialSpecular()
424 ff.materialSpecular[3] = specularColor.a; in setMaterialSpecular()
DVertexProcessor.hpp238 void setMaterialSpecular(const Color<float> &specularColor);