From: Timur Kristóf Date: Tue, 21 Jan 2020 14:34:23 +0000 (+0100) Subject: aco: Fix signedness compare warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c9ecb21237a24675d0ab001ef61efa70385399d;p=mesa.git aco: Fix signedness compare warning. Signed-off-by: Timur Kristóf Reviewed-by: Daniel Schürmann Tested-by: Marge Bot Part-of: --- diff --git a/src/amd/compiler/aco_insert_exec_mask.cpp b/src/amd/compiler/aco_insert_exec_mask.cpp index bbbab1a35fd..2cfd029bdc4 100644 --- a/src/amd/compiler/aco_insert_exec_mask.cpp +++ b/src/amd/compiler/aco_insert_exec_mask.cpp @@ -732,7 +732,7 @@ void process_instructions(exec_ctx& ctx, Block* block, int num; Temp cond, exit_cond; if (instr->operands[0].isConstant()) { - assert(instr->operands[0].constantValue() == -1); + assert(instr->operands[0].constantValue() == -1u); /* transition to exact and set exec to zero */ Temp old_exec = ctx.info[block->index].exec.back().first; Temp new_exec = bld.tmp(bld.lm);