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