From bcd96ac77d68d420ff41b5d492b4c717dec673d1 Mon Sep 17 00:00:00 2001 From: Billy Laws Date: Fri, 21 Oct 2022 21:57:56 +0100 Subject: [PATCH] Fixup A8R8G8B8 TIC format mapping 8-bit formats are inverted in TICs compared to Vulkan --- .../main/cpp/skyline/gpu/interconnect/maxwell_3d/textures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/textures.cpp b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/textures.cpp index d07e7be8..5620bc66 100644 --- a/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/textures.cpp +++ b/app/src/main/cpp/skyline/gpu/interconnect/maxwell_3d/textures.cpp @@ -98,8 +98,8 @@ namespace skyline::gpu::interconnect::maxwell3d { TIC_FORMAT_CASE(S8D24, D24UnormS8Uint, Uint, Unorm, Uint, Uint); TIC_FORMAT_CASE(S8D24, D24UnormS8Uint, Uint, Unorm, Unorm, Unorm); TIC_FORMAT_CASE_ST(B10G11R11, B10G11R11, Float); - TIC_FORMAT_CASE_NORM_INT(A8B8G8R8, A8B8G8R8); - TIC_FORMAT_CASE_ST_SRGB(A8B8G8R8, A8B8G8R8, Unorm); + TIC_FORMAT_CASE_NORM_INT(A8B8G8R8, R8G8B8A8); + TIC_FORMAT_CASE_ST_SRGB(A8B8G8R8, R8G8B8A8, Unorm); TIC_FORMAT_CASE_NORM_INT(A2B10G10R10, A2B10G10R10); TIC_FORMAT_CASE_ST(E5B9G9R9, E5B9G9R9, Float);