aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp
diff options
context:
space:
mode:
authorGert Wollny <[email protected]>2020-05-06 23:50:38 +0200
committerMarge Bot <[email protected]>2020-05-19 07:52:13 +0000
commitb6eb19dd633c415761a5f2310be4be354a0ba0bd (patch)
tree88a11ee18469ce444058294be7a1829fb8da9f98 /src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp
parente475eae0fe8a2e81c00c1d6871740d2f0d13400f (diff)
r600/sfn: Fix RING instruction assembly emission
Signed-off-by: Gert Wollny <[email protected]> Reviewed-by: Reviewed-by: Dave Airlie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5085>
Diffstat (limited to 'src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp')
-rw-r--r--src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp4
1 files 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) {