[Mesa-dev] [PATCH 1/4] i965/fs: Remove duplicate scan_inst->mlen check.

Matt Turner mattst88 at gmail.com
Tue Feb 19 19:43:30 PST 2013


Is already checked 20 lines below.
---
 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 bdb6616..56358f7 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2070,11 +2070,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
-- 
1.7.8.6



More information about the mesa-dev mailing list