diff options
author | gdkchan <gab.dark.100@gmail.com> | 2022-02-17 22:44:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-18 02:44:46 +0100 |
commit | 72e543e946610dc80e3d52290e4bea837097a070 (patch) | |
tree | 44e8414e365b3ca69bcecab13632d3cecac28515 /Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | |
parent | 98c838b24c464fd627ad09078250e4801db8967e (diff) |
Prefer texture over textureSize for sampler type (#3132)1.1.43
* Prefer texture over textureSize for sampler type
* Shader cache version bump
Diffstat (limited to 'Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs')
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs index 996c2814..3b10ab21 100644 --- a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs +++ b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs @@ -369,7 +369,7 @@ namespace Ryujinx.Graphics.Shader.Translation inst &= Instruction.Mask; bool isImage = inst == Instruction.ImageLoad || inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; bool isWrite = inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; - bool accurateType = inst != Instruction.Lod; + bool accurateType = inst != Instruction.Lod && inst != Instruction.TextureSize; bool coherent = flags.HasFlag(TextureFlags.Coherent); if (isImage) |