bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-movevars-sideeffect-outES.txt

22 lines
343 B
Text
Raw Normal View History

2012-10-07 23:41:18 -04:00
varying lowp float xx;
void main ()
{
lowp float c_1;
2014-10-11 15:32:43 -04:00
lowp float x_2;
x_2 = (xx * 2.0);
if ((x_2 < 0.0)) {
2012-10-07 23:41:18 -04:00
discard;
};
c_1 = (xx + xx);
c_1 = (c_1 + xx);
c_1 = (c_1 + xx);
lowp vec4 tmpvar_3;
tmpvar_3 = vec4(c_1);
gl_FragColor = tmpvar_3;
}
2014-02-11 02:06:13 -05:00
2014-10-11 15:32:43 -04:00
// stats: 5 alu 1 tex 1 flow
// inputs: 1
// #0: xx (low float) 1x1 [-1]