mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-15 23:50:36 +02:00
glsl: fix typo in comment
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>
This commit is contained in:
parent
a285caaf25
commit
95927bb27f
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue