Sign in
dawn
/
dawn
/
4de90f0bb158271919658ec169bd9ba24ebb3d0c
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.fxc.hlsl
blob: f5b116478db16d282d71f6222a0a519800484697 [
file
] [
log
] [
blame
]
[
numthreads
(
1
,
1
,
1
)]
void
unused_entry_point
()
{
return
;
}
int
f
()
{
int
i
=
0
;
int
j
=
0
;
[
loop
]
while
(
true
)
{
i
=
(
i
+
1
);
if
((
i
>
4
))
{
return
1
;
}
[
loop
]
while
(
true
)
{
j
=
(
j
+
1
);
if
((
j
>
4
))
{
return
2
;
}
}
}
}