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