From: Alyssa Rosenzweig Date: Wed, 1 Apr 2020 20:51:17 +0000 (-0400) Subject: pan/bi: Fix duplicated source in ADD.v2f16 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f48caf98ba536b9ed753f445ebf5488dc465f46;p=mesa.git pan/bi: Fix duplicated source in ADD.v2f16 Typo. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 9ec31044f71..8e83358e546 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -551,7 +551,7 @@ bi_pack_fma_addmin_f16(bi_instruction *ins, struct bi_registers *regs) unsigned abs_0 = ins->src_abs[0], abs_1 = ins->src_abs[1]; unsigned src_0 = bi_get_src(ins, regs, 0, true); - unsigned src_1 = bi_get_src(ins, regs, 0, true); + unsigned src_1 = bi_get_src(ins, regs, 1, true); bool l = false; if (!abs_0 && !abs_1) {