bgfx/3rdparty/glsl-optimizer/tests/vertex/loops-forsimple-out.txt
2012-10-07 20:41:18 -07:00

13 lines
255 B
Text

varying vec4 varColor;
uniform vec4 uniColors[4];
void main ()
{
vec4 col_1;
gl_Position = gl_Vertex;
col_1 = uniColors[0];
col_1 = (col_1 + uniColors[1]);
col_1 = (col_1 + uniColors[2]);
col_1 = (col_1 + uniColors[3]);
varColor = col_1;
}