glsl: fix typo in comment
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Jun 2017 10:12:11 +0000 (20:12 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Thu, 22 Jun 2017 10:06:32 +0000 (20:06 +1000)
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/compiler/glsl/opt_algebraic.cpp

index a5ba843fd151615508a77c49dea4d3acdc0330db..a5a10293e8a99119f48fbfd14a374fe97ec046f2 100644 (file)
@@ -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,