glsl: Optimize pow(x, 1) -> x.
authorEric Anholt <eric@anholt.net>
Sat, 18 Jan 2014 18:57:29 +0000 (10:57 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 7 Feb 2014 20:46:48 +0000 (12:46 -0800)
commitd72956790fed5f62b8eea5938ed432544530f7bd
treeade1672aac4cd8b278c7f88b91df6923bf8b2f01
parent6d7c123d6ce46e71ef22e431b76e972b9be1a157
glsl: Optimize pow(x, 1) -> x.

total instructions in shared programs: 1627826 -> 1627754 (-0.00%)
instructions in affected programs:     6640 -> 6568 (-1.08%)
GAINED:                                0
LOST:                                  0

(HoN and savage2)

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