Sign in
skia
/
skia
/
516c1ce3d4c501a42ffb3e9a1fbc491a5a4fe737
/
.
/
resources
/
sksl
/
errors
/
StaticSwitchConditionalBreak.sksl
blob: ed949628970930d483edf7fb5f1fc9701b632c77 [
file
] [
log
] [
blame
]
void
main
()
{
const
int
x
=
1
;
@switch
(
x
)
{
case
1
:
sk_FragColor
=
half4
(
1
);
if
(
sqrt
(
0
)
<
sqrt
(
1
))
break
;
default
:
sk_FragColor
=
half4
(
0
);
}
}