bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-default-inES.txt
2013-03-17 11:29:03 -07:00

17 lines
306 B
Text

precision highp float;
precision lowp int;
uniform float fh1;
uniform highp float fh2;
uniform mediump float fm;
uniform int il1;
uniform lowp int il2;
uniform mediump int im;
void main() {
lowp float f = fh1 + fh2 + fm;
highp int i = il1 + il2 + im;
gl_FragColor = vec4(f, i, 0.0, 0.0);
}