// language: metal1.0 #include #include using metal::uint; kernel void main_( ) { metal::int2 i2_ = metal::int2(0); metal::int3 i3_ = metal::int3(0); metal::int4 i4_ = metal::int4(0); metal::uint2 u2_ = metal::uint2(0u); metal::uint3 u3_ = metal::uint3(0u); metal::uint4 u4_ = metal::uint4(0u); metal::float2 f2_ = metal::float2(0.0); metal::float3 f3_ = metal::float3(0.0); metal::float4 f4_ = metal::float4(0.0); metal::int2 _e27 = i2_; u2_ = as_type(_e27); metal::int3 _e29 = i3_; u3_ = as_type(_e29); metal::int4 _e31 = i4_; u4_ = as_type(_e31); metal::uint2 _e33 = u2_; i2_ = as_type(_e33); metal::uint3 _e35 = u3_; i3_ = as_type(_e35); metal::uint4 _e37 = u4_; i4_ = as_type(_e37); metal::int2 _e39 = i2_; f2_ = as_type(_e39); metal::int3 _e41 = i3_; f3_ = as_type(_e41); metal::int4 _e43 = i4_; f4_ = as_type(_e43); return; }