Sign in
dawn
/
dawn
/
4bba3c10dd4d0f2a2da29e04b80b0e635674429a
/
.
/
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
;
}
}
}