diff options
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp index 58594f02c7f..be7ac182222 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp @@ -853,6 +853,8 @@ void CodeEmitterNVC0::emitNOT(Instruction *i) { assert(i->encSize == 8); + if (i->getPredicate()) + i->moveSources(1, 1); i->setSrc(1, i->src(0)); emitForm_A(i, HEX64(68000000, 000001c3)); } |