From b6eb19dd633c415761a5f2310be4be354a0ba0bd Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Wed, 6 May 2020 23:50:38 +0200 Subject: [PATCH] r600/sfn: Fix RING instruction assembly emission Signed-off-by: Gert Wollny Reviewed-by: Reviewed-by: Dave Airlie Part-of: --- src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) { -- 2.30.2