i965: Enable instruction compaction on Gen8+.
authorMatt Turner <mattst88@gmail.com>
Sun, 17 Aug 2014 07:45:27 +0000 (00:45 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 19 Aug 2014 01:18:50 +0000 (18:18 -0700)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu_compact.c

index 6b1cf122c8e80da97ff1a7e852337aff0575f274..3680c55e2922786e0b995e1fd2b9a74fe28756ff 100644 (file)
@@ -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;