i965: Enable the constant propagation code.
authorEric Anholt <eric@anholt.net>
Tue, 5 Oct 2010 17:20:16 +0000 (10:20 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 6 Oct 2010 16:33:26 +0000 (09:33 -0700)
A debug disable had slipped in.

src/mesa/drivers/dri/i965/brw_fs.cpp

index f42c469..0c9f17f 100644 (file)
@@ -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();