i965/vec4: Allow reswizzling writemasks when swizzle is single-valued.
authorMatt Turner <mattst88@gmail.com>
Fri, 15 Aug 2014 19:32:23 +0000 (12:32 -0700)
committerMatt Turner <mattst88@gmail.com>
Wed, 20 Aug 2014 20:01:18 +0000 (13:01 -0700)
commit04895f5c601b240df547739da786b7c2b65bdd1e
tree969e300e96f004d85e645cab4062b4c2b675fe7f
parentbde2a62af72847f6722180d0203f5b537d1df8ab
i965/vec4: Allow reswizzling writemasks when swizzle is single-valued.

total instructions in shared programs: 4288033 -> 4266151 (-0.51%)
instructions in affected programs:     930915 -> 909033 (-2.35%)
src/mesa/drivers/dri/i965/brw_vec4.cpp