Sign in
dawn
/
dawn
/
66155c6b84a055faac0b3d3a24093c72662ed98b
/
.
/
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
;
}
}
}