blob: 8769408579c60f066d9fbaa77f55564840d316f8 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int3 tint_extract_bits(int3 v, uint offset, uint count) {
uint const s = min(offset, 32u);
uint const e = min(32u, (s + count));
return extract_bits(v, s, (e - s));
}
void f_1() {
int3 v = int3(0);
uint offset_1 = 0u;
uint count = 0u;
int3 const x_15 = tint_extract_bits(v, offset_1, count);
return;
}
kernel void f() {
f_1();
return;
}