blob: b55912db40a205a0a1334c1a26128c337b406b86 [file] [log] [blame]
#include <metal_stdlib>
using namespace metal;
struct S {
/* 0x0000 */ packed_uint3 v;
/* 0x000c */ int8_t tint_pad[4];
};
void f(device S* const tint_symbol) {
(*(tint_symbol)).v = uint3(1u, 2u, 3u);
(*(tint_symbol)).v[0] = 1u;
(*(tint_symbol)).v[1] = 2u;
(*(tint_symbol)).v[2] = 3u;
}