X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir_types.h;h=cafb8c1829447d9aea63abdad4c5d76fea7615d1;hb=8a2ae4153b39b93257f42b97adf27428fe2faaf6;hp=57f4708b67a8cdc5a1fd7fcecf807958b8c2573d;hpb=cd52b4fb161bf038b5279144c7f6d8d84729a940;p=mesa.git diff --git a/src/compiler/nir_types.h b/src/compiler/nir_types.h index 57f4708b67a..cafb8c18294 100644 --- a/src/compiler/nir_types.h +++ b/src/compiler/nir_types.h @@ -92,6 +92,8 @@ glsl_get_bit_size(const struct glsl_type *type) return 32; case GLSL_TYPE_DOUBLE: + case GLSL_TYPE_INT64: + case GLSL_TYPE_UINT64: return 64; default: @@ -108,6 +110,7 @@ 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_array_of_arrays(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_type_is_image(const struct glsl_type *type);