--- src/compiler/glsl_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index b98ce66c48..403663f7b8 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(); } /** -- 2.12.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev