nir/opt_peephole_ffma: Fix a couple typos in a comment
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Apr 2015 17:42:12 +0000 (10:42 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 2 Apr 2015 18:09:37 +0000 (11:09 -0700)
Acked-by: Matt Turner <mattst88@gmail.com>
src/glsl/nir/nir_opt_peephole_ffma.c

index bf4dbe16b9e3e80d9dad998ebe160e69b0079e06..9d5646fe65e7a775e7b582d078db3133854d11b3 100644 (file)
@@ -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))