bgfx/3rdparty/glsl-optimizer/tests/fragment/prec-treegrafting-irES.txt

23 lines
460 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
uniform lowp float low_c;
uniform mediump float med_b;
uniform mediump float med_a;
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;
}