bgfx/3rdparty/glsl-optimizer/tests/fragment/opt-movevars-simple-outES.txt
2012-10-07 20:41:18 -07:00

15 lines
229 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;
}