aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-04-01 16:51:17 -0400
committerMarge Bot <[email protected]>2020-04-05 23:26:04 +0000
commit5f48caf98ba536b9ed753f445ebf5488dc465f46 (patch)
treeb2356da64d54f966e256fdd4357c18c87eaf295d /src
parent08fe1081b72b16499329a56a0c5bc8de28168335 (diff)
pan/bi: Fix duplicated source in ADD.v2f16
Typo. Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4458>
Diffstat (limited to 'src')
-rw-r--r--src/panfrost/bifrost/bi_pack.c2
1 files changed, 1 insertions, 1 deletions
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) {