in GLSL spec section 7.6.2.2 about Standard Uniform Block Layout, rule (4) says:
If the member is an array of scalars or vectors, the base alignment and array stride are set to match the base alignment of a single array element, according to rules (1), (2), and (3), and rounded up to the base alignment of a vec4.
I am not sure about the rounding of array stride to the base alignment of a vec4?
What does it mean the array element stride would be for a Uniform member looking like that:
struct MyStruct
{
float myArray[7];
}
uniform MyStruct myStruct;