Sign in
dawn
/
dawn
/
41911d05584eef5a8b7237a3ff33b8c373df52a6
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.fxc.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
;
}
}
}
}