blob: 970c96e66219192cc507375e2af28900ac529ce4 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
int3 v;
};
struct tint_module_vars_struct {
thread S* P;
};
void f(tint_module_vars_struct tint_module_vars) {
(*tint_module_vars.P).v = int3(1, 2, 3);
(*tint_module_vars.P).v[0u] = 1;
(*tint_module_vars.P).v[1u] = 2;
(*tint_module_vars.P).v[2u] = 3;
}