From 799106d38734a867bf33add2994cb9d414d965e7 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 29 Oct 2014 14:21:14 -0700 Subject: [PATCH] i965/fs: Don't compute_to_mrf() on Gen >= 7. No differences in shader-db on Haswell (Gen 7.5). Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index aa1d8d2a004..b7e6333c341 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -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) { -- 2.30.2