Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisforbes@google.com>
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)
{
unsigned index);
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);
const struct glsl_type *glsl_get_column_type(const struct glsl_type *type);