07e9501ae1
Simple fix, just need to use to_unpacked_expression rather than to_expression here to deal with this.
14 lines
196 B
Plaintext
14 lines
196 B
Plaintext
#version 450
|
|
layout(local_size_x = 1) in;
|
|
|
|
layout(std140, binding = 0) buffer SSBO
|
|
{
|
|
float a[16];
|
|
vec4 b[16];
|
|
};
|
|
|
|
void main()
|
|
{
|
|
b[gl_GlobalInvocationID.x] = vec4(a[gl_GlobalInvocationID.x]);
|
|
}
|