Reviewed-by: Ilia Mirkin <[email protected]>

On Wed, Mar 2, 2016 at 12:11 PM, Samuel Pitoiset
<[email protected]> wrote:
> Spotted by Coverity.
>
> Signed-off-by: Samuel Pitoiset <[email protected]>
> Reported-by: Matt Turner <[email protected]>
> ---
>  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 b6b3ec7..8512d0d 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.7.1
>
> _______________________________________________
> mesa-dev mailing list
> [email protected]
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to