i965/compaction: Rework 3-src compaction logic.
authorMatt Turner <mattst88@gmail.com>
Thu, 28 Aug 2014 02:44:02 +0000 (19:44 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 18:02:36 +0000 (11:02 -0700)
commit45c3ece266857c2f0d5cef50e95507ffb30694ba
treee80e5667126599bd28e50ab5fb345c791146520b
parent1fce6fcac18f2daacaacebff5f5249c2a4f8cc79
i965/compaction: Rework 3-src compaction logic.

It may be possible to create a contrived example in which a 3-src
instruction would have been compacted on Gen < 8. I'd rather not
discover it in the wild.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_eu_compact.c