Sign in
dawn
/
dawn
/
7ec779404614165e50ed409a4f63dfbbafb0ebf0
/
.
/
test
/
loops
/
loop.wgsl.expected.msl
blob: 9772ce4ee9bc0e57329c6399acfed77640a6324e [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
while
(
true
)
{
i
=
(
i
+
1
);
if
((
i
>
4
))
{
return
i
;
}
}
return
0
;
}