mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-12 19:19:57 +01:00
Upstream changes
This commit is contained in:
parent
8a579b64be
commit
f06c869df1
3 changed files with 7 additions and 7 deletions
|
@ -11,7 +11,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public RenderEncoderResources() { }
|
||||
|
||||
public void Clear()
|
||||
public readonly void Clear()
|
||||
{
|
||||
Resources.Clear();
|
||||
VertexBuffers.Clear();
|
||||
|
@ -26,7 +26,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
|
||||
public ComputeEncoderResources() { }
|
||||
|
||||
public void Clear()
|
||||
public readonly void Clear()
|
||||
{
|
||||
Resources.Clear();
|
||||
Buffers.Clear();
|
||||
|
|
|
@ -62,12 +62,12 @@ namespace Ryujinx.Graphics.Metal
|
|||
_currentState.Dirty |= flags;
|
||||
}
|
||||
|
||||
public void SignalRenderDirty()
|
||||
public readonly void SignalRenderDirty()
|
||||
{
|
||||
SignalDirty(DirtyFlags.RenderAll);
|
||||
}
|
||||
|
||||
public void SignalComputeDirty()
|
||||
public readonly void SignalComputeDirty()
|
||||
{
|
||||
SignalDirty(DirtyFlags.ComputeAll);
|
||||
}
|
||||
|
@ -186,7 +186,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
return computeCommandEncoder;
|
||||
}
|
||||
|
||||
public void RenderResourcesPrepass()
|
||||
public readonly void RenderResourcesPrepass()
|
||||
{
|
||||
_currentState.RenderEncoderResources.Clear();
|
||||
|
||||
|
@ -216,7 +216,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
}
|
||||
}
|
||||
|
||||
public void ComputeResourcesPrepass()
|
||||
public readonly void ComputeResourcesPrepass()
|
||||
{
|
||||
_currentState.ComputeEncoderResources.Clear();
|
||||
|
||||
|
|
|
@ -460,7 +460,7 @@ namespace Ryujinx.Graphics.Metal
|
|||
int width = Info.Width;
|
||||
int height = Info.Height;
|
||||
int depth = Info.Depth;
|
||||
int levels = Info.GetLevelsClamped();
|
||||
int levels = Info.Levels;
|
||||
int layers = Info.GetLayers();
|
||||
bool is3D = Info.Target == Target.Texture3D;
|
||||
|
||||
|
|
Loading…
Reference in a new issue