#version 450 layout(local_size_x = 1, local_size_y = 1, local_size_z = 1) in; struct T { float c; }; layout(binding = 0, std430) buffer SSBO1 { T foo[]; } _9; layout(binding = 1, std140) buffer SSBO2 { T bar[]; } _13; void main() { T v = T(40.0); _9.foo[10].c = v.c; _13.bar[30].c = v.c; }