Fix Clear Viewport

This commit is contained in:
Isaac Marovitz 2024-05-30 13:20:16 +01:00 committed by Isaac Marovitz
parent 362672ae12
commit 3c188718c4
3 changed files with 40 additions and 5 deletions

View file

@ -25,6 +25,8 @@ namespace Ryujinx.Graphics.Metal
public readonly MTLIndexType IndexType => _currentState.IndexType;
public readonly ulong IndexBufferOffset => _currentState.IndexBufferOffset;
public readonly PrimitiveTopology Topology => _currentState.Topology;
public readonly Texture RenderTarget => _currentState.RenderTargets[0];
public readonly Texture DepthStencil => _currentState.DepthStencil;
// RGBA32F is the biggest format
private const int ZeroBufferSize = 4 * 4;