mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-29 10:10:08 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -77,9 +77,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
var swizzleB = info.SwizzleB.Convert();
|
||||
var 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