Mesa (master): i965/fs: Remove duplicate scan_inst->mlen check
Matt Turner
mattst88 at kemper.freedesktop.org
Thu Feb 28 23:21:27 UTC 2013
Module: Mesa
Branch: master
Commit: b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b9f6795e34ad0b85b1f4f288dc6d1e5fcee30697
Author: Matt Turner <mattst88 at 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 <eric at 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
More information about the mesa-commit
mailing list