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