Ensure render scale is initialized to 1 on the backend (#2543)
This commit is contained in:
parent
3148c0c21c
commit
0ba4ade8f1
3 changed files with 13 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue