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