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