Sign in
skia
/
skia
/
07e11d48cb02ba9a3845e653c1772c25021e65a3
/
.
/
resources
/
sksl
/
errors
/
StaticSwitchConditionalBreak.sksl
blob: c9abd1b6455a94504a51db3011f385e81e6af112 [
file
] [
log
] [
blame
]
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
);
}
}