mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-29 11:05:36 -05:00
29 lines
511 B
Text
29 lines
511 B
Text
|
void main ()
|
||
|
{
|
||
|
mediump float f_1;
|
||
|
int i_2;
|
||
|
int tmpvar_3;
|
||
|
tmpvar_3 = 0;
|
||
|
i_2 = tmpvar_3;
|
||
|
float tmpvar_4;
|
||
|
tmpvar_4 = 0.0;
|
||
|
f_1 = tmpvar_4;
|
||
|
while (true) {
|
||
|
if (!((i_2 < 32))) {
|
||
|
break;
|
||
|
};
|
||
|
mediump float tmpvar_5;
|
||
|
tmpvar_5 = (f_1 + (gl_FragCoord.x * float(i_2)));
|
||
|
f_1 = tmpvar_5;
|
||
|
int tmpvar_6;
|
||
|
tmpvar_6 = (i_2 + 1);
|
||
|
i_2 = tmpvar_6;
|
||
|
};
|
||
|
mediump vec4 tmpvar_7;
|
||
|
tmpvar_7 = vec4(f_1);
|
||
|
mediump vec4 tmpvar_8;
|
||
|
tmpvar_8 = tmpvar_7;
|
||
|
gl_FragColor = tmpvar_8;
|
||
|
}
|
||
|
|