mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 20:41:04 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -784,8 +784,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
samplerHandle = samplerWordOffset;
|
||||
}
|
||||
|
||||
if (handleType == TextureHandleType.SeparateSamplerId ||
|
||||
handleType == TextureHandleType.SeparateConstantSamplerHandle)
|
||||
if (handleType is TextureHandleType.SeparateSamplerId or TextureHandleType.SeparateConstantSamplerHandle)
|
||||
{
|
||||
samplerHandle <<= 20;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user