summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLody <imlody@163.com>2022-02-24 12:25:39 +0100
committerLody <imlody@163.com>2022-02-24 12:25:39 +0100
commit697809340446c4b5cbff6beb3578cf6f71dc703c (patch)
tree87b15ee3bd7a51e4194a37a19dd0bfe27efcf654 /src
parentMerge pull request #7933 from german77/am_update (diff)
downloadyuzu-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.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));