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