Sign in
dawn
/
dawn
/
d1ee47a1cd1f44185977b776969deb637ae5548b
/
.
/
test
/
loops
/
nested_loops_with_continuing.wgsl
blob: d1e3db613e34f30a2e5e86d3ef790fd3c60c8f35 [
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
;
}
}
return
0
;
}