blob: 20370b8962a12c2900ed2d74242ad932d89e8965 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device uint4* prevent_dce;
};
uint4 subgroupMax_15ccbf() {
uint4 arg_0 = uint4(1u);
uint4 res = simd_max(arg_0);
return res;
}
fragment void fragment_main(device uint4* 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) = subgroupMax_15ccbf();
}
kernel void compute_main(device uint4* 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) = subgroupMax_15ccbf();
}