From b34c0a47b4d5d9cc4b3a6b51fbc76fe2b493b07d Mon Sep 17 00:00:00 2001 From: gdkchan <gab.dark.100@gmail.com> Date: Thu, 20 May 2021 15:12:15 -0300 Subject: Fix constant buffer array size when indexing is used and other buffer descriptor and resolution scale regressions (#2298) * Fix constant buffer array size when indexing is used * Change default QueryConstantBufferUse value * Fix more regressions * Ensure proper order --- Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs') diff --git a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs index 86709277..158b791a 100644 --- a/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs +++ b/Ryujinx.Graphics.Gpu/Shader/ShaderCache.cs @@ -36,7 +36,7 @@ namespace Ryujinx.Graphics.Gpu.Shader /// <summary> /// Version of the codegen (to be changed when codegen or guest format change). /// </summary> - private const ulong ShaderCodeGenVersion = 2290; + private const ulong ShaderCodeGenVersion = 2298; // Progress reporting helpers private volatile int _shaderCount; @@ -415,7 +415,7 @@ namespace Ryujinx.Graphics.Gpu.Shader if (activeTasks.Count == maxTaskCount) { // Wait for a task to be done, or for 1ms. - // Host shader compilation cannot signal when it is done, + // Host shader compilation cannot signal when it is done, // so the 1ms timeout is required to poll status. taskDoneEvent.WaitOne(1); -- cgit v1.2.3-70-g09d2