summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-10-29 14:21:14 -0700
committerMatt Turner <[email protected]>2014-11-03 11:27:52 -0800
commit799106d38734a867bf33add2994cb9d414d965e7 (patch)
tree3cabf68ff26904636597572eb56cb86f95ed70cf
parent5fbcb1b41d370b0ba23d2151b690a225b75fb3a0 (diff)
i965/fs: Don't compute_to_mrf() on Gen >= 7.
No differences in shader-db on Haswell (Gen 7.5). Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp4
1 files changed, 4 insertions, 0 deletions
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) {