#include using namespace metal; kernel void f() { uint3 const a = uint3(1u, 2u, 3u); uint3 const b = uint3(4u, 5u, 6u); uint3 const r = (a >> (b & uint3(31u))); return; }