blob: 29ecf51ac3081886d2eeca3d82c97893fdaa94a9 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const device half2* in;
device half2* out;
};
kernel void tint_symbol(const device half2* in [[buffer(0)]], device half2* out [[buffer(1)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.in=in, .out=out};
(*tint_module_vars.out) = (*tint_module_vars.in);
}