bgfx/3rdparty/glsl-optimizer/tests/fragment/float-literals-in.txt

22 lines
277 B
Text
Raw Normal View History

2015-04-03 02:30:48 -04:00
varying vec2 uv;
void main()
{
vec4 c = vec4(0.0);
float a, b;
a = uv.y * 1.111111e+6;
b = uv.y * 1.111110e+6;
c.x = a-b;
a = uv.y * 1.23456789;
b = uv.y * 1.23456765;
c.y = a-b;
a = uv.y * -1.234567e-6;
b = uv.y * -1.234565e-6;
c.z = a-b;
gl_FragColor = c;
}