From b718de746d1566e238ef034f051a98e4083e01d2 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Fri, 9 Apr 2021 07:15:36 +0200 Subject: [PATCH] glsl: fix is_integer_16_32 This shouldn't check for 64-bit... Fixes: a052a9c2777 ("glsl: handle int16 and uint16 types and add instructions for mediump") Reviewed-by: Alyssa Rosenzweig Part-of: --- src/compiler/glsl_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/glsl_types.h b/src/compiler/glsl_types.h index 05a9f8f1422..8157bceb64b 100644 --- a/src/compiler/glsl_types.h +++ b/src/compiler/glsl_types.h @@ -796,7 +796,7 @@ public: */ bool is_integer_16_32() const { - return is_integer_16() || is_integer_32() || is_integer_64(); + return is_integer_16() || is_integer_32(); } /**