anv: Merge in my TODO list items
[mesa.git] / src / compiler / nir_types.cpp
index 62a1071e444c4166e106541b89e801ed467a1533..4ea7a2fcd38cf3f3dcddca8721ccb9dd3a4b3f5a 100644 (file)
@@ -64,6 +64,12 @@ glsl_get_array_element(const glsl_type* type)
    return type->fields.array;
 }
 
+const glsl_type *
+glsl_without_array(const glsl_type *type)
+{
+   return type->without_array();
+}
+
 const glsl_type *
 glsl_get_struct_field(const glsl_type *type, unsigned index)
 {