blob: 8b9002ddad107e326642ba6f9d6b809a64efeff4 [file] [log] [blame]
/*#pragma settings UnfoldShortCircuitAsTernary*/
uniform int i;
uniform int j;
void main() {
bool x = bool(i);
bool y = bool(j);
bool andXY = x && y;
bool orXY = x || y;
bool combo = (x && y) || (x || y);
bool prec = (i + j == 3) && y;
while (andXY && orXY && combo && prec) {
sk_FragColor = half4(0);
break;
}
}