i965/vec4: Allow constant propagation of VF immediates.
authorMatt Turner <mattst88@gmail.com>
Sun, 21 Dec 2014 01:42:52 +0000 (17:42 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 29 Dec 2014 18:08:18 +0000 (10:08 -0800)
commitd61c519822850ce90ae167f3658c014898f54cd1
tree4b5c51cb21d9c3a05520953f4a99064d226cb394
parentc855f49c99379cc65e5a91fe9297a6b961e09e1f
i965/vec4: Allow constant propagation of VF immediates.

total instructions in shared programs: 5877951 -> 5877012 (-0.02%)
instructions in affected programs:     155923 -> 154984 (-0.60%)

Helps 1233, hurts 156 shaders. The hurt shaders are addressed in the
next commit.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_vec4_copy_propagation.cpp