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