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