Sign in
dawn
/
tint
/
b85099ae73b19e4f8baf0edb02a53b05dbd4fdb5
/
.
/
test
/
loops
/
nested_loops.wgsl.expected.hlsl
blob: 793339e9b95fffd7f780699bee4f552a03638f22 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
int
f
()
{
int
i
=
0
;
int
j
=
0
;
while
(
true
)
{
i
=
(
i
+
1
);
if
((
i
>
4
))
{
return
1
;
}
while
(
true
)
{
j
=
(
j
+
1
);
if
((
j
>
4
))
{
return
2
;
}
}
}
return
0
;
}