Sign in
dawn
/
dawn
/
7e8a128852ffdd6fd5e72ddf74355f3db3ccea49
/
.
/
test
/
tint
/
loops
/
nested_loop_switch_loop_switch.wgsl
blob: 020d6dfeec62f4f4fe7e134fa801549d8f34d8a2 [
file
] [
log
] [
blame
]
@compute
@workgroup_size
(
1
)
fn main
()
{
for
(
var
i
=
0
;
i
<
2
;
i
+=
2
)
{
switch
(
i
)
{
case
0
:
{
for
(
var
j
=
0
;
j
<
2
;
j
+=
2
)
{
switch
(
j
)
{
case
0
:
{
continue
;
// j loop
}
default
:
{
}
}
}
continue
;
// i loop
}
default
:
{
}
}
}
}