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

17 lines
336 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
uniform mediump float med_a;
2014-02-11 02:06:13 -05:00
uniform mediump float med_b;
uniform lowp float low_c;
2012-10-07 23:41:18 -04:00
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;
}
2014-02-11 02:06:13 -05:00
// inputs: 0, stats: 3 alu 0 tex 0 flow