i965/compaction: Reduce size of compacted_counts[] array.
authorMatt Turner <mattst88@gmail.com>
Sun, 24 Aug 2014 00:00:07 +0000 (17:00 -0700)
committerMatt Turner <mattst88@gmail.com>
Thu, 25 Sep 2014 18:02:36 +0000 (11:02 -0700)
commitbb05b530ab501a5485d0b5347ba36e7a6d2e12ee
tree10bf016e780959bf9d680663525f701dcb0932f6
parent90c982a8a85861d4d2bdee479c40977c2611500a
i965/compaction: Reduce size of compacted_counts[] array.

The array was previously indexed in units of brw_compact_inst (8-bytes),
but before compaction all instructions are uncompacted, so every odd
element was unused.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
src/mesa/drivers/dri/i965/brw_eu_compact.c