Sign in
dawn
/
dawn
/
e8dd681f1954bc3c780a887e4a0d87c9d1621369
/
.
/
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
;
}
}
}
}