From 0ba4ade8f1fa64e2bda5c4b1e0c5b37e10d51c80 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Wed, 11 Aug 2021 19:44:41 -0300 Subject: Ensure render scale is initialized to 1 on the backend (#2543) --- Ryujinx.Graphics.Shader/SupportBuffer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.Shader') diff --git a/Ryujinx.Graphics.Shader/SupportBuffer.cs b/Ryujinx.Graphics.Shader/SupportBuffer.cs index 78f24401..f76d2c92 100644 --- a/Ryujinx.Graphics.Shader/SupportBuffer.cs +++ b/Ryujinx.Graphics.Shader/SupportBuffer.cs @@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Shader public const int ComputeRenderScaleOffset = FragmentRenderScaleOffset + FieldSize; // Skip first scale that is used for the render target // One for the render target, 32 for the textures, and 8 for the images. - private const int RenderScaleMaxCount = 1 + 32 + 8; + public const int RenderScaleMaxCount = 1 + 32 + 8; public const int RequiredSize = FragmentRenderScaleOffset + RenderScaleMaxCount * FieldSize; } -- cgit v1.2.3