Sign in
dawn
/
dawn
/
1e8be0f3009ce42eadbc7d9add497cf0ed543c29
/
.
/
test
/
tint
/
loops
/
nested_loops_with_continuing.wgsl.expected.ir.msl
blob: 7fcf68ce437cbf193364ac23f43e715d34c1c06b [
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
);
continue
;
}
}
i
=
(
i
+
1
);
continue
;
}
}
/* unreachable */
}