From: Matt Turner Date: Wed, 29 Oct 2014 21:21:14 +0000 (-0700) Subject: i965/fs: Don't compute_to_mrf() on Gen >= 7. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=799106d38734a867bf33add2994cb9d414d965e7;p=mesa.git i965/fs: Don't compute_to_mrf() on Gen >= 7. No differences in shader-db on Haswell (Gen 7.5). Reviewed-by: Kenneth Graunke --- 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) {