diff options
author | Lody <imlody@163.com> | 2022-02-24 12:25:39 +0100 |
---|---|---|
committer | Lody <imlody@163.com> | 2022-02-24 12:25:39 +0100 |
commit | 697809340446c4b5cbff6beb3578cf6f71dc703c (patch) | |
tree | 87b15ee3bd7a51e4194a37a19dd0bfe27efcf654 /src | |
parent | Merge pull request #7933 from german77/am_update (diff) | |
download | yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar.gz yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar.bz2 yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar.lz yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar.xz yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.tar.zst yuzu-697809340446c4b5cbff6beb3578cf6f71dc703c.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_blit_screen.cpp | 2 |
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)); |