glsl_to_nir: remove unused type_is_int()

This was missed in e00fa99b08.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
This commit is contained in:
Timothy Arceri
2019-05-08 13:55:53 +10:00
parent a01b393c39
commit 4fd8161773

View File

@@ -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)
{