bgfx/3rdparty/glsl-optimizer/tests/vertex/bug-varying-const-ir.txt
2012-10-07 20:41:18 -07:00

16 lines
270 B
Text

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;
}