misc: chore: Merge into pattern

This commit is contained in:
KeatonTheBot 2025-08-30 19:46:36 -05:00
parent 503dea74c2
commit fa682d406e
157 changed files with 470 additions and 546 deletions

View file

@ -639,7 +639,7 @@ namespace Ryujinx.Graphics.Gpu.Shader
type &= ~(AttributeType.Packed | AttributeType.PackedRgb10A2Signed);
if (channel.Capabilities.SupportsScaledVertexFormats &&
(type == AttributeType.Sscaled || type == AttributeType.Uscaled))
type is AttributeType.Sscaled or AttributeType.Uscaled)
{
type = AttributeType.Float;
}