blob: 61ef26a004ff1f7b20a621da2ffaeb8d694147db [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
int3 tint_insert_bits(int3 v, int3 n, uint offset, uint count) {
uint const s = min(offset, 32u);
uint const e = min(32u, (s + count));
return insert_bits(v, n, s, (e - s));
}
void f_1() {
int3 v = int3(0);
int3 n = int3(0);
uint offset_1 = 0u;
uint count = 0u;
int3 const x_16 = tint_insert_bits(v, n, offset_1, count);
return;
}
kernel void f() {
f_1();
return;
}