From: Matt Turner Date: Mon, 11 Feb 2013 19:24:48 +0000 (-0800) Subject: i965/fs: Remove duplicate scan_inst->mlen check X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697;p=mesa.git i965/fs: Remove duplicate scan_inst->mlen check Is already checked 20 lines below. Reviewed-by: Eric Anholt --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index e53de663cbe..c6143c908d6 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