blob: f4511b2010dda128b6b746657a3c9ad3e383fc96 [file] [log] [blame]
Ben Claytonb85099a2021-07-17 17:38:46 +00001#include <metal_stdlib>
2
3using namespace metal;
4kernel void f() {
5 int3 const a = int3(1, 2, 3);
6 int3 const b = int3(4, 5, 6);
Ben Claytona92f4252022-10-27 14:36:49 +00007 int3 const r = as_type<int3>((as_type<uint3>(a) * as_type<uint3>(b)));
Ben Claytonb85099a2021-07-17 17:38:46 +00008 return;
9}
10