mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2026-05-10 15:25:46 +00:00
@@ -110,8 +110,8 @@ namespace Ryujinx.Graphics.Shader
|
||||
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