bgfx/3rdparty/glsl-optimizer/tests/fragment/bug-global-init-ir.txt
2012-10-07 20:41:18 -07:00

19 lines
284 B
Text

float otherValue;
uniform float value;
float tmpvar_1;
//;
float tmpvar_2;
//;
//;
void main ()
{
tmpvar_1 = log (value);
tmpvar_2 = tmpvar_1;
otherValue = tmpvar_2;
vec4 tmpvar_3;
tmpvar_3 = vec4(otherValue);
vec4 tmpvar_4;
tmpvar_4 = tmpvar_3;
gl_FragColor = tmpvar_4;
}