From 823b897d25989cedcc7f78d52b656a9e790ac530 Mon Sep 17 00:00:00 2001
From: polyproxy <47796739+polybiusproxy@users.noreply.github.com>
Date: Sun, 26 Jan 2025 19:04:55 +0100
Subject: [PATCH] shader_recompiler: add `v_trunc_f64` on inst format table

---
 src/shader_recompiler/frontend/format.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/shader_recompiler/frontend/format.cpp b/src/shader_recompiler/frontend/format.cpp
index 2fcac7c1..5dba7a8b 100644
--- a/src/shader_recompiler/frontend/format.cpp
+++ b/src/shader_recompiler/frontend/format.cpp
@@ -1836,7 +1836,8 @@ constexpr std::array<InstFormat, 71> InstructionFormatVOP1 = {{
     {InstClass::VectorConv, InstCategory::VectorALU, 1, 1, ScalarType::Float64, ScalarType::Uint32},
     // 22 = V_CVT_F64_U32
     {InstClass::VectorConv, InstCategory::VectorALU, 1, 1, ScalarType::Uint32, ScalarType::Float64},
-    {},
+    // 23 = V_TRUNC_F64
+    {InstClass::VectorConv, InstCategory::VectorALU, 1, 1, ScalarType::Float64, ScalarType::Float64},
     {},
     {},
     {},