return type->sampler_array;
}
+bool
+glsl_struct_type_is_packed(const struct glsl_type *type)
+{
+ assert(glsl_type_is_struct(type));
+ return type->packed;
+}
+
bool
glsl_type_is_dual_slot(const struct glsl_type *type)
{
return type->get_internal_ifc_packing(std430_supported);
}
+enum glsl_interface_packing
+glsl_get_ifc_packing(const struct glsl_type *type)
+{
+ return type->get_interface_packing();
+}
+
unsigned
glsl_get_std140_base_alignment(const struct glsl_type *type, bool row_major)
{