bgfx/3rdparty/glsl-optimizer/tests/vertex/bug-varying-const-ir.txt
2014-02-10 23:06:13 -08:00

16 lines
270 B
Text

varying vec4 var4;
varying float var1;
varying vec4 var4ok;
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;
}