• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 input;
4uniform vec4 expected;
5uniform vec4 colorGreen;
6uniform vec4 colorRed;
7vec4 main() {
8    return ((((((fract(input.x) == expected.x && fract(input.xy) == expected.xy) && fract(input.xyz) == expected.xyz) && fract(input) == expected) && 0.0 == expected.x) && vec2(0.0, 0.25) == expected.xy) && vec3(0.0, 0.25, 0.5) == expected.xyz) && vec4(0.0, 0.25, 0.5, 0.75) == expected ? colorGreen : colorRed;
9}
10