From 4bae39f0c88a8d5298d5335181ffcc60225127ee Mon Sep 17 00:00:00 2001 From: Xphalnos <164882787+Xphalnos@users.noreply.github.com> Date: Tue, 31 Dec 2024 19:52:53 +0100 Subject: [PATCH] Adding R8G8B8A8Srgb --- src/video_core/renderer_vulkan/liverpool_to_vk.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video_core/renderer_vulkan/liverpool_to_vk.h b/src/video_core/renderer_vulkan/liverpool_to_vk.h index ab7ec843a..dae6eb313 100644 --- a/src/video_core/renderer_vulkan/liverpool_to_vk.h +++ b/src/video_core/renderer_vulkan/liverpool_to_vk.h @@ -78,6 +78,8 @@ static inline vk::Format PromoteFormatToDepth(vk::Format fmt) { return vk::Format::eD16Unorm; } else if (fmt == vk::Format::eR8G8B8A8Unorm) { return vk::Format::eR32Uint; + } else if (fmt == vk::Format::eR8G8B8A8Srgb) { + return vk::Format::eR32Uint; } UNREACHABLE(); }