i965/eu: Explicitly disable instruction compaction on Broadwell for now.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 28 Jun 2014 22:30:58 +0000 (15:30 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Aug 2014 02:32:33 +0000 (19:32 -0700)
Until now, it's been off implicitly: we never call the compactor
function.  When we merge the generators, we'll start calling it, so we
should make it do nothing.

Matt will enable instruction compaction properly later.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_eu_compact.c

index eec645426839c7bf3c8884e7e57f3c64a4b5b47d..625cfbba6e7b70587a187f201282d6fe59cedd02 100644 (file)
@@ -711,7 +711,7 @@ brw_compact_instructions(struct brw_compile *p, int start_offset,
     */
    int old_ip[(p->next_insn_offset - start_offset) / 8];
 
-   if (brw->gen < 6)
+   if (brw->gen < 6 || brw->gen >= 8)
       return;
 
    int src_offset;