nir/types: add more nir_type_is_xxx() wrappers
[mesa.git] / src / glsl / nir / nir_types.h
index 60e1d9d96fcee795787a0d97ff814ee69ef2c98f..a2fa7934e16c5125235004e47daf3d1bb7d61e86 100644 (file)
@@ -76,6 +76,8 @@ bool glsl_type_is_vector(const struct glsl_type *type);
 bool glsl_type_is_scalar(const struct glsl_type *type);
 bool glsl_type_is_vector_or_scalar(const struct glsl_type *type);
 bool glsl_type_is_matrix(const struct glsl_type *type);
+bool glsl_type_is_array(const struct glsl_type *type);
+bool glsl_type_is_struct(const struct glsl_type *type);
 bool glsl_type_is_sampler(const struct glsl_type *type);
 bool glsl_sampler_type_is_shadow(const struct glsl_type *type);
 bool glsl_sampler_type_is_array(const struct glsl_type *type);