summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-25 09:58:28 +0100
committerGitHub <noreply@github.com>2022-02-25 09:58:28 +0100
commit6c9b9b72da57b62aba46511c661db9d5bfa56535 (patch)
treeeb922909c5eaef140c59ab523b0299a01fe74283 /src/video_core/renderer_vulkan
parentMerge pull request #7927 from german77/amiibo (diff)
parentvk_blit_screen: Add missing format bgra8 (diff)
downloadyuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar.gz
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar.bz2
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar.lz
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar.xz
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.tar.zst
yuzu-6c9b9b72da57b62aba46511c661db9d5bfa56535.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_blit_screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
index c71a1f44d..621a6a071 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
@@ -100,6 +100,8 @@ VkFormat GetFormat(const Tegra::FramebufferConfig& framebuffer) {
return VK_FORMAT_A8B8G8R8_UNORM_PACK32;
case Tegra::FramebufferConfig::PixelFormat::RGB565_UNORM:
return VK_FORMAT_R5G6B5_UNORM_PACK16;
+ case Tegra::FramebufferConfig::PixelFormat::B8G8R8A8_UNORM:
+ return VK_FORMAT_B8G8R8A8_UNORM;
default:
UNIMPLEMENTED_MSG("Unknown framebuffer pixel format: {}",
static_cast<u32>(framebuffer.pixel_format));