[Mesa-dev] [PATCH] glsl: Optimize 1/exp(x) into exp(-x).

Matt Turner mattst88 at gmail.com
Tue Feb 10 13:21:01 PST 2015

On Tue, Feb 10, 2015 at 1:11 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> Looks fine to me but why are we still adding algebraic optimizations to

I'm a little bothered by that question. It's at least the second time
it's been asked of me.

Until both of our backends are accepting NIR by default I don't think
that's it's reasonable to stop adding optimizations to GLSL IR,
especially when they're as simple as this.

Beyond that, as a free software developer I appreciate when someone
does something that indirectly benefits me. If I have the opportunity
to do likewise, I try to.

More information about the mesa-dev mailing list