Sign in
dawn
/
dawn
/
91622e3853ac3022419cd0568c159a1909e976fc
/
.
/
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
;
}