Sign in
dawn
/
tint
/
f7d0c1cbfe46288a0874d9ba116d560a8e537ca5
/
.
/
test
/
loops
/
nested_loops_with_continuing.wgsl.expected.msl
blob: 8c9f8fdee2f92bb3f9d3256aed697961e6138186 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
int
j
=
0
;
while
(
true
)
{
if
((
i
>
4
))
{
return
1
;
}
while
(
true
)
{
if
((
j
>
4
))
{
return
2
;
}
{
j
=
(
j
+
1
);
}
}
{
i
=
(
i
+
1
);
}
}
return
0
;
}