From: Kenneth Graunke Date: Tue, 11 Sep 2012 05:56:03 +0000 (-0700) Subject: i965: Remove incorrect comment above opt_algebraic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=23cd6c43da6fb1ff89b994664df2658a7929402e;p=mesa.git i965: Remove incorrect comment above opt_algebraic. The comment was cut-and-pasted from propagate_constants(), and had no relation at all to opt_algebraic(). --- diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index cbeefe5bd55..cd6819176bc 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -1411,14 +1411,6 @@ fs_visitor::propagate_constants() } -/** - * Attempts to move immediate constants into the immediate - * constant slot of following instructions. - * - * Immediate constants are a bit tricky -- they have to be in the last - * operand slot, you can't do abs/negate on them, - */ - bool fs_visitor::opt_algebraic() {