Sign in
dawn
/
dawn
/
22c4850b0689a3ec4e1ebcde3c0b9e3ee69f92cc
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl
blob: 3a093e7bb9551ccef9ef0b530412d402574db3aa [
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
;
}
}
}
}