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_validate.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_validate.cpp')
-rw-r--r-- | src/glsl/ir_validate.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp index e63b5c318e3..dcc079cfe37 100644 --- a/src/glsl/ir_validate.cpp +++ b/src/glsl/ir_validate.cpp @@ -320,11 +320,6 @@ ir_validate::visit_leave(ir_expression *ir) assert(ir->type->base_type == GLSL_TYPE_UINT); break; - case ir_unop_any: - assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL); - assert(ir->type == glsl_type::bool_type); - break; - case ir_unop_trunc: case ir_unop_round_even: case ir_unop_ceil: |