bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-treegrafting-irES.txt
2014-02-10 23:06:13 -08:00

22 lines
460 B
Text

uniform mediump float med_a;
uniform mediump float med_b;
uniform lowp float low_c;
void main ()
{
lowp vec4 c_1;
lowp float t_2;
mediump float tmpvar_3;
tmpvar_3 = (med_a + (low_c / med_b));
t_2 = tmpvar_3;
lowp vec4 tmpvar_4;
tmpvar_4 = vec4(t_2);
lowp vec4 tmpvar_5;
tmpvar_5 = clamp (tmpvar_4, 0.0, 1.0);
lowp vec4 tmpvar_6;
tmpvar_6 = tmpvar_5;
c_1 = tmpvar_6;
lowp vec4 tmpvar_7;
tmpvar_7 = c_1;
gl_FragColor = tmpvar_7;
}