Mesa (master): i965/eu: Explicitly disable instruction compaction on Broadwell for now.
Kenneth Graunke
kwg at kemper.freedesktop.org
Mon Aug 11 02:31:15 UTC 2014
Module: Mesa
Branch: master
Commit: 49519a1b63f41ddd5adc5ef4d98d384ecd26f283
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=49519a1b63f41ddd5adc5ef4d98d384ecd26f283
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Sat Jun 28 15:30:58 2014 -0700
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 <kenneth at whitecape.org>
Reviewed-by: Chris Forbes <chrisf at ijw.co.nz>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
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 eec6454..625cfbb 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;
More information about the mesa-commit
mailing list