Home
last modified time | relevance | path

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

/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp502 … bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights, LightType light…
668 …tion, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights, LightType light…
757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType) in lightVertexTemplate() argument
771 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightVertexTemplate()
801 "varying mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n" in lightVertexTemplate()
802 "varying mediump float v_distanceToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n"; in lightVertexTemplate()
855 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightVertexTemplate()
903 static string lightFragmentTemplate (int numLights, bool isVertexCase, LightType lightType) in lightFragmentTemplate() argument
916 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightFragmentTemplate()
945 "varying mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n" in lightFragmentTemplate()
[all …]
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp502 … bool avoidCache, bool addWhitespaceAndComments, bool isVertexCase, int numLights, LightType light…
668 …tion, int caseID, InvalidityType invalidityType, bool isVertexCase, int numLights, LightType light…
757 static string lightVertexTemplate (int numLights, bool isVertexCase, LightType lightType) in lightVertexTemplate() argument
772 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightVertexTemplate()
802 "out mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n" in lightVertexTemplate()
803 "out mediump float v_distanceToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n"; in lightVertexTemplate()
856 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightVertexTemplate()
904 static string lightFragmentTemplate (int numLights, bool isVertexCase, LightType lightType) in lightFragmentTemplate() argument
921 for (int lightNdx = 0; lightNdx < numLights; lightNdx++) in lightFragmentTemplate()
950 "in mediump vec3 v_directionToLight${NAME_SPEC}[" + de::toString(numLights) + "];\n" in lightFragmentTemplate()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/material/
DMaterial.java643 protected void updateLightListUniforms(Shader shader, Geometry g, int numLights) { in updateLightListUniforms() argument
644 if (numLights == 0) { // this shader does not do lighting, ignore. in updateLightListUniforms()
652 lightColor.setVector4Length(numLights); in updateLightListUniforms()
653 lightPos.setVector4Length(numLights); in updateLightListUniforms()
654 lightDir.setVector4Length(numLights); in updateLightListUniforms()
661 for (int i = 0; i < numLights; i++) { in updateLightListUniforms()
707 while (lightIndex < numLights) { in updateLightListUniforms()