26 lines
327 B
GLSL
26 lines
327 B
GLSL
#version 310 es
|
|
precision mediump float;
|
|
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
void unused_entry_point() {
|
|
return;
|
|
}
|
|
void main() {
|
|
unused_entry_point();
|
|
}
|
|
|
|
|
|
|
|
struct S {
|
|
uvec3 v;
|
|
};
|
|
|
|
S P = S(uvec3(0u, 0u, 0u));
|
|
|
|
void f() {
|
|
P.v = uvec3(1u, 2u, 3u);
|
|
P.v.x = 1u;
|
|
P.v.y = 2u;
|
|
P.v.z = 3u;
|
|
}
|