#include <metal_stdlib> | |
using namespace metal; | |
struct S { | |
uint3 v; | |
}; | |
struct tint_private_vars_struct { | |
S P; | |
}; | |
void f(thread tint_private_vars_struct* const tint_private_vars) { | |
(*(tint_private_vars)).P.v = uint3(1u, 2u, 3u); | |
(*(tint_private_vars)).P.v[0] = 1u; | |
(*(tint_private_vars)).P.v[1] = 2u; | |
(*(tint_private_vars)).P.v[2] = 3u; | |
} | |