Sign in
dawn
/
dawn
/
3d64565e2eb8fe4a377b18e288edac70d28d586f
/
.
/
test
/
tint
/
expressions
/
bitcast
/
let
/
64bit
/
vec4f16-vec2i32.wgsl.expected.msl
blob: dd88cf9084d872a4d51ffcfb72dc57cda92b67d5 [
file
] [
log
] [
blame
]
#include
<metal_stdlib>
using
namespace
metal
;
kernel
void
f
()
{
half4
const
a
=
half4
(
1.0h
,
2.0h
,
3.0h
,
-
4.0h
);
int2
const
b
=
as_type
<int2>
(
a
);
return
;
}