blob: a7e333265200879e7c003ff48c6c6cc78fc454c6 [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(1)]], device half4* out [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.in=in, .out=out};
(*tint_module_vars.out) = (*tint_module_vars.in);
}