Sign in
dawn
/
dawn
/
1ddb39c14b3aff8d9099e75bebb1ed3efa75a46b
/
.
/
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
;
}
}
}