Module: Mesa Branch: master Commit: b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697
Author: Matt Turner <matts...@gmail.com> Date: Mon Feb 11 11:24:48 2013 -0800 i965/fs: Remove duplicate scan_inst->mlen check Is already checked 20 lines below. Reviewed-by: Eric Anholt <e...@anholt.net> --- src/mesa/drivers/dri/i965/brw_fs.cpp | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index e53de66..c6143c9 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2061,11 +2061,6 @@ fs_visitor::compute_to_mrf() * into a compute-to-MRF. */ - /* SENDs can only write to GRFs, so no compute-to-MRF. */ - if (scan_inst->mlen) { - break; - } - /* If it's predicated, it (probably) didn't populate all * the channels. We might be able to rewrite everything * that writes that reg, but it would require smarter _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit