From: Kenneth Graunke Date: Sat, 28 Jun 2014 22:30:58 +0000 (-0700) Subject: i965/eu: Explicitly disable instruction compaction on Broadwell for now. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=49519a1b63f41ddd5adc5ef4d98d384ecd26f283;p=mesa.git i965/eu: Explicitly disable instruction compaction on Broadwell for now. 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 Reviewed-by: Chris Forbes Reviewed-by: Matt Turner --- diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c index eec64542683..625cfbba6e7 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c @@ -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;