Sign in
dawn
/
dawn
/
3ddc07a18b8a22570ffe1e93f0a11d036462c192
/
.
/
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
:
{
}
}
}
}