diff options
author | Matt Turner <[email protected]> | 2015-11-30 11:56:31 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-12-18 13:20:12 -0500 |
commit | 2268a50ffde18f9907ee7321c8b503b52a23fb05 (patch) | |
tree | e6925b8ef4c467966dbd2f799475fb31d738a60e /src/glsl/ir.cpp | |
parent | 249bb8961726fe98ea6f3ba625487f6935a9f093 (diff) |
glsl: Remove ir_unop_any.
The GLSL IR to TGSI/Mesa IR paths for any_nequal have the same
optimizations the ir_unop_any paths had.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index f989e9b6dff..70227070ca7 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -307,10 +307,6 @@ ir_expression::ir_expression(int op, ir_rvalue *op0) this->type = glsl_type::uvec2_type; break; - case ir_unop_any: - this->type = glsl_type::bool_type; - break; - case ir_unop_pack_snorm_2x16: case ir_unop_pack_snorm_4x8: case ir_unop_pack_unorm_2x16: @@ -538,7 +534,6 @@ static const char *const operator_strs[] = { "bitcast_f2i", "bitcast_u2f", "bitcast_f2u", - "any", "trunc", "ceil", "floor", |