bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-movevars-simple-outES.txt
2014-02-10 23:06:13 -08:00

17 lines
270 B
Text

varying lowp float xx;
void main ()
{
lowp float c_1;
if ((xx < 0.0)) {
discard;
};
c_1 = (xx + xx);
c_1 = (c_1 + xx);
c_1 = (c_1 + xx);
lowp vec4 tmpvar_2;
tmpvar_2 = vec4(c_1);
gl_FragColor = tmpvar_2;
}
// inputs: 1, stats: 4 alu 1 tex 1 flow