blob: d76ba74014f1c152c4665bd3ad3180d5fb6d3a7b [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 = tint_module_vars_struct{.u=u, .s=s};
half const x = (*tint_module_vars.u);
(*tint_module_vars.s) = x;
}