Sign in
dawn
/
dawn
/
7206591c25f02f061b7e8c844cb240bfb69c084c
/
.
/
test
/
tint
/
loops
/
loop_with_break_if.wgsl.expected.ir.msl
blob: 164caccbbd62fb30a3cdbfb643a8d2fa9ee8c644 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
{
while
(
true
)
{
if
((
i
>
4
))
{
return
i
;
}
{
i
=
(
i
+
1
);
if
((
i
==
4
))
{
break
;
}
}
continue
;
}
}
return
i
;
}