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