From 1b6cc447b4d246a8b6e8ad77c0e6792869ca230e Mon Sep 17 00:00:00 2001 From: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:46:29 +0300 Subject: [PATCH] hotfix: Restore unreachable --- src/shader_recompiler/frontend/format.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/shader_recompiler/frontend/format.cpp b/src/shader_recompiler/frontend/format.cpp index e3430a76..90f10498 100644 --- a/src/shader_recompiler/frontend/format.cpp +++ b/src/shader_recompiler/frontend/format.cpp @@ -3719,9 +3719,8 @@ InstFormat InstructionFormat(InstEncoding encoding, uint32_t opcode) { case InstEncoding::VOP2: return InstructionFormatVOP2[opcode]; default: - return {}; + UNREACHABLE(); } - UNREACHABLE(); return {}; }