Sign in
dawn
/
tint
/
5f6a185d0210fa6adf8bbcc4c2f4f3133e671001
/
.
/
test
/
loops
/
loop.wgsl.expected.msl
blob: 49a3b1cbe8560778737cff94b6ba3d861d3d6f32 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
int
f
()
{
int
i
=
0
;
while
(
true
)
{
i
=
as_type
<int>
((
as_type
<uint>
(
i
)
+
as_type
<uint>
(
1
)));
if
((
i
>
4
))
{
return
i
;
}
}
}