blob: d7c0ccf40fda52bf17be25ee4beb61943a351dff [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct tint_module_vars_struct {
thread float* a;
thread float* b;
};
kernel void tint_symbol() {
thread float a = 1.0f;
thread float b = 0.0f;
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.a=(&a), .b=(&b)};
float const x = ((*tint_module_vars.a) + (*tint_module_vars.b));
}