aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-04-02 10:42:12 -0700
committerJason Ekstrand <[email protected]>2015-04-02 11:09:37 -0700
commitca3b4d6d17a0f95b287e87888c9d893be94f0301 (patch)
tree4a2c7756f44d599fbdb193d6137242c0b5b94c3f /src
parent4609ba6ea3487dd3440596c460062f03526d335c (diff)
nir/opt_peephole_ffma: Fix a couple typos in a comment
Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/glsl/nir/nir_opt_peephole_ffma.c4
1 files 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))