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

17 lines
270 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
varying vec4 var4ok;
varying float var1;
varying vec4 var4;
void main ()
{
vec4 tmpvar_1;
tmpvar_1 = vec4(0.0, 0.0, 0.0, 0.0);
var4 = tmpvar_1;
float tmpvar_2;
tmpvar_2 = 0.5;
var1 = tmpvar_2;
vec4 tmpvar_3;
tmpvar_3 = gl_Vertex;
var4ok = tmpvar_3;
}