glsl: Optimize log(exp(x)) and exp(log(x)) into x.
authorEric Anholt <eric@anholt.net>
Sat, 18 Jan 2014 18:47:19 +0000 (10:47 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 7 Feb 2014 20:46:47 +0000 (12:46 -0800)
commit6d7c123d6ce46e71ef22e431b76e972b9be1a157
treeb038ad90bd428635c259faa50d8f38fdf0945fd3
parent2c2aa353366c610382273bea10656e6d6960ce3b
glsl: Optimize log(exp(x)) and exp(log(x)) into x.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/glsl/opt_algebraic.cpp