broadcom/compiler: copy packing when converting add to mul
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13675>
This commit is contained in:
committed by
Marge Bot
parent
b59614619b
commit
aa5a0e1dad
@@ -891,6 +891,13 @@ qpu_convert_add_to_mul(struct v3d_qpu_instr *inst)
|
||||
inst->flags.ac = V3D_QPU_COND_NONE;
|
||||
inst->flags.apf = V3D_QPU_PF_NONE;
|
||||
inst->flags.auf = V3D_QPU_UF_NONE;
|
||||
|
||||
inst->alu.mul.output_pack = inst->alu.add.output_pack;
|
||||
inst->alu.mul.a_unpack = inst->alu.add.a_unpack;
|
||||
inst->alu.mul.b_unpack = inst->alu.add.b_unpack;
|
||||
inst->alu.add.output_pack = V3D_QPU_PACK_NONE;
|
||||
inst->alu.add.a_unpack = V3D_QPU_UNPACK_NONE;
|
||||
inst->alu.add.b_unpack = V3D_QPU_UNPACK_NONE;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
||||
Reference in New Issue
Block a user