Module: Mesa Branch: master Commit: 6179a87c1e3b2441691d31ab21973ff43b65dba7 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6179a87c1e3b2441691d31ab21973ff43b65dba7
Author: Karol Herbst <[email protected]> Date: Tue Mar 27 03:25:28 2018 +0200 nvc0/ir: fix emiting NOTs with predicates Signed-off-by: Karol Herbst <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]> --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 58594f02c7..be7ac18222 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)); } _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
