Module: Mesa Branch: main Commit: 3da4fe9c6d1fc57f9e0d69411269fe1c05c9df71 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3da4fe9c6d1fc57f9e0d69411269fe1c05c9df71
Author: Rhys Perry <[email protected]> Date: Thu Oct 27 20:32:59 2022 +0100 aco: fix typo in branch lowering Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Fixes: aadb7aef019 ("aco: add VINTERP instruction format") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19370> --- src/amd/compiler/aco_lower_to_hw_instr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp index d9a46ddd4a1..028876e31da 100644 --- a/src/amd/compiler/aco_lower_to_hw_instr.cpp +++ b/src/amd/compiler/aco_lower_to_hw_instr.cpp @@ -2427,7 +2427,7 @@ lower_to_hw_instr(Program* program) can_remove = false; } else if (inst->isSALU()) { num_scalar++; - } else if (inst->isVALU() || inst->isVINTRP() || instr->isVINTERP_INREG()) { + } else if (inst->isVALU() || inst->isVINTRP() || inst->isVINTERP_INREG()) { num_vector++; /* VALU which writes SGPRs are always executed on GFX10+ */ if (ctx.program->gfx_level >= GFX10) {
