2012-10-07 23:41:18 -04:00
|
|
|
varying lowp float xx;
|
|
|
|
void main ()
|
|
|
|
{
|
|
|
|
lowp float c_1;
|
2015-04-03 02:30:48 -04:00
|
|
|
highp int tmpvar_3;
|
2012-10-07 23:41:18 -04:00
|
|
|
if ((xx > 0.5)) {
|
|
|
|
tmpvar_3 = 2;
|
|
|
|
} else {
|
|
|
|
tmpvar_3 = 4;
|
|
|
|
};
|
|
|
|
if ((tmpvar_3 < 2)) {
|
|
|
|
discard;
|
|
|
|
};
|
|
|
|
c_1 = 0.0;
|
2015-07-28 23:04:55 -04:00
|
|
|
for (highp int i_2 = tmpvar_3; i_2 < 4; i_2++) {
|
|
|
|
c_1 = (c_1 + xx);
|
2012-10-07 23:41:18 -04:00
|
|
|
};
|
|
|
|
lowp vec4 tmpvar_4;
|
|
|
|
tmpvar_4 = vec4(c_1);
|
|
|
|
gl_FragColor = tmpvar_4;
|
|
|
|
}
|
|
|
|
|
2014-02-11 02:06:13 -05:00
|
|
|
|
2014-10-11 15:32:43 -04:00
|
|
|
// stats: 8 alu 1 tex 4 flow
|
|
|
|
// inputs: 1
|
|
|
|
// #0: xx (low float) 1x1 [-1]
|