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