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

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

Completed in 111 milliseconds