i965/vec4: Don't fix-up scalar uniforms for 3 src instructions.
authorMatt Turner <mattst88@gmail.com>
Sat, 8 Mar 2014 20:16:13 +0000 (12:16 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 10 Mar 2014 21:13:45 +0000 (14:13 -0700)
commit3330dec90ccba5d6c2932ff4e223d37eaa97fc60
tree477d4343b5aaf6e68bec39a1f43a6cd8a08a0a6f
parentb823d5df0f65fd7b1a821bcb00f1270ada5bf879
i965/vec4: Don't fix-up scalar uniforms for 3 src instructions.

Removes unnecessary MOV instructions in L4D2, TF2, Dota2, and many other
Steam games.

total instructions in shared programs: 1668126 -> 1657509 (-0.64%)
instructions in affected programs:     242235 -> 231618 (-4.38%)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp