Mesa (master): i965: Remove incorrect comment above opt_algebraic.

Kenneth Graunke kwg at kemper.freedesktop.org
Tue Sep 11 06:00:37 UTC 2012


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

Author: Kenneth Graunke <kenneth at whitecape.org>
Date:   Mon Sep 10 22:56:03 2012 -0700

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().

---

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

diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index cbeefe5..cd68191 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()
 {




More information about the mesa-commit mailing list