projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: add glsl_type_is_64bit() to nir_types
[mesa.git]
/
src
/
compiler
/
nir_types.cpp
diff --git
a/src/compiler/nir_types.cpp
b/src/compiler/nir_types.cpp
index 5583bc01620ba3cb35ef6ad10ac725095fb66141..b0d84aae384055e091e2efcb38d999a0bb4ef845 100644
(file)
--- a/
src/compiler/nir_types.cpp
+++ b/
src/compiler/nir_types.cpp
@@
-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)
{