blob: e407ad6716d6a6f4e7679f196c0b275d8028c44d [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread float4* P;
};
void func(thread float4* const pointer) {
(*pointer) = float4(0.0f);
}
kernel void tint_symbol() {
thread float4 P = 0.0f;
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.P=(&P)};
func(tint_module_vars.P);
}