[Mesa-dev] [PATCH 7/7] i965: Enable instruction compaction on Gen8+.
Matt Turner
mattst88 at gmail.com
Mon Aug 18 11:19:53 PDT 2014
---
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 727fef5..280d7f7 100644
--- a/src/mesa/drivers/dri/i965/brw_eu_compact.c
+++ b/src/mesa/drivers/dri/i965/brw_eu_compact.c
@@ -1101,7 +1101,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 || brw->gen > 8)
return;
int src_offset;
--
1.8.5.5
More information about the mesa-dev
mailing list