i965/fs: Don't compute_to_mrf() on Gen >= 7.

No differences in shader-db on Haswell (Gen 7.5).

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Matt Turner 2014-10-29 14:21:14 -07:00
parent 5fbcb1b41d
commit 799106d387
1 changed files with 4 additions and 0 deletions

View File

@ -2427,6 +2427,10 @@ fs_visitor::compute_to_mrf()
bool progress = false;
int next_ip = 0;
/* No MRFs on Gen >= 7. */
if (brw->gen >= 7)
return false;
calculate_live_intervals();
foreach_block_and_inst_safe(block, fs_inst, inst, cfg) {