[Mesa-dev] [PATCH] glsl_to_nir: remove unused type_is_int()
Timothy Arceri
tarceri at itsqueeze.com
Wed May 8 03:55:53 UTC 2019
This was missed in e00fa99b08b3.
Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
---
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.20.1
More information about the mesa-dev
mailing list