blob: 7ec346c4d5ab6716cee3d73876e12c13832a0658 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
kernel void f() {
half4 const a = half4(1.0h, 2.0h, 3.0h, -4.0h);
float2 const b = as_type<float2>(a);
}