Debian Codegraph @

third_party/spirv-cross/reference/shaders-no-opt/comp/illegal-struct-name.asm.comp

raw
1 #version 450
2 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
3
4 struct Foo
5 {
6 float _abs;
7 };
8
9 layout(binding = 0, std430) buffer SSBO
10 {
11 Foo foo;
12 Foo foo2;
13 } _7;
14
15 void main()
16 {
17 Foo f;
18 f._abs = _7.foo._abs;
19 int _abs = 10;
20 _7.foo2._abs = f._abs;
21 }
22