blob: afde8059833e3ae9ff4e318cf87c535e60752425 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct str {
int i;
};
struct tint_private_vars_struct {
str P;
};
void func(thread int* const pointer) {
*(pointer) = 42;
}
kernel void tint_symbol() {
thread tint_private_vars_struct tint_private_vars = {};
func(&(tint_private_vars.P.i));
return;
}