blob: c21d5afb2a20dd581caed77a188dcc3a6fccd017 [file] [log] [blame]
struct S {
vector<float16_t, 3> v;
};
static S P = (S)0;
void f() {
P.v = vector<float16_t, 3>(float16_t(1.0h), float16_t(2.0h), float16_t(3.0h));
P.v[0u] = float16_t(1.0h);
P.v[1u] = float16_t(2.0h);
P.v[2u] = float16_t(3.0h);
}
[numthreads(1, 1, 1)]
void unused_entry_point() {
}