bgfx/3rdparty/glsl-optimizer/tests/fragment/bug-op-parens-in.txt
Branimir Karadzic dee3fe5266 Initial commit.
2012-04-03 20:30:07 -07:00

8 lines
163 B
Text

uniform float value;
uniform float otherValue;
void main()
{
float invValue = 1.0 / value;
float result = otherValue / invValue;
gl_FragColor = vec4(result);
}