summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
diff options
context:
space:
mode:
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-06-28 00:13:05 +0200
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>2016-06-28 00:30:01 +0200
commit7b9b0967756c7d552f5ad80eba46379b2115e604 (patch)
treed60948970dbeecac2da62c602c7f4eb461ecb934 /src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
parent83a4f28dc27bd3f679d001fb0065940ad1f0f422 (diff)
gm107/ir: add missing setcond flags for LOP variants
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu> Cc: <mesa-stable@lists.freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp')
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp2
1 files changed, 2 insertions, 0 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 a92dba0aa16..40afbce9c6f 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp
@@ -1625,6 +1625,7 @@ CodeEmitterGM107::emitLOP()
break;
}
emitPRED (0x30);
+ emitCC (0x2f);
emitX (0x2b);
emitField(0x29, 2, lop);
emitINV (0x28, insn->src(1));
@@ -1635,6 +1636,7 @@ CodeEmitterGM107::emitLOP()
emitINV (0x38, insn->src(1));
emitINV (0x37, insn->src(0));
emitField(0x35, 2, lop);
+ emitCC (0x34);
emitIMMD (0x14, 32, insn->src(1));
}