blob: 4f39e60f44a6be327c35d13801f619065c776340 [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(1)]], device half2* 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);
}