From a9562fd0d610bc98ffa38166aba553bbaa951fd2 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Wed, 7 Jul 2021 20:42:27 +0100 Subject: [PATCH] aco: fix validation of DPP v_cndmask_b32/v_addc_co_u32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Rhys Perry Reviewed-by: Timur Kristóf Part-of: --- src/amd/compiler/aco_validate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_validate.cpp b/src/amd/compiler/aco_validate.cpp index af1393ba418..500266f58cf 100644 --- a/src/amd/compiler/aco_validate.cpp +++ b/src/amd/compiler/aco_validate.cpp @@ -273,7 +273,7 @@ validate_ir(Program* program) if (instr->isSDWA()) scalar_mask = program->chip_class >= GFX9 ? 0x7 : 0x4; else if (instr->isDPP()) - scalar_mask = 0x0; + scalar_mask = 0x4; if (instr->isVOPC() || instr->opcode == aco_opcode::v_readfirstlane_b32 || instr->opcode == aco_opcode::v_readlane_b32 ||