Sign in
dawn
/
tint
/
refs/heads/chromium/4732
/
.
/
test
/
loops
/
nested_loops.wgsl.expected.hlsl
blob: 5278d0025615b8aba8ec5d63947b5d40070d6862 [
file
] [
log
] [
blame
] [
edit
]
[
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
;
}
}
}
return
0
;
}