mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-30 02:06:25 +02:00
parent
417df486b1
commit
361d0c5632
622 changed files with 3080 additions and 2652 deletions
|
@ -78,9 +78,9 @@ namespace Ryujinx.Graphics.Vulkan
|
|||
ComponentSwizzle swizzleB = info.SwizzleB.Convert();
|
||||
ComponentSwizzle swizzleA = info.SwizzleA.Convert();
|
||||
|
||||
if (info.Format == Format.R5G5B5A1Unorm ||
|
||||
info.Format == Format.R5G5B5X1Unorm ||
|
||||
info.Format == Format.R5G6B5Unorm)
|
||||
if (info.Format is Format.R5G5B5A1Unorm or
|
||||
Format.R5G5B5X1Unorm or
|
||||
Format.R5G6B5Unorm)
|
||||
{
|
||||
(swizzleB, swizzleR) = (swizzleR, swizzleB);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue