diff options
author | Samuel Pitoiset <[email protected]> | 2016-03-02 18:11:07 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2016-03-02 20:36:18 +0100 |
commit | b94a46aa8e34de790724bbc0f823fd56555d0cdc (patch) | |
tree | 325516bfcd6a71164e299aa27a2ce15aa6ce3420 /src | |
parent | 535002f4da61248096712a23cc4951d47fcd6c8d (diff) |
gk110/ir: fix wrong emission of NOT modifier for VOTE
Spotted by Coverity.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reported-by: Matt Turner <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 |
1 files changed, 1 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 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); } |