mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 02:55:36 -05:00
32 lines
540 B
Text
32 lines
540 B
Text
varying lowp float xx;
|
|
void main ()
|
|
{
|
|
lowp float c_1;
|
|
int i_2;
|
|
int tmpvar_3;
|
|
tmpvar_3 = 0;
|
|
i_2 = tmpvar_3;
|
|
if ((xx < 0.0)) {
|
|
discard;
|
|
};
|
|
mediump float tmpvar_4;
|
|
tmpvar_4 = 0.0;
|
|
c_1 = tmpvar_4;
|
|
while (true) {
|
|
if (!((i_2 < 4))) {
|
|
break;
|
|
};
|
|
lowp float tmpvar_5;
|
|
tmpvar_5 = (c_1 + xx);
|
|
c_1 = tmpvar_5;
|
|
int tmpvar_6;
|
|
tmpvar_6 = (i_2 + 1);
|
|
i_2 = tmpvar_6;
|
|
};
|
|
lowp vec4 tmpvar_7;
|
|
tmpvar_7 = vec4(c_1);
|
|
lowp vec4 tmpvar_8;
|
|
tmpvar_8 = tmpvar_7;
|
|
gl_FragColor = tmpvar_8;
|
|
}
|
|
|