2020-09-14 21:30:13 +00:00
|
|
|
|
2021-01-27 00:58:22 +00:00
|
|
|
out vec4 sk_FragColor;
|
2021-01-26 21:28:12 +00:00
|
|
|
uniform vec4 colorRed;
|
|
|
|
uniform vec4 colorGreen;
|
2021-05-24 14:52:23 +00:00
|
|
|
uniform float unknownInput;
|
2021-01-22 14:51:13 +00:00
|
|
|
vec4 main() {
|
2021-05-24 14:52:23 +00:00
|
|
|
float _0_unknown = unknownInput;
|
|
|
|
bool _1_ok = true;
|
|
|
|
float _2_x = 34.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 34.0;
|
|
|
|
_2_x = 30.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 30.0;
|
|
|
|
_2_x = 64.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 64.0;
|
|
|
|
_2_x = 16.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 16.0;
|
|
|
|
_2_x = 19.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 19.0;
|
|
|
|
_2_x = 1.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 1.0;
|
|
|
|
_2_x = -2.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -2.0;
|
|
|
|
_2_x = 3.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 3.0;
|
|
|
|
_2_x = -4.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -4.0;
|
|
|
|
_2_x = 5.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 5.0;
|
|
|
|
_2_x = -6.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -6.0;
|
|
|
|
_2_x = 7.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 7.0;
|
|
|
|
_2_x = -8.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -8.0;
|
|
|
|
_2_x = 9.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 9.0;
|
|
|
|
_2_x = -10.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -10.0;
|
|
|
|
_2_x = 11.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 11.0;
|
|
|
|
_2_x = -12.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -12.0;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = 0.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 0.0;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = 0.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 0.0;
|
|
|
|
_2_x = _0_unknown;
|
|
|
|
_1_ok = _1_ok && _2_x == _0_unknown;
|
|
|
|
_2_x = 0.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 0.0;
|
|
|
|
_2_x += 1.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 1.0;
|
|
|
|
_1_ok = _1_ok && _2_x == 1.0;
|
|
|
|
_2_x -= 2.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -1.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -1.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -1.0;
|
|
|
|
_2_x *= 2.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -2.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -2.0;
|
|
|
|
_2_x /= 2.0;
|
|
|
|
_1_ok = _1_ok && _2_x == -1.0;
|
|
|
|
return _1_ok ? colorGreen : colorRed;
|
2020-09-14 21:30:13 +00:00
|
|
|
}
|