From 76644a0169ffbba4e6c5d27c4506f858d715f5dc Mon Sep 17 00:00:00 2001 From: Mahmoud Adel <94652220+AboMedoz@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:24:45 +0300 Subject: [PATCH] add Opcodes to switch case (#1233) * add Opcodes to switch case Added Opcodes to switch case, they were done here but weren't added to switch https://github.com/shadps4-emu/shadPS4/commit/9f79764b01b0041e442d11fcf5d7b511321df36d#diff-9a6c2e2027c03231e88aaaab30908baecae202661839f35c31a777fec2500c7aR659 * clang --- src/shader_recompiler/frontend/translate/vector_alu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/shader_recompiler/frontend/translate/vector_alu.cpp b/src/shader_recompiler/frontend/translate/vector_alu.cpp index 0da913a7e..b061d3b78 100644 --- a/src/shader_recompiler/frontend/translate/vector_alu.cpp +++ b/src/shader_recompiler/frontend/translate/vector_alu.cpp @@ -117,6 +117,12 @@ void Translator::EmitVectorAlu(const GcnInst& inst) { return V_CVT_F32_F16(inst); case Opcode::V_CVT_FLR_I32_F32: return V_CVT_FLR_I32_F32(inst); + case Opcode::V_CVT_F32_F64: + return V_CVT_F32_F64(inst); + case Opcode::V_CVT_F64_F32: + return V_CVT_F64_F32(inst); + case Opcode::V_CVT_RPI_I32_F32: + return V_CVT_RPI_I32_F32(inst); case Opcode::V_CVT_OFF_F32_I4: return V_CVT_OFF_F32_I4(inst); case Opcode::V_CVT_F32_UBYTE0: