From 72e543e946610dc80e3d52290e4bea837097a070 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Thu, 17 Feb 2022 22:44:46 -0300 Subject: Prefer texture over textureSize for sampler type (#3132) * Prefer texture over textureSize for sampler type * Shader cache version bump --- Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs') 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) -- cgit v1.2.3