aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIlia Mirkin <[email protected]>2017-02-11 18:20:50 -0500
committerEmil Velikov <[email protected]>2017-02-23 19:34:57 +0000
commit138be7ed9f3293189d4ff868a80be052b389908c (patch)
tree48266930abb9075494fdc1c47e63059b083274a1 /src
parent1f7652359694041f6475d37d9112517354117199 (diff)
gm107/ir: fix address offset bitfield for ATOMS
Fixes GL45-CTS.compute_shader.atomic-case1 on Maxwell Signed-off-by: Ilia Mirkin <[email protected]> Cc: [email protected] (cherry picked from commit 7e75f0913ab545be14feb233d1ed74dc48116fb8)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp2
1 files changed, 1 insertions, 1 deletions
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));
}