0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 18:05:46 +00:00

Upstream changes

This commit is contained in:
Isaac Marovitz 2024-08-12 23:22:15 +01:00 committed by Isaac Marovitz
parent 8a579b64be
commit f06c869df1
3 changed files with 7 additions and 7 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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;