Sign in
dawn
/
dawn
/
35e4e5a3ffdcf91a0e12e5d42f82d16129e8a18c
/
.
/
test
/
tint
/
loops
/
nested_loops.wgsl.expected.ir.msl
blob: 4721280e73dd67bfe16797e6da6746d0825cdd06 [
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
;
}
}
continue
;
}
}
/* unreachable */
}