blob: 48e210b1b2ad8f5275f371f4ba7af9c3bf434d22 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
device float* prevent_dce;
};
float quadSwapDiagonal_486196() {
float arg_0 = 1.0f;
float res = quad_shuffle_xor(arg_0, 3u);
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) = quadSwapDiagonal_486196();
}
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) = quadSwapDiagonal_486196();
}