diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-08-11 19:44:41 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-11 19:44:41 -0300 |
| commit | 0ba4ade8f1fa64e2bda5c4b1e0c5b37e10d51c80 (patch) | |
| tree | 74653fad02702bc35cf7f006fcc9e470da217644 /Ryujinx.Graphics.Shader/SupportBuffer.cs | |
| parent | 3148c0c21cb45a92ff77344027757fb4808bb3cb (diff) | |
Ensure render scale is initialized to 1 on the backend (#2543)
Diffstat (limited to 'Ryujinx.Graphics.Shader/SupportBuffer.cs')
| -rw-r--r-- | Ryujinx.Graphics.Shader/SupportBuffer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
