Sign in
skia
/
skia
/
6d2b7688f64daec70741a07762b23766e6eb7f7f
/
.
/
resources
/
sksl
/
shared
/
StaticSwitchWithConditionalBreakInsideBlock.sksl
blob: 5cb7cda2693aaf6d1663d5f6d4fad6b55549af41 [
file
] [
log
] [
blame
]
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
if
(
x
<
sqrt
(
1
))
{
sk_FragColor
=
half4
(
half
(
x
));
break
;
}
case
1
:
x
=
1.0
;
}
}