From 78ea536c95b6c47a7dbb80e4dde5d99b86d74c64 Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Thu, 6 Feb 2025 17:55:46 -0800 Subject: [PATCH] hotfix: 4444 swizzle order --- src/video_core/amdgpu/types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/video_core/amdgpu/types.h b/src/video_core/amdgpu/types.h index 93fcd1823..cd642508c 100644 --- a/src/video_core/amdgpu/types.h +++ b/src/video_core/amdgpu/types.h @@ -325,10 +325,10 @@ inline CompMapping RemapSwizzle(const DataFormat format, const CompMapping swizz case DataFormat::Format4_4_4_4: { // Remap to a more supported component order. CompMapping result; - result.r = swizzle.a; - result.g = swizzle.r; - result.b = swizzle.g; - result.a = swizzle.b; + result.r = swizzle.g; + result.g = swizzle.b; + result.b = swizzle.a; + result.a = swizzle.r; return result; } default: