Sign in
skia
/
skia
/
af8b7cb5ec9d92d4082a9e40a98069e8d49b87d9
/
.
/
tests
/
sksl
/
glsl
/
StaticSwitchWithConditionalBreak.sksl
blob: 100215b830126ebc0e56b483d0b1ca7d5621ae61 [
file
] [
log
] [
blame
]
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
if
(
x
<
sqrt
(
1
))
break
;
case
1
:
x
=
1.0
;
}
sk_FragColor
=
half4
(
half
(
x
));
}