bgfx/3rdparty/glsl-optimizer/tests/fragment/bug-op-parens-ir.txt

20 lines
368 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
uniform float otherValue;
uniform float value;
void main ()
{
2012-10-07 23:41:18 -04:00
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;
2012-04-03 23:30:07 -04:00
}