Mesa (master): i965: Enable the constant propagation code.

Eric Anholt anholt at kemper.freedesktop.org
Wed Oct 6 16:35:32 UTC 2010


Module: Mesa
Branch: master
Commit: dcd0261affc293b75d231e612091ec7b1076fff6
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcd0261affc293b75d231e612091ec7b1076fff6

Author: Eric Anholt <eric at anholt.net>
Date:   Tue Oct  5 10:20:16 2010 -0700

i965: Enable the constant propagation code.

A debug disable had slipped in.

---

 src/mesa/drivers/dri/i965/brw_fs.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index f42c469..0c9f17f 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -2548,8 +2548,6 @@ fs_visitor::propagate_constants()
 {
    bool progress = false;
 
-   return false;
-
    foreach_iter(exec_list_iterator, iter, this->instructions) {
       fs_inst *inst = (fs_inst *)iter.get();
 




More information about the mesa-commit mailing list