Sign in
skia
/
skia
/
5837aad590ab7a30a12ddc450f49577917da8107
/
.
/
resources
/
sksl
/
shared
/
StaticSwitchWithBreak.sksl
blob: 5e66d3740a79c06d89d81b9bbb67f8d00705cb80 [
file
] [
log
] [
blame
]
void
main
()
{
float
x
=
0.0
;
switch
(
0
)
{
case
0
:
x
=
0.0
;
break
;
case
1
:
x
=
1.0
;
}
sk_FragColor
=
half4
(
half
(
x
));
}