浏览代码

nir/opt_peephole_ffma: Fix a couple typos in a comment

Acked-by: Matt Turner <mattst88@gmail.com>
tags/10.6-branchpoint
Jason Ekstrand 10 年前
父节点
当前提交
ca3b4d6d17
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      src/glsl/nir/nir_opt_peephole_ffma.c

+ 2
- 2
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))

正在加载...
取消
保存