Sign in
dawn
/
dawn
/
7ab964aa333f50c5f0d7b4c60d7f17637825e247
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.ir.msl
blob: 70b1c9143b9184af62ecc16d23f0dbfed544ad53 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
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
;
}
continue
;
}
}
/* unreachable */
}
}
/* unreachable */
}