From 45eb06566830eb49551c27262cdd936bf42ec922 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 17 Aug 2014 00:45:27 -0700 Subject: [PATCH] i965: Enable instruction compaction on Gen8+. Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_eu_compact.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_compact.c b/src/mesa/drivers/dri/i965/brw_eu_compact.c index 6b1cf122c8e..3680c55e292 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_compact.c +++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c @@ -1099,7 +1099,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 || brw->gen >= 8) + if (brw->gen < 6) return; int src_offset; -- 2.30.2