Sign in
dawn
/
dawn
/
cfb9de24e17f7c24577e6acbbf39325deee3ca25
/
.
/
test
/
tint
/
loops
/
nested_loops_with_continuing.wgsl
blob: 12c61cdef9a90d38be37502b153b42c3b50fe132 [
file
] [
log
] [
blame
]
fn f
()
->
i32
{
var
i
:
i32
;
var
j
:
i32
;
loop
{
if
(
i
>
4
)
{
return
1
;
}
loop
{
if
(
j
>
4
)
{
return
2
;
}
continuing
{
j
=
j
+
1
;
}
}
continuing
{
i
=
i
+
1
;
}
}
}
@compute
@workgroup_size
(
1
)
fn main
()
{
_
=
f
();
}