From: Dave Airlie Date: Tue, 19 May 2020 23:07:21 +0000 (+1000) Subject: r600/sfn: fix nop channel assignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10095387f569bfe8a07dfe2f006209635a0b3647;p=mesa.git r600/sfn: fix nop channel assignment. this fixes a bunch of asserting tests on cayman Reviewed-by: Gert Wollny Part-of: --- 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;