diff options
author | Ilia Mirkin <[email protected]> | 2014-03-11 14:54:25 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2014-03-18 05:56:54 -0400 |
commit | 67cb8a69960b37a2cfad2a7bc62b8db6aa7558bb (patch) | |
tree | ddf45d74dc703482ab9ff0e1041a4f3fefddb727 /src/gallium/drivers | |
parent | 563083ef576141f39af36426418fc2dbf2d98a3f (diff) |
nv50/ir/gk110: fill in mov from predicate
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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; |