mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-04-28 01:22:55 +00:00
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user