r600/sfn: Fix RING instruction assembly emission

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
This commit is contained in:
Gert Wollny 2020-05-06 23:50:38 +02:00 committed by Marge Bot
parent e475eae0fe
commit b6eb19dd63

View file

@ -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) {