From 369b8c031a9fede689d3d87af80251917cfbd1d5 Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Wed, 27 Jul 2022 12:04:58 +0200 Subject: [PATCH] aco/ir: Fix swapped nle. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: mesa-stable Signed-off-by: Georg Lehmann Reviewed-by: Timur Kristóf Part-of: --- src/amd/compiler/aco_ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amd/compiler/aco_ir.cpp b/src/amd/compiler/aco_ir.cpp index 4366dbb7bc1..f7c8ca78069 100644 --- a/src/amd/compiler/aco_ir.cpp +++ b/src/amd/compiler/aco_ir.cpp @@ -639,7 +639,7 @@ get_cmp_info(aco_opcode op, CmpInfo* info) CMP(lt, /*n*/ge, gt, /*n*/le) CMP(eq, /*n*/lg, eq, /*n*/lg) CMP(le, /*n*/gt, ge, /*n*/lt) - CMP(gt, /*n*/le, lt, /*n*/le) + CMP(gt, /*n*/le, lt, /*n*/ge) CMP(lg, /*n*/eq, lg, /*n*/eq) CMP(ge, /*n*/lt, le, /*n*/gt) #undef CMP