Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
skia
/
resources
/
sksl
/
shared
/
StaticSwitchWithConditionalBreak.sksl
blob: 34a9a53b36da51f4733d21c8ef8b751aa4a3b84c [
file
] [
log
] [
blame
]
uniform
float
unknownInput
;
void
main
()
{
half value
=
0.0
;
switch
(
0
)
{
case
0
:
value
=
0.0
;
if
(
unknownInput
==
2
)
break
;
case
1
:
value
=
1.0
;
}
sk_FragColor
=
value
.
xxxx
;
}