blob: 02a0df9ef18a169df5af09ceeb96222d7c6d1198 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
int i;
};
struct tint_module_vars_struct {
thread S* V;
};
void main_1(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.V).i = 5;
}
kernel void v() {
thread S V = {};
tint_module_vars_struct const tint_module_vars = tint_module_vars_struct{.V=(&V)};
main_1(tint_module_vars);
}