blob: c5b30d27a7c90e633e9c13f69708972778e76aaa [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const constant half* u;
device half* s;
};
kernel void tint_symbol(const constant half* u [[buffer(0)]], device half* s [[buffer(1)]]) {
tint_module_vars_struct const tint_module_vars = {.u=u, .s=s};
half const x = (*tint_module_vars.u);
(*tint_module_vars.s) = x;
}