blob: d04ab1e9f69367094991308a3f8259ff7b7e5655 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
uint tint_insert_bits(uint v, uint 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() {
uint v = 0u;
uint n = 0u;
uint offset_1 = 0u;
uint count = 0u;
uint const x_12 = tint_insert_bits(v, n, offset_1, count);
return;
}
kernel void f() {
f_1();
return;
}