Mesa (master): r600/sfn: fix nop channel assignment.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed May 20 20:17:09 UTC 2020
Module: Mesa
Branch: master
Commit: 10095387f569bfe8a07dfe2f006209635a0b3647
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=10095387f569bfe8a07dfe2f006209635a0b3647
Author: Dave Airlie <airlied at redhat.com>
Date: Wed May 20 09:07:21 2020 +1000
r600/sfn: fix nop channel assignment.
this fixes a bunch of asserting tests on cayman
Reviewed-by: Gert Wollny <gert.wollny at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5113>
---
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;
More information about the mesa-commit
mailing list