#include <metal_stdlib> | |
using namespace metal; | |
struct tint_private_vars_struct { | |
float2x2 P; | |
}; | |
float2 func(thread float2* const pointer) { | |
return *(pointer); | |
} | |
kernel void tint_symbol() { | |
thread tint_private_vars_struct tint_private_vars = {}; | |
float2 const r = func(&(tint_private_vars.P[1])); | |
return; | |
} | |