Debian Codegraph @

third_party/spirv-cross/shaders-reflection/vert/array-size-reflection.vert

raw
1 #version 450
2 layout(constant_id = 0) const int ARR_SIZE = 1;
3
4 layout(binding = 0, set = 1, std140) uniform u_
5 {
6 vec4 u_0[ARR_SIZE];
7 };
8
9 void main()
10 {
11 gl_Position = u_0[0];
12 }
13