Sign in
dawn
/
dawn
/
b93ba834d4c6d86fa1312c6fb1f9d6f00f7af88a
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.wgsl
blob: c9d47a3914825c3ea26b7a59ee3a1b6eb71d4a1e [
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
;
}
}
}
}
@compute
@workgroup_size
(
1
)
fn main
()
{
_
=
f
();
}