Module: Mesa Branch: master Commit: 799106d38734a867bf33add2994cb9d414d965e7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=799106d38734a867bf33add2994cb9d414d965e7
Author: Matt Turner <[email protected]> Date: Wed Oct 29 14:21:14 2014 -0700 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]> --- 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 aa1d8d2..b7e6333 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) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
