From 4fd8161773a839e5cac75854964dd16670bf7173 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 8 May 2019 13:55:53 +1000 Subject: [PATCH] glsl_to_nir: remove unused type_is_int() This was missed in e00fa99b08b3. Reviewed-by: Caio Marcelo de Oliveira Filho --- src/compiler/glsl/glsl_to_nir.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/compiler/glsl/glsl_to_nir.cpp b/src/compiler/glsl/glsl_to_nir.cpp index 47159ebd5e8..a51d39c4753 100644 --- a/src/compiler/glsl/glsl_to_nir.cpp +++ b/src/compiler/glsl/glsl_to_nir.cpp @@ -1728,15 +1728,6 @@ type_is_signed(glsl_base_type type) type == GLSL_TYPE_INT16; } -static bool -type_is_int(glsl_base_type type) -{ - return type == GLSL_TYPE_UINT || type == GLSL_TYPE_INT || - type == GLSL_TYPE_UINT8 || type == GLSL_TYPE_INT8 || - type == GLSL_TYPE_UINT16 || type == GLSL_TYPE_INT16 || - type == GLSL_TYPE_UINT64 || type == GLSL_TYPE_INT64; -} - void nir_visitor::visit(ir_expression *ir) { -- 2.30.2