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