• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2out vec4 sk_FragColor;
3uniform vec4 colorGreen;
4uniform vec4 colorRed;
5bool out_params_are_distinct_bhh(out float x, out float y) {
6    x = 1.0;
7    y = 2.0;
8    return x == 1.0 && y == 2.0;
9}
10vec4 main() {
11    float x = 0.0;
12    return out_params_are_distinct_bhh(x, x) ? colorGreen : colorRed;
13}
14