mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-11 17:50:32 +01:00
nir: add glsl_type_is_64bit() to nir_types
Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
790b5c4a38
commit
421c1b9bd6
2 changed files with 7 additions and 0 deletions
|
|
@ -149,6 +149,12 @@ glsl_get_record_location_offset(const struct glsl_type *type,
|
|||
return type->record_location_offset(length);
|
||||
}
|
||||
|
||||
bool
|
||||
glsl_type_is_64bit(const glsl_type *type)
|
||||
{
|
||||
return type->is_64bit();
|
||||
}
|
||||
|
||||
bool
|
||||
glsl_type_is_void(const glsl_type *type)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -106,6 +106,7 @@ glsl_get_bit_size(const struct glsl_type *type)
|
|||
return 0;
|
||||
}
|
||||
|
||||
bool glsl_type_is_64bit(const struct glsl_type *type);
|
||||
bool glsl_type_is_void(const struct glsl_type *type);
|
||||
bool glsl_type_is_error(const struct glsl_type *type);
|
||||
bool glsl_type_is_vector(const struct glsl_type *type);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue