mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 03:24:49 +00:00
hotfix: 4444 swizzle order
This commit is contained in:
parent
1a00b1af24
commit
78ea536c95
1 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue