Sign in
dawn
/
dawn
/
8527c135e2d9aade0ea08374f6da72aeba49aa45
/
.
/
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
;
}
}
}