bgfx/3rdparty/glsl-optimizer/tests/vertex/loops-forsimple-out.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

13 lines
237 B
Text

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