From beb809b6124b3201e7c293caf22997bdd8a0b603 Mon Sep 17 00:00:00 2001
From: jnack <55568980+jnackmclain@users.noreply.github.com>
Date: Tue, 24 Sep 2024 10:22:31 -0500
Subject: [PATCH] add V_CMPX_LE_I32 (#1056)

---
 src/shader_recompiler/frontend/translate/vector_alu.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/shader_recompiler/frontend/translate/vector_alu.cpp b/src/shader_recompiler/frontend/translate/vector_alu.cpp
index f497e260699..cf92460d37f 100644
--- a/src/shader_recompiler/frontend/translate/vector_alu.cpp
+++ b/src/shader_recompiler/frontend/translate/vector_alu.cpp
@@ -242,6 +242,8 @@ void Translator::EmitVectorAlu(const GcnInst& inst) {
         return V_CMP_U32(ConditionOp::LG, true, false, inst);
     case Opcode::V_CMP_GE_I32:
         return V_CMP_U32(ConditionOp::GE, true, false, inst);
+    case Opcode::V_CMPX_LE_I32:
+        return V_CMP_U32(ConditionOp::LE, true, true, inst);
 
         //     V_CMPX_{OP8}_I32
     case Opcode::V_CMPX_LT_I32: