Ensure render scale is initialized to 1 on the backend (#2543)

This commit is contained in:
gdkchan
2021-08-11 19:44:41 -03:00
committed by GitHub
parent 3148c0c21c
commit 0ba4ade8f1
3 changed files with 13 additions and 9 deletions

View File

@ -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;
}