Which can't return struct types containing arrays. So let's revert to the previous version but still send the rect along as a vec4[3];
Use a unified approach to write both vertex and fragment shader in the same file.