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