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 f42c4696410553725c278839fee5bcf0b74af538..0c9f17f8fdc7a21b9792bf264231213fcf891822 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();