diff options
author | Karol Herbst <kherbst@redhat.com> | 2019-09-20 19:47:14 +0200 |
---|---|---|
committer | Karol Herbst <kherbst@redhat.com> | 2019-09-23 13:27:32 +0200 |
commit | 70e39294d7084a3803c00950de483497cc39fe6b (patch) | |
tree | 2551cba6d07bb14b69542230a1cd485c367a9d81 | |
parent | 61ccca12f5e102e3a2f76668a4e9afdf227e82ac (diff) |
nv50/ir/nir: comparison of integer expressions of different signedness warning
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Rhys Kidd <rhyskidd@gmail.com>
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_from_nir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } |