blob: f87cc69c4813ecde9f902cd2a9a86efa57e09eef [file] [log] [blame]
#version 310 es
struct S {
vec3 v;
};
S P = S(vec3(0.0f));
void f() {
P.v = vec3(1.0f, 2.0f, 3.0f);
P.v[0u] = 1.0f;
P.v[1u] = 2.0f;
P.v[2u] = 3.0f;
}
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
void main() {
}