layout (std430, binding = 1) buffer POINTLIGHTBLOCK {
PointLight mypointlights[]; /* unsized array */
};

/* create your pointlight buffer "mypointlightbuffer" here */...