glsl: Optimize (f2i(trunc x)) into (f2i x).
authorMatt Turner <mattst88@gmail.com>
Fri, 30 Jan 2015 21:42:19 +0000 (13:42 -0800)
committerMatt Turner <mattst88@gmail.com>
Wed, 11 Feb 2015 21:50:19 +0000 (13:50 -0800)
commit69ad5fd4ce33aeab73d9eb546072d77e73e3a730
treee67fb354a443038d85baaa84f3aacd08d956744b
parentc262b2b582798f389601b8198b1dbf3c7ba7a187
glsl: Optimize (f2i(trunc x)) into (f2i x).

total instructions in shared programs: 5950326 -> 5949286 (-0.02%)
instructions in affected programs:     88264 -> 87224 (-1.18%)
helped:                                692
src/glsl/opt_algebraic.cpp