bgfx/3rdparty/glsl-optimizer/tests/vertex/loops-forwithcalls-out.txt
2014-02-10 23:06:13 -08:00

15 lines
424 B
Text

uniform vec4 uniColors[4];
varying vec4 varColor;
void main ()
{
vec4 col_1;
gl_Position = gl_Vertex;
col_1 = max (vec4(0.0, 0.0, 0.0, 0.0), uniColors[0]);
col_1 = (col_1 + max (vec4(0.0, 0.0, 0.0, 0.0), uniColors[1]));
col_1 = (col_1 + max (vec4(0.0, 0.0, 0.0, 0.0), uniColors[2]));
col_1 = (col_1 + max (vec4(0.0, 0.0, 0.0, 0.0), uniColors[3]));
varColor = col_1;
}
// inputs: 1, stats: 7 alu 0 tex 0 flow