From: Timothy Arceri Date: Wed, 8 May 2019 03:55:53 +0000 (+1000) Subject: glsl_to_nir: remove unused type_is_int() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fd8161773a839e5cac75854964dd16670bf7173;p=mesa.git glsl_to_nir: remove unused type_is_int() This was missed in e00fa99b08b3. Reviewed-by: Caio Marcelo de Oliveira Filho --- 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) {