mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-11 00:31:28 -05:00
28 lines
473 B
Text
28 lines
473 B
Text
#version 300 es
|
|
out lowp vec4 _fragData;
|
|
void main ()
|
|
{
|
|
highp float a_2;
|
|
if ((gl_FragCoord.x == 1.0)) {
|
|
discard;
|
|
};
|
|
a_2 = 4.0;
|
|
for (highp int i_1 = 0; i_1 < 10; i_1++) {
|
|
a_2 += 1.0;
|
|
};
|
|
while (true) {
|
|
a_2 += 2.0;
|
|
break;
|
|
};
|
|
a_2 += 1.0;
|
|
a_2 = (a_2 * a_2);
|
|
a_2 = -(a_2);
|
|
a_2 = (a_2 - 1.0);
|
|
a_2 = inversesqrt(a_2);
|
|
_fragData = vec4(a_2);
|
|
}
|
|
|
|
|
|
// stats: 12 alu 1 tex 4 flow
|
|
// inputs: 1
|
|
// #0: gl_FragCoord (high float) 4x1 [-1] loc 0
|