2021-02-13 16:25:51 +00:00
|
|
|
|
|
|
|
out vec4 sk_FragColor;
|
|
|
|
uniform vec4 colorGreen;
|
|
|
|
uniform vec4 colorRed;
|
2021-03-22 15:43:11 +00:00
|
|
|
bool out_params_are_distinct_bhh(out float x, out float y) {
|
2021-03-17 17:20:10 +00:00
|
|
|
x = 1.0;
|
|
|
|
y = 2.0;
|
|
|
|
return x == 1.0 && y == 2.0;
|
|
|
|
}
|
2021-02-13 16:25:51 +00:00
|
|
|
vec4 main() {
|
2021-03-08 18:29:15 +00:00
|
|
|
float x = 0.0;
|
2021-03-22 15:43:11 +00:00
|
|
|
return out_params_are_distinct_bhh(x, x) ? colorGreen : colorRed;
|
2021-02-13 16:25:51 +00:00
|
|
|
}
|