projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a01b393
)
glsl_to_nir: remove unused type_is_int()
author
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 8 May 2019 03:55:53 +0000
(13:55 +1000)
committer
Timothy Arceri
<tarceri@itsqueeze.com>
Wed, 8 May 2019 04:11:38 +0000
(14:11 +1000)
This was missed in
e00fa99b08b3
.
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/compiler/glsl/glsl_to_nir.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/glsl_to_nir.cpp
b/src/compiler/glsl/glsl_to_nir.cpp
index 47159ebd5e8338e992cc1f4986a2ad3ae9eb1b7b..a51d39c4753087cb4f8eae2fbfb13537cb2dea56 100644
(file)
--- 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)
{