Sign in
dawn
/
dawn
/
3d2a692d6381fdf550d01d0665b32e6243f0fd5c
/
.
/
test
/
tint
/
switch
/
switch_nested.wgsl.expected.wgsl
blob: 56d18beede19775c1ada3172f15045e5f617d162 [
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
;
}
}
}