blob: c00d400191300e860c2b1c1c7c1ddb155413d2ba [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device uint2* prevent_dce;
};
uint2 quadBroadcast_641316() {
uint2 res = quad_broadcast(uint2(1u), 1);
return res;
}
fragment void fragment_main(device uint2* 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) = quadBroadcast_641316();
}
kernel void compute_main(device uint2* 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) = quadBroadcast_641316();
}