diff options
-rw-r--r-- | Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 2 | ||||
-rw-r--r-- | Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index bf76d592f..a0b3a326d 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | |||
@@ -40,7 +40,7 @@ namespace Ryujinx.Graphics.Gpu.Shader | |||
40 | /// <summary> | 40 | /// <summary> |
41 | /// Version of the codegen (to be changed when codegen or guest format change). | 41 | /// Version of the codegen (to be changed when codegen or guest format change). |
42 | /// </summary> | 42 | /// </summary> |
43 | private const ulong ShaderCodeGenVersion = 3063; | 43 | private const ulong ShaderCodeGenVersion = 3132; |
44 | 44 | ||
45 | // Progress reporting helpers | 45 | // Progress reporting helpers |
46 | private volatile int _shaderCount; | 46 | private volatile int _shaderCount; |
diff --git a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs index 996c2814b..3b10ab211 100644 --- a/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs +++ b/Ryujinx.Graphics.Shader/Translation/ShaderConfig.cs | |||
@@ -369,7 +369,7 @@ namespace Ryujinx.Graphics.Shader.Translation | |||
369 | inst &= Instruction.Mask; | 369 | inst &= Instruction.Mask; |
370 | bool isImage = inst == Instruction.ImageLoad || inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; | 370 | bool isImage = inst == Instruction.ImageLoad || inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; |
371 | bool isWrite = inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; | 371 | bool isWrite = inst == Instruction.ImageStore || inst == Instruction.ImageAtomic; |
372 | bool accurateType = inst != Instruction.Lod; | 372 | bool accurateType = inst != Instruction.Lod && inst != Instruction.TextureSize; |
373 | bool coherent = flags.HasFlag(TextureFlags.Coherent); | 373 | bool coherent = flags.HasFlag(TextureFlags.Coherent); |
374 | 374 | ||
375 | if (isImage) | 375 | if (isImage) |