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

9 lines
163 B
Text
Raw Normal View History

2012-04-03 23:30:07 -04:00
uniform float value;
uniform float otherValue;
void main()
{
float invValue = 1.0 / value;
float result = otherValue / invValue;
gl_FragColor = vec4(result);
}