Sign in
dawn
/
dawn
/
1fc6db312a66e9590c7e2c34fd8c65dafb895da3
/
.
/
test
/
tint
/
loops
/
nested_loops_with_continuing.wgsl
blob: 9fa77ef326d73ebd392b6321dba14690cf80a38f [
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
;
}
}
}