mesa: update or remove out of date references to ir_to_mesa
Reviewed-by: Dave Airlie <airlied@redhat.com> Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14066>
This commit is contained in:
committed by
Marge Bot
parent
bf1f809d7f
commit
74a1f103b6
@@ -941,9 +941,6 @@ ir_algebraic_visitor::handle_expression(ir_expression *ir)
|
||||
neg(op_expr[0]->operands[0]));
|
||||
}
|
||||
|
||||
/* While ir_to_mesa.cpp will lower sqrt(x) to rcp(rsq(x)), it does so at
|
||||
* its IR level, so we can always apply this transformation.
|
||||
*/
|
||||
if (op_expr[0] && op_expr[0]->operation == ir_unop_rsq)
|
||||
return sqrt(op_expr[0]->operands[0]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user