68f0257f26
This makes it easier to debug codegen for these shaders.
23 lines
288 B
Plaintext
23 lines
288 B
Plaintext
#version 450
|
|
layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in;
|
|
|
|
struct Foo
|
|
{
|
|
float _abs;
|
|
};
|
|
|
|
layout(binding = 0, std430) buffer SSBO
|
|
{
|
|
Foo foo;
|
|
Foo foo2;
|
|
} _9;
|
|
|
|
void main()
|
|
{
|
|
Foo f;
|
|
f._abs = _9.foo._abs;
|
|
int _abs = 10;
|
|
_9.foo2._abs = f._abs;
|
|
}
|
|
|