mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
glsl/opt_algebraic: Drop ~~x == x transformation.
No change on freedreno shader-db. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21475>
This commit is contained in:
parent
36a916f3f4
commit
2bd0343ba0
1 changed files with 0 additions and 5 deletions
|
|
@ -305,11 +305,6 @@ ir_algebraic_visitor::handle_expression(ir_expression *ir)
|
|||
this->mem_ctx = ralloc_parent(ir);
|
||||
|
||||
switch (ir->operation) {
|
||||
case ir_unop_bit_not:
|
||||
if (op_expr[0] && op_expr[0]->operation == ir_unop_bit_not)
|
||||
return op_expr[0]->operands[0];
|
||||
break;
|
||||
|
||||
case ir_unop_abs:
|
||||
if (op_expr[0] == NULL)
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue