From a90801e2aa2d77ab369a087529d6199257692f13 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 18 Oct 2020 18:41:22 +0300 Subject: [PATCH] vk: Add VK_FORMAT_D32_SFLOAT to format conversion table - This format is required to emulate RSX_FORMAT_CLASS_D16_FLOAT --- rpcs3/Emu/RSX/VK/VKFormats.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/VK/VKFormats.cpp b/rpcs3/Emu/RSX/VK/VKFormats.cpp index 9c9b73bc7a..f5ea023718 100644 --- a/rpcs3/Emu/RSX/VK/VKFormats.cpp +++ b/rpcs3/Emu/RSX/VK/VKFormats.cpp @@ -451,6 +451,7 @@ namespace vk return{ false, 1 }; //Depth case VK_FORMAT_D16_UNORM: + case VK_FORMAT_D32_SFLOAT: return{ true, 2 }; case VK_FORMAT_D32_SFLOAT_S8_UINT: case VK_FORMAT_D24_UNORM_S8_UINT: