From: Ilia Mirkin Date: Tue, 11 Mar 2014 18:54:25 +0000 (-0400) Subject: nv50/ir/gk110: fill in mov from predicate X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67cb8a69960b37a2cfad2a7bc62b8db6aa7558bb;p=mesa.git nv50/ir/gk110: fill in mov from predicate Signed-off-by: Ilia Mirkin --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp index 3aedda42801..cd39d0ef1ea 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1472,7 +1472,11 @@ CodeEmitterGK110::emitMOV(const Instruction *i) setImmediate32(i, 0, Modifier(0)); } else if (i->src(0).getFile() == FILE_PREDICATE) { - // TODO + code[0] = 0x00000002; + code[1] = 0x84401c07; + emitPredicate(i); + defId(i->def(0), 2); + srcId(i->src(0), 14); } else { emitForm_C(i, 0x24c, 2); code[1] |= i->lanes << 10;