371fde549e
I realized that "DefaultSettings" as a name suffix was unclear, because "Default" is a different settings mode from skslc running with --nosettings. In --nosettings mode, skslc uses "standalone" settings. Change-Id: I1f5d80df0a21cec55948c4ad146169bcb34f4999 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/318210 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
17 lines
325 B
GLSL
17 lines
325 B
GLSL
|
|
out vec4 sk_FragColor;
|
|
uniform bool x;
|
|
uniform bool y;
|
|
uniform int i;
|
|
uniform int j;
|
|
void main() {
|
|
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 = vec4(0.0);
|
|
break;
|
|
}
|
|
}
|