From ca3b4d6d17a0f95b287e87888c9d893be94f0301 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 2 Apr 2015 10:42:12 -0700 Subject: nir/opt_peephole_ffma: Fix a couple typos in a comment Acked-by: Matt Turner --- 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 bf4dbe16b9e..9d5646fe65e 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)) -- cgit v1.2.3