Home
last modified time | relevance | path

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

/external/swiftshader/src/Renderer/
DVertexProcessor.cpp315 void VertexProcessor::setLightAmbient(unsigned int light, const Color<float> &lightAmbient) in setLightAmbient() argument
319 ff.lightAmbient[light][0] = lightAmbient.r; in setLightAmbient()
320 ff.lightAmbient[light][1] = lightAmbient.g; in setLightAmbient()
321 ff.lightAmbient[light][2] = lightAmbient.b; in setLightAmbient()
322 ff.lightAmbient[light][3] = lightAmbient.a; in setLightAmbient()
DVertexProcessor.hpp159 float4 lightAmbient[8]; member
219 void setLightAmbient(unsigned int light, const Color<float> &lightAmbient);
/external/swiftshader/src/Shader/
DVertexPipeline.cpp287 …Float4 lightAmbient = *Pointer<Float4>(data + OFFSET(DrawData,ff.lightAmbient[i])); // FIXME: Un… in pipeline() local
289 ambient.x = ambient.x + lightAmbient.x * att; in pipeline()
290 ambient.y = ambient.y + lightAmbient.y * att; in pipeline()
291 ambient.z = ambient.z + lightAmbient.z * att; in pipeline()
/external/autotest/client/site_tests/graphics_SanAngeles/src/
Ddemo.c644 static GLfloat lightAmbient[] = { 0.2f, 0.2f, 0.2f, 1.f }; in appInit() local
684 glUniform4fv(sShaderLit.ambient, 1, lightAmbient); in appInit()