anv: Mark anv_dump_{start,finish} as PUBLIC
[mesa.git] / src / compiler / nir_types.cpp
index 25043acaca713b24c9e9f6d9f4eda93298938f25..a53b14db8148ee7ba7409c72b6378d1825c83216 100644 (file)
@@ -360,6 +360,13 @@ glsl_sampler_type_is_array(const struct glsl_type *type)
    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)
 {
@@ -803,6 +810,12 @@ glsl_get_internal_ifc_packing(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)
 {