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