Debian Codegraph @

third_party/spirv-cross/shaders/comp/coherent-block.comp

raw
1 #version 310 es
2 layout(local_size_x = 1) in;
3
4 layout(binding = 1) coherent restrict writeonly buffer SSBO
5 {
6 vec4 value;
7 };
8
9 void main()
10 {
11 value = vec4(20.0);
12 }