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