Module: Mesa
Branch: master
Commit: 1c9ecb21237a24675d0ab001ef61efa70385399d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c9ecb21237a24675d0ab001ef61efa70385399d

Author: Timur Kristóf <[email protected]>
Date:   Tue Jan 21 15:34:23 2020 +0100

aco: Fix signedness compare warning.

Signed-off-by: Timur Kristóf <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Tested-by: Marge Bot 
<https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3483>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3483>

---

 src/amd/compiler/aco_insert_exec_mask.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to