From 10095387f569bfe8a07dfe2f006209635a0b3647 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Wed, 20 May 2020 09:07:21 +1000 Subject: [PATCH] r600/sfn: fix nop channel assignment. this fixes a bunch of asserting tests on cayman Reviewed-by: Gert Wollny Part-of: --- src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp b/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp index 77e84e33b21..e378d0480af 100644 --- a/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp @@ -261,6 +261,7 @@ bool AssemblyFromShaderLegacyImpl::emit_alu(const AluInstruction& ai, ECFAluOpCo sfn_log << SfnLog::assembly << " Have " << m_nliterals_in_group << " inject a last op (nop)\n"; alu.op = ALU_OP0_NOP; alu.last = 1; + alu.dst.chan = 3; int retval = r600_bytecode_add_alu(m_bc, &alu); if (retval) return false; -- 2.30.2