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