You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
299 B

out vec4 sk_FragColor;
uniform vec4 colorGreen;
uniform vec4 colorRed;
bool out_params_are_distinct_bhh(out float x, out float y) {
x = 1.0;
y = 2.0;
return x == 1.0 && y == 2.0;
}
vec4 main() {
float x = 0.0;
return out_params_are_distinct_bhh(x, x) ? colorGreen : colorRed;
}