misc: chore: Merge into pattern

This commit is contained in:
KeatonTheBot
2025-09-25 17:04:08 -05:00
parent a6f3f0718d
commit 48ba1cc9ed
161 changed files with 470 additions and 550 deletions
@@ -452,7 +452,7 @@ namespace Ryujinx.Graphics.Vulkan
private static bool IsReadOnlyTexture(ResourceType resourceType)
{
return resourceType == ResourceType.TextureAndSampler || resourceType == ResourceType.BufferTexture;
return resourceType is ResourceType.TextureAndSampler or ResourceType.BufferTexture;
}