Sign in
dawn
/
dawn
/
b0455217fafd61f083c214a00665a2eda378a5e4
/
.
/
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
;
}