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