From b94a46aa8e34de790724bbc0f823fd56555d0cdc Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 2 Mar 2016 18:11:07 +0100 Subject: [PATCH] gk110/ir: fix wrong emission of NOT modifier for VOTE Spotted by Coverity. Signed-off-by: Samuel Pitoiset Reported-by: Matt Turner Reviewed-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b6b3ec7b948..8512d0d415f 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp @@ -1386,7 +1386,7 @@ CodeEmitterGK110::emitVOTE(const Instruction *i) defId(i->def(0), 2); defId(i->def(1), 48); if (i->src(0).mod == Modifier(NV50_IR_MOD_NOT)) - code[0] |= 1 << 45; + code[1] |= 1 << 13; srcId(i->src(0), 42); } -- 2.30.2