diff options
-rw-r--r-- | src/compiler/glsl_types.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index b98ce66c48d..403663f7b87 100644 --- a/src/compiler/glsl_types.h +++ b/src/compiler/glsl_types.h @@ -491,8 +491,7 @@ struct glsl_type { */ bool is_integer_32_64() const { - return (base_type == GLSL_TYPE_UINT) || (base_type == GLSL_TYPE_INT) || - (base_type == GLSL_TYPE_UINT64) || (base_type == GLSL_TYPE_INT64); + return is_integer() || is_integer_64(); } /** |