glsl: Optimize -(-expr) into expr.
authorMatt Turner <mattst88@gmail.com>
Wed, 16 Oct 2013 23:56:45 +0000 (16:56 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 22 Oct 2013 05:53:36 +0000 (22:53 -0700)
commitf1e605f1ada79bb4d57187274096d44e270615a6
tree589eb3f88aa5c577b541df7dd7583fdc5829e344
parent963df4d37da7a7a1ee02cf26e142386a62a611f8
glsl: Optimize -(-expr) into expr.

Reviewed-by: Paul Berry <stereotype441@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/opt_algebraic.cpp