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