Sign in
dawn
/
tint
/
b85099ae73b19e4f8baf0edb02a53b05dbd4fdb5
/
.
/
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
;
}