6798e5d0d1
Change-Id: Ic8f4730d035981c32b4ddb48e5e919b0396b6d93 Bug: skia:10694 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/317578 Auto-Submit: John Stiles <johnstiles@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>
11 lines
234 B
Plaintext
11 lines
234 B
Plaintext
void conditional_break_in_static_switch() {
|
|
int x = 1;
|
|
@switch (x) {
|
|
case 1:
|
|
sk_FragColor = half4(1);
|
|
if (sqrt(0) < sqrt(1)) break;
|
|
default:
|
|
sk_FragColor = half4(0);
|
|
}
|
|
}
|