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