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