From: Gert Wollny Date: Wed, 6 May 2020 21:50:38 +0000 (+0200) Subject: r600/sfn: Fix RING instruction assembly emission X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6eb19dd633c415761a5f2310be4be354a0ba0bd;p=mesa.git r600/sfn: Fix RING instruction assembly emission Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie 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 358d1c8f830..8197e01dda4 100644 --- a/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp +++ b/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp @@ -619,8 +619,8 @@ bool AssemblyFromShaderLegacyImpl::emit_memringwrite(const MemRingOutIntruction& output.gpr = instr.gpr().sel(); output.type = instr.type(); - output.elem_size = instr.ncomp(); - output.comp_mask = 0xF; + output.elem_size = 3; + output.comp_mask = 0xf; output.burst_count = 1; output.op = instr.op(); if (instr.type() == mem_write_ind || instr.type() == mem_write_ind_ack) {