blob: da38f6fdf31c60ff4aa88e66fe5f9bddf2426a55 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const device float* in;
device float* out;
};
kernel void tint_symbol(const device float* in [[buffer(0)]], device float* 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);
}