bgfx/3rdparty/glsl-optimizer/tests/vertex/loops-forwithcalls-out.txt

14 lines
383 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
varying vec4 varColor;
uniform vec4 uniColors[4];
void main ()
{
2012-10-07 23:41:18 -04:00
vec4 col_1;
2012-04-03 23:30:07 -04:00
gl_Position = gl_Vertex;
2012-10-07 23:41:18 -04:00
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;
2012-04-03 23:30:07 -04:00
}