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 a290f8be2c
commit 0819b88a1a
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;
}