Debian Codegraph @

third_party/spirv-cross/shaders/comp/ssbo-array-length.comp

raw
1 #version 450
2 layout(local_size_x = 1) in;
3 layout(set = 0, binding = 1, std140) buffer SSBO
4 {
5 uint size;
6 float v[];
7 };
8
9 void main()
10 {
11 size = v.length();
12 }