Sign in
dawn
/
dawn
/
868efb97397c9fb5d936f253c94b0da766c1f289
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.dxc.hlsl
blob: 1a0cfdbc1ccbeb5af0702a656b9481d3ee60c05c [
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
;
}
}
}
}