Sign in
skia
/
skia
/
59f1a9cb7a34d6c8144372809cb19f7b4a369aa3
/
.
/
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
);
}
}