Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DVertexProcessor.cpp291 void VertexProcessor::setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse) in setLightDiffuse() argument
295 ff.lightDiffuse[light][0] = lightDiffuse.r; in setLightDiffuse()
296 ff.lightDiffuse[light][1] = lightDiffuse.g; in setLightDiffuse()
297 ff.lightDiffuse[light][2] = lightDiffuse.b; in setLightDiffuse()
298 ff.lightDiffuse[light][3] = lightDiffuse.a; in setLightDiffuse()
DVertexProcessor.hpp161 float4 lightDiffuse[8]; member
217 void setLightDiffuse(unsigned int light, const Color<float> &lightDiffuse);
/external/swiftshader/src/Shader/
DVertexPipeline.cpp322 Float4 lightDiffuse = *Pointer<Float4>(data + OFFSET(DrawData,ff.lightDiffuse[i])); in pipeline() local
324 o[C0].x = o[C0].x + diff.x * dot * lightDiffuse.x; // FIXME: Clamp first? in pipeline()
325 o[C0].y = o[C0].y + diff.y * dot * lightDiffuse.y; // FIXME: Clamp first? in pipeline()
326 o[C0].z = o[C0].z + diff.z * dot * lightDiffuse.z; // FIXME: Clamp first? in pipeline()