blob: 844a1e1e8cae47d106f35a619c5ee6f00e3b720d [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
const device float4* S;
};
float4 func(const device float4* const pointer) {
return (*pointer);
}
kernel void tint_symbol(const device float4* S [[buffer(0)]]) {
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.S=S};
float4 const r = func(tint_module_vars.S);
}