• 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 ((((((sin(input.x) == expected.x && sin(input.xy) == expected.xy) && sin(input.xyz) == expected.xyz) && sin(input) == expected) && 0.0 == expected.x) && vec2(0.0, 0.0) == expected.xy) && vec3(0.0, 0.0, 0.0) == expected.xyz) && vec4(0.0, 0.0, 0.0, 0.0) == expected ? colorGreen : colorRed;
9}
10