[Mesa-dev] [PATCH 3/4] nv50ir/nir: comparison of integer expressions of different signedness warning

Rhys Kidd rhyskidd at gmail.com
Sun Sep 22 10:14:30 UTC 2019


On Sat, 21 Sep 2019 at 04:27, Karol Herbst <kherbst at redhat.com> wrote:

> Signed-off-by: Karol Herbst <kherbst at redhat.com>
>

Reviewed-by: Rhys Kidd <rhyskidd at gmail.com>


> ---
>  src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> index 4e86ab8f8cc..95b60d2c7d0 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp
> @@ -1957,7 +1957,7 @@ Converter::visit(nir_intrinsic_instr *insn)
>           }
>           case Program::TYPE_GEOMETRY:
>           case Program::TYPE_VERTEX: {
> -            if (info->io.genUserClip > 0 && idx == clipVertexOutput) {
> +            if (info->io.genUserClip > 0 && idx ==
> (uint32_t)clipVertexOutput) {
>                 mkMov(clipVtx[i], src);
>                 src = clipVtx[i];
>              }
> --
> 2.21.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190922/86939142/attachment-0001.html>


More information about the mesa-dev mailing list