From: Alyssa Rosenzweig Date: Fri, 27 Mar 2020 19:55:03 +0000 (-0400) Subject: pan/bi: Pack outmod and roundmode with FMA X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73715124ea53df1a3ef8cae6097556b98611dbb4;p=mesa.git pan/bi: Pack outmod and roundmode with FMA The fields got missed. Signed-off-by: Alyssa Rosenzweig Part-of: --- diff --git a/src/panfrost/bifrost/bi_pack.c b/src/panfrost/bifrost/bi_pack.c index 92014d2187e..270ddecfce1 100644 --- a/src/panfrost/bifrost/bi_pack.c +++ b/src/panfrost/bifrost/bi_pack.c @@ -458,6 +458,8 @@ bi_pack_fma_fma(bi_instruction *ins, struct bi_registers *regs) .src2_abs = ins->src_abs[2], .src0_neg = negate_mul, .src2_neg = ins->src_neg[2], + .outmod = ins->outmod, + .roundmode = ins->roundmode, .op = BIFROST_FMA_OP_FMA }; @@ -472,6 +474,8 @@ bi_pack_fma_fma(bi_instruction *ins, struct bi_registers *regs) .swizzle_2 = bi_swiz16(ins, 2), .src0_neg = negate_mul, .src2_neg = ins->src_neg[2], + .outmod = ins->outmod, + .roundmode = ins->roundmode, .op = BIFROST_FMA_OP_FMA16 };