Sign in
dawn
/
dawn
/
9be037cf1bcbd4a37d083d079f4e457e2b7f5182
/
.
/
test
/
tint
/
loops
/
multiple_switch.wgsl
blob: b3acc1ffc96087016c4f0aa8f58fe8626b0157f0 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
var
i
=
0
;
for
(
var
i
=
0
;
i
<
2
;
i
+=
1
)
{
switch
(
i
)
{
case
0
:
{
continue
;
}
default
:
{
}
}
switch
(
i
)
{
case
0
:
{
continue
;
}
default
:
{
}
}
}
}