blob: 6bb777879fe30be7f2b9046c0137ab44cda7109f [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float* prevent_dce;
};
float subgroupShuffle_030422() {
float arg_0 = 1.0f;
int arg_1 = 1;
float res = simd_shuffle(arg_0, arg_1);
return res;
}
fragment void fragment_main(device float* 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_030422();
}
kernel void compute_main(device float* 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_030422();
}