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