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

20 lines
414 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
uniform vec4 uniColors[4];
2014-02-11 02:06:13 -05:00
varying vec4 varColor;
2012-04-03 23:30:07 -04:00
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 = uniColors[0];
col_1 = (col_1 + uniColors[1]);
col_1 = (col_1 + uniColors[2]);
col_1 = (col_1 + uniColors[3]);
varColor = col_1;
2012-04-03 23:30:07 -04:00
}
2014-02-11 02:06:13 -05:00
2014-10-11 15:32:43 -04:00
// stats: 3 alu 0 tex 0 flow
// inputs: 1
// #0: gl_Vertex (high float) 4x1 [-1] loc 0
// uniforms: 1 (total size: 0)
// #0: uniColors (high float) 4x1 [4]