summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan/vk_blit_screen.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-07 16:55:14 +0200
committerGitHub <noreply@github.com>2023-10-07 16:55:14 +0200
commitff3859d48209c4931993c0f2d14994145b0e81f8 (patch)
tree4de2a9bd8614958fbf1055e08b70892611f045a8 /src/video_core/renderer_vulkan/vk_blit_screen.cpp
parentMerge pull request #11684 from Kelebek1/disable_push_descriptor_maxwell (diff)
parentImplement X8_D24 format (diff)
downloadyuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.gz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.bz2
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.lz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.xz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.zst
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.zip
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_blit_screen.cpp')
-rw-r--r--src/video_core/renderer_vulkan/vk_blit_screen.cpp1
1 files changed, 1 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 31928bb94..52fc142d1 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
@@ -96,6 +96,7 @@ std::size_t GetSizeInBytes(const Tegra::FramebufferConfig& framebuffer) {
VkFormat GetFormat(const Tegra::FramebufferConfig& framebuffer) {
switch (framebuffer.pixel_format) {
case Service::android::PixelFormat::Rgba8888:
+ case Service::android::PixelFormat::Rgbx8888:
return VK_FORMAT_A8B8G8R8_UNORM_PACK32;
case Service::android::PixelFormat::Rgb565:
return VK_FORMAT_R5G6B5_UNORM_PACK16;