unsigned glsl_get_std140_base_alignment(const struct glsl_type *type,
bool row_major);
+unsigned glsl_get_std140_size(const struct glsl_type *type, bool row_major);
unsigned glsl_get_explicit_stride(const struct glsl_type *type);
const struct glsl_type *glsl_get_array_element(const struct glsl_type *type);
const struct glsl_type *glsl_without_array(const struct glsl_type *type);