[Mesa-dev] [PATCH] nir/opt_peephole_ffma: Fix a couple typos in a comment

Jason Ekstrand jason at jlekstrand.net
Thu Apr 2 10:42:25 PDT 2015


---
 src/glsl/nir/nir_opt_peephole_ffma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/glsl/nir/nir_opt_peephole_ffma.c b/src/glsl/nir/nir_opt_peephole_ffma.c
index bf4dbe1..9d5646f 100644
--- a/src/glsl/nir/nir_opt_peephole_ffma.c
+++ b/src/glsl/nir/nir_opt_peephole_ffma.c
@@ -101,8 +101,8 @@ get_mul_for_src(nir_alu_src *src, uint8_t swizzle[4], bool *negate, bool *abs)
       break;
 
    case nir_op_fmul:
-      /* Only absorbe a fmul into a ffma if the fmul is is only used in fadd
-       * operations.  This prevents us from being too agressive with our
+      /* Only absorb a fmul into a ffma if the fmul is is only used in fadd
+       * operations.  This prevents us from being too aggressive with our
        * fusing which can actually lead to more instructions.
        */
       if (!are_all_uses_fadd(&alu->dest.dest.ssa))
-- 
2.3.4



More information about the mesa-dev mailing list