Sign in
dawn
/
dawn
/
0118b964f35f27400c8f23118d02532bc811e803
/
.
/
test
/
loops
/
nested_loops.wgsl
blob: 3b8f6dd2f5c59c63565374c7c35fe2cd5fcbc05d [
file
] [
log
] [
blame
]
fn f
()
->
i32
{
var
i
:
i32
;
var
j
:
i32
;
loop
{
i
=
i
+
1
;
if
(
i
>
4
)
{
return
1
;
}
loop
{
j
=
j
+
1
;
if
(
j
>
4
)
{
return
2
;
}
}
}
return
0
;
}