Sign in
dawn
/
tint
/
6556ba0e94d73aff1c7cea4c630b13d2561c103f
/
.
/
test
/
loops
/
nested_loops.wgsl.expected.hlsl
blob: 793339e9b95fffd7f780699bee4f552a03638f22 [
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
;
}
}
}
return
0
;
}