aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/sfn/sfn_ir_to_assembly.cpp
diff options
context:
space:
mode:
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) {