Module: Mesa Branch: main Commit: b6303d33ec759054ff7561d2597b172d4ea5bc50 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b6303d33ec759054ff7561d2597b172d4ea5bc50
Author: Gert Wollny <[email protected]> Date: Fri Feb 24 10:25:06 2023 +0100 r600/sfn: Fix readport cylce map This is currently of no consequence, because the bank swizzle codes are only used to check legal ALU group configuration and the bank swizzles are not yet allocated to the instruictions here. Signed-off-by: Gert Wollny <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21516> --- src/gallium/drivers/r600/sfn/sfn_alu_readport_validation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/r600/sfn/sfn_alu_readport_validation.cpp b/src/gallium/drivers/r600/sfn/sfn_alu_readport_validation.cpp index d468122809a..d79cd7a190b 100644 --- a/src/gallium/drivers/r600/sfn/sfn_alu_readport_validation.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_alu_readport_validation.cpp @@ -219,8 +219,8 @@ AluReadportReservation::cycle_vec(AluBankSwizzle swz, int src) static const int mapping[AluBankSwizzle::alu_vec_unknown][max_gpr_readports] = { {0, 1, 2}, {0, 2, 1}, - {1, 0, 2}, {1, 2, 0}, + {1, 0, 2}, {2, 0, 1}, {2, 1, 0} };
