diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-25 09:58:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-25 09:58:28 +0100 |
commit | 6c9b9b72da57b62aba46511c661db9d5bfa56535 (patch) | |
tree | eb922909c5eaef140c59ab523b0299a01fe74283 /src | |
parent | Merge pull request #7927 from german77/amiibo (diff) | |
parent | vk_blit_screen: Add missing format bgra8 (diff) | |
download | yuzu-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')
-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)); |