mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 08:20:12 +01:00
pan/bi: Fix missing type for fmul
We add a zero argument, we want it to align with the size of whatever the other arguments were for optimization. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4382>
This commit is contained in:
parent
5eb209a05f
commit
b5148b6b49
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue