Mesa (main): aco: fix v_mac_legacy_f32
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Feb 1 15:29:06 UTC 2022
Module: Mesa
Branch: main
Commit: ba44634e4dde5144330b0d31278a4fa8de5dfb97
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ba44634e4dde5144330b0d31278a4fa8de5dfb97
Author: Rhys Perry <pendingchaos02 at gmail.com>
Date: Tue Feb 1 13:16:45 2022 +0000
aco: fix v_mac_legacy_f32
Signed-off-by: Rhys Perry <pendingchaos02 at gmail.com>
Reviewed-by: Daniel Schürmann <daniel at schuermann.dev>
Fixes: f68797ead72 ("aco: create v_mac_legacy_f32/v_fmac_legacy_f32")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5952
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14820>
---
src/amd/compiler/aco_register_allocation.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/compiler/aco_register_allocation.cpp b/src/amd/compiler/aco_register_allocation.cpp
index ab10b2f3bcc..459e232be99 100644
--- a/src/amd/compiler/aco_register_allocation.cpp
+++ b/src/amd/compiler/aco_register_allocation.cpp
@@ -2632,6 +2632,7 @@ register_allocation(Program* program, std::vector<IDSet>& live_out_per_block, ra
if (instr->opcode == aco_opcode::v_interp_p2_f32 ||
instr->opcode == aco_opcode::v_mac_f32 || instr->opcode == aco_opcode::v_fmac_f32 ||
instr->opcode == aco_opcode::v_mac_f16 || instr->opcode == aco_opcode::v_fmac_f16 ||
+ instr->opcode == aco_opcode::v_mac_legacy_f32 ||
instr->opcode == aco_opcode::v_fmac_legacy_f32 ||
instr->opcode == aco_opcode::v_pk_fmac_f16 ||
instr->opcode == aco_opcode::v_writelane_b32 ||
More information about the mesa-commit
mailing list