From 138be7ed9f3293189d4ff868a80be052b389908c Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 11 Feb 2017 18:20:50 -0500 Subject: gm107/ir: fix address offset bitfield for ATOMS Fixes GL45-CTS.compute_shader.atomic-case1 on Maxwell Signed-off-by: Ilia Mirkin Cc: mesa-stable@lists.freedesktop.org (cherry picked from commit 7e75f0913ab545be14feb233d1ed74dc48116fb8) --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp index f3ebd2b0be8..5d7161103f1 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp @@ -2494,7 +2494,7 @@ CodeEmitterGM107::emitATOMS() emitField(0x34, 4, subOp); emitGPR (0x14, insn->src(1)); - emitADDR (0x08, 0x12, 22, 0, insn->src(0)); + emitADDR (0x08, 0x1e, 22, 2, insn->src(0)); emitGPR (0x00, insn->def(0)); } -- cgit v1.2.3