summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_eu_compact.c
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-06-28 15:30:58 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-08-10 19:32:33 -0700
commit49519a1b63f41ddd5adc5ef4d98d384ecd26f283 (patch)
tree0e50cad57301eb466d52613c865033ee92e5bc61 /src/mesa/drivers/dri/i965/brw_eu_compact.c
parent8609df97a087d025ad40efad8d71e2a56450ef8f (diff)
downloadexternal_mesa3d-49519a1b63f41ddd5adc5ef4d98d384ecd26f283.zip
external_mesa3d-49519a1b63f41ddd5adc5ef4d98d384ecd26f283.tar.gz
external_mesa3d-49519a1b63f41ddd5adc5ef4d98d384ecd26f283.tar.bz2
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@whitecape.org> Reviewed-by: Chris Forbes <chrisf@ijw.co.nz> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu_compact.c')
-rw-r--r--src/mesa/drivers/dri/i965/brw_eu_compact.c2
1 files changed, 1 insertions, 1 deletions
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;