Sign in
dawn
/
dawn
/
3a6d8b64169c3bb2fc42f87c7ec04324ee9db3d3
/
.
/
test
/
tint
/
switch
/
switch_nested.wgsl
blob: 342595d6b454a8c887b7aa22a07c71c5a266244c [
file
] [
log
] [
blame
]
fn a
()
{
var
a
=
0
;
switch
(
a
)
{
case
0
,
2
,
4
:
{
var
b
=
3u
;
switch
(
b
)
{
case
0
:
{
break
;
}
case
1
,
2
,
3
,
default
:
{
var
c
=
123u
;
switch
(
c
)
{
case
0
:
{
break
;
}
default
:
{
return
;
}
}
return
;
}
}
break
;
}
case
1
,
default
:
{
return
;
}
}
}