bgfx/3rdparty/glsl-optimizer/tests/vertex/bug-varying-const-out.txt

15 lines
238 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
varying vec4 var4;
2014-02-11 02:06:13 -05:00
varying float var1;
varying vec4 var4ok;
2012-10-07 23:41:18 -04:00
void main ()
{
var4 = vec4(0.0, 0.0, 0.0, 0.0);
var1 = 0.5;
var4ok = gl_Vertex;
}
2014-02-11 02:06:13 -05:00
2014-10-11 15:32:43 -04:00
// stats: 2 alu 0 tex 0 flow
// inputs: 1
// #0: gl_Vertex (high float) 4x1 [-1] loc 0