bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-treegrafting-outES.txt
2012-10-07 20:41:18 -07:00

14 lines
295 B
Text

uniform lowp float low_c;
uniform mediump float med_b;
uniform mediump float med_a;
void main ()
{
lowp float t_1;
mediump float tmpvar_2;
tmpvar_2 = (med_a + (low_c / med_b));
t_1 = tmpvar_2;
lowp vec4 tmpvar_3;
tmpvar_3 = clamp (vec4(t_1), 0.0, 1.0);
gl_FragColor = tmpvar_3;
}