summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir_types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir_types.cpp b/src/compiler/nir_types.cpp
index e2dfc40ff0b..7fa1741515d 100644
--- a/src/compiler/nir_types.cpp
+++ b/src/compiler/nir_types.cpp
@@ -355,7 +355,7 @@ glsl_type_is_boolean(const struct glsl_type *type)
bool
glsl_type_is_integer(const struct glsl_type *type)
{
- return type->is_integer();
+ return glsl_base_type_is_integer(type->base_type);
}
bool