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

19 lines
368 B
Text

uniform float otherValue;
uniform float value;
void main ()
{
float result_1;
float invValue_2;
float tmpvar_3;
tmpvar_3 = (1.0 / value);
invValue_2 = tmpvar_3;
float tmpvar_4;
tmpvar_4 = (otherValue / invValue_2);
result_1 = tmpvar_4;
vec4 tmpvar_5;
tmpvar_5 = vec4(result_1);
vec4 tmpvar_6;
tmpvar_6 = tmpvar_5;
gl_FragColor = tmpvar_6;
}