From: Eric Anholt Date: Tue, 5 Oct 2010 17:20:16 +0000 (-0700) Subject: i965: Enable the constant propagation code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcd0261affc293b75d231e612091ec7b1076fff6;p=mesa.git i965: Enable the constant propagation code. A debug disable had slipped in. --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index f42c4696410..0c9f17f8fdc 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();