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