glsl: Transform pow(x, 4) into (x*x)*(x*x).
authorMatt Turner <mattst88@gmail.com>
Tue, 17 Mar 2015 04:33:31 +0000 (21:33 -0700)
committerMatt Turner <mattst88@gmail.com>
Fri, 24 Apr 2015 18:39:01 +0000 (11:39 -0700)
commit9b577d57029bb643f2b48b80648b4f901818e93b
tree6f26080e4c237304c8aeed14e395580d76ebbbd3
parent18f44d303014c3c16084c1b15d1999833e0d55db
glsl: Transform pow(x, 4) into (x*x)*(x*x).

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_algebraic.cpp