blob: 1428543a1a3fa330dbb26242a362e03191db8aa9 [file] [log] [blame]
uniform vec4 colorRed;
uniform vec4 colorGreen;
bool do_side_effect_bb(out bool x) {
x = true;
return false;
}
vec4 main() {
bool ok = true;
vec4 green = colorGreen;
vec4 red = colorRed;
bool param = false;
bool call = (do_side_effect_bb(param), true);
return (ok && param) && call ? green : red;
}