i965/fs: Remove duplicate scan_inst->mlen check
authorMatt Turner <mattst88@gmail.com>
Mon, 11 Feb 2013 19:24:48 +0000 (11:24 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 28 Feb 2013 21:18:59 +0000 (13:18 -0800)
Is already checked 20 lines below.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_fs.cpp

index e53de663cbeab1a579b344954d53129e336cba11..c6143c908d652fadbe4ca3f8d38c1337367e7180 100644 (file)
@@ -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