From b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 11 Feb 2013 11:24:48 -0800 Subject: i965/fs: Remove duplicate scan_inst->mlen check Is already checked 20 lines below. Reviewed-by: Eric Anholt --- src/mesa/drivers/dri/i965/brw_fs.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 -- cgit v1.2.3