blob: db7d97a6707a4c6ae97884f9ab8f9ec7416be7cb [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device uint* prevent_dce;
};
uint subgroupShuffle_54f328() {
uint arg_0 = 1u;
int arg_1 = 1;
uint res = simd_shuffle(arg_0, arg_1);
return res;
}
fragment void fragment_main(device uint* prevent_dce [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.prevent_dce=prevent_dce};
(*tint_module_vars.prevent_dce) = subgroupShuffle_54f328();
}
kernel void compute_main(device uint* prevent_dce [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.prevent_dce=prevent_dce};
(*tint_module_vars.prevent_dce) = subgroupShuffle_54f328();
}