bgfx/3rdparty/glsl-optimizer/tests/fragment/bug-global-init-ir.txt

20 lines
284 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
float otherValue;
uniform float value;
float tmpvar_1;
//;
float tmpvar_2;
//;
//;
void main ()
{
tmpvar_1 = log (value);
tmpvar_2 = tmpvar_1;
otherValue = tmpvar_2;
2012-10-07 23:41:18 -04:00
vec4 tmpvar_3;
tmpvar_3 = vec4(otherValue);
vec4 tmpvar_4;
tmpvar_4 = tmpvar_3;
gl_FragColor = tmpvar_4;
2012-04-03 23:30:07 -04:00
}