Searched defs:lightDiffuse (Results 1 - 3 of 3) sorted by relevance

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

Completed in 232 milliseconds