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