make states private

This commit is contained in:
Samuliak 2024-05-24 15:59:07 +02:00 committed by Isaac Marovitz
parent 8eba42447f
commit f08d6c1cad

View file

@ -17,8 +17,8 @@ namespace Ryujinx.Graphics.Metal
private readonly RenderPipelineCache _renderPipelineCache; private readonly RenderPipelineCache _renderPipelineCache;
private readonly DepthStencilCache _depthStencilCache; private readonly DepthStencilCache _depthStencilCache;
public EncoderState _currentState = new(); private EncoderState _currentState = new();
public List<EncoderState> _backStates = new(); private List<EncoderState> _backStates = new();
public readonly MTLBuffer IndexBuffer => _currentState.IndexBuffer; public readonly MTLBuffer IndexBuffer => _currentState.IndexBuffer;
public readonly MTLIndexType IndexType => _currentState.IndexType; public readonly MTLIndexType IndexType => _currentState.IndexType;