broadcom/qpu: define v3d_qpu_input, use on v3d_qpu_alu_instr
authorAlejandro Piñeiro <apinheiro@igalia.com>
Thu, 5 Aug 2021 23:22:31 +0000 (01:22 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 22:37:41 +0000 (22:37 +0000)
commit347065525f2d3db68e90c850e5c619ff4bd81e23
tree72875ba3798fbec2a21d8e9a6dfa157d529387e2
parent224793491460e04d031aba3c8e79d7defec4c6d9
broadcom/qpu: define v3d_qpu_input, use on v3d_qpu_alu_instr

At this point it just tidy up a little the alu_instr structure.

But also serves to prepare the structure for new changes, as 7.x uses
raddr instead of mux, and it is just easier to add the raddr to the
new input structure.

Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com>
Signed-off-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25450>
src/broadcom/compiler/qpu_schedule.c
src/broadcom/compiler/vir.c
src/broadcom/compiler/vir_dump.c
src/broadcom/compiler/vir_opt_copy_propagate.c
src/broadcom/compiler/vir_opt_redundant_flags.c
src/broadcom/compiler/vir_to_qpu.c
src/broadcom/qpu/qpu_disasm.c
src/broadcom/qpu/qpu_instr.c
src/broadcom/qpu/qpu_instr.h
src/broadcom/qpu/qpu_pack.c
src/broadcom/qpu/tests/qpu_disasm.c