Sign in
dawn
/
dawn
/
70a3fa1ee9e5d8df4177fb3f970a4b7dd6ec58cc
/
.
/
test
/
loops
/
nested_loops.wgsl.expected.wgsl
blob: 048cd04a695a97c2d4a24a9a3ce99843fb924a8c [
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
;
}