From: Rhys Perry Date: Thu, 27 Oct 2022 19:32:59 +0000 (+0100) Subject: aco: fix typo in branch lowering X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3da4fe9c6d1fc57f9e0d69411269fe1c05c9df71;p=platform%2Fupstream%2Fmesa.git aco: fix typo in branch lowering Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Fixes: aadb7aef019 ("aco: add VINTERP instruction format") Part-of: --- diff --git a/src/amd/compiler/aco_lower_to_hw_instr.cpp b/src/amd/compiler/aco_lower_to_hw_instr.cpp index d9a46dd..028876e 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) {