diff options
author | Timothy Arceri <[email protected]> | 2019-05-08 13:55:53 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-05-08 14:11:38 +1000 |
commit | 4fd8161773a839e5cac75854964dd16670bf7173 (patch) | |
tree | f76b70a9fe2c5369a87b137bd889ffec1a3a746a /src/compiler/glsl/glsl_to_nir.cpp | |
parent | a01b393c397c846345f03f76f1167dd667e0ee96 (diff) |
glsl_to_nir: remove unused type_is_int()
This was missed in e00fa99b08b3.
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_to_nir.cpp')
-rw-r--r-- | src/compiler/glsl/glsl_to_nir.cpp | 9 |
1 files changed, 0 insertions, 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) { |