Skip to content
Snippets Groups Projects
Commit 45cb6063 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Ian Romanick
Browse files

glsl: Delete LRP_TO_ARITH lowering pass flag.


Tt's kind of a trap---calling do_common_optimization() after
lower_instructions() may cause opt_algebraic() to reintroduce
ir_triop_lrp expressions that were lowered, effectively defeating the
point.  Because of this, nobody uses it.

v2: Delete more code (caught by Ian Romanick).

Cc: "10.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
Reviewed-by: default avatarMatt Turner <mattst88@gmail.com>
Acked-by: default avatarEric Anholt <eric@anholt.net>
(cherry picked from commit ac0a8b95)
parent 9cc1bbca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment