Mesa (master): glsl: fix typo in comment

Timothy Arceri tarceri at kemper.freedesktop.org
Thu Jun 22 10:06:51 UTC 2017


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

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Wed Jun 21 20:12:11 2017 +1000

glsl: fix typo in comment

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/compiler/glsl/opt_algebraic.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/glsl/opt_algebraic.cpp b/src/compiler/glsl/opt_algebraic.cpp
index a5ba843fd1..a5a10293e8 100644
--- a/src/compiler/glsl/opt_algebraic.cpp
+++ b/src/compiler/glsl/opt_algebraic.cpp
@@ -246,7 +246,7 @@ ir_algebraic_visitor::reassociate_operands(ir_expression *ir1,
 /**
  * Reassociates a constant down a tree of adds or multiplies.
  *
- * Consider (2 * (a * (b * 0.5))).  We want to send up with a * b.
+ * Consider (2 * (a * (b * 0.5))).  We want to end up with a * b.
  */
 bool
 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index,




More information about the mesa-commit mailing list