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