blob: 7e93ea76098edba3d6a8a87eeb54822e06e0f975 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device uint* prevent_dce;
};
uint subgroupShuffle_f194f5() {
uint res = simd_shuffle(1u, 1u);
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_f194f5();
}
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_f194f5();
}