You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the body is a list of [switch_body]s, which can be either case [case_selectors] ... or default ..., but [case_selector] can also be default, meaning, if I'm reading this correctly, should allow both:
switchx {
default { foo }
case1 { bar }
}
and
switchx {
casedefault { foo }
case1 { bar }
}
but the latter on naga (0.10.0) gives something like:
C.f. https://www.w3.org/TR/WGSL/#switch-statement:
the body is a list of
[switch_body]
s, which can be eithercase [case_selectors] ...
ordefault ...
, but[case_selector]
can also bedefault
, meaning, if I'm reading this correctly, should allow both:and
but the latter on naga (0.10.0) gives something like:
The text was updated successfully, but these errors were encountered: