diff --git a/src/panfrost/bifrost/bifrost_compile.c b/src/panfrost/bifrost/bifrost_compile.c index 3d6b0ab3cad..2d137605bf4 100644 --- a/src/panfrost/bifrost/bifrost_compile.c +++ b/src/panfrost/bifrost/bifrost_compile.c @@ -566,6 +566,7 @@ emit_alu(bi_context *ctx, nir_alu_instr *instr) switch (instr->op) { case nir_op_fmul: alu.src[2] = BIR_INDEX_ZERO; /* FMA */ + alu.src_types[2] = alu.src_types[1]; break; case nir_op_fsat: alu.outmod = BIFROST_SAT; /* FMOV */