mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 09:20:13 +01:00
nir/types: Add glsl_type_is_unsized_array helper
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
parent
bfc5e46746
commit
cafc1a40d4
2 changed files with 7 additions and 0 deletions
|
|
@ -279,6 +279,12 @@ glsl_type_is_array(const struct glsl_type *type)
|
|||
return type->is_array();
|
||||
}
|
||||
|
||||
bool
|
||||
glsl_type_is_unsized_array(const struct glsl_type *type)
|
||||
{
|
||||
return type->is_unsized_array();
|
||||
}
|
||||
|
||||
bool
|
||||
glsl_type_is_array_of_arrays(const struct glsl_type *type)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -121,6 +121,7 @@ bool glsl_type_is_vector_or_scalar(const struct glsl_type *type);
|
|||
bool glsl_type_is_matrix(const struct glsl_type *type);
|
||||
bool glsl_matrix_type_is_row_major(const struct glsl_type *type);
|
||||
bool glsl_type_is_array(const struct glsl_type *type);
|
||||
bool glsl_type_is_unsized_array(const struct glsl_type *type);
|
||||
bool glsl_type_is_array_of_arrays(const struct glsl_type *type);
|
||||
bool glsl_type_is_array_or_matrix(const struct glsl_type *type);
|
||||
bool glsl_type_is_struct(const struct glsl_type *type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue