• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 inputA;
4uniform vec4 inputB;
5uniform vec4 colorGreen;
6uniform vec4 colorRed;
7vec4 main() {
8    vec4 expected = vec4(5.0, 17.0, 38.0, 70.0);
9    return ((((((dot(inputA.x, inputB.x) == expected.x && dot(inputA.xy, inputB.xy) == expected.y) && dot(inputA.xyz, inputB.xyz) == expected.z) && dot(inputA, inputB) == expected.w) && 5.0 == expected.x) && 17.0 == expected.y) && 38.0 == expected.z) && 70.0 == expected.w ? colorGreen : colorRed;
10}
11