0
0
Fork 0
mirror of https://github.com/GreemDev/Ryujinx.git synced 2024-12-22 23:55:47 +00:00

Cleanup + Format

This commit is contained in:
Isaac Marovitz 2024-05-29 16:24:49 +01:00 committed by Isaac Marovitz
parent b064d76a4f
commit 362746887e
7 changed files with 4 additions and 19 deletions

View file

@ -20,13 +20,6 @@ namespace Ryujinx.Graphics.Metal
ComputePipeline = true;
DepthStencil = true;
}
public void Clear()
{
RenderPipeline = false;
ComputePipeline = false;
DepthStencil = false;
}
}
[SupportedOSPlatform("macos")]

View file

@ -5,8 +5,6 @@ using Ryujinx.Graphics.Shader.Translation;
using SharpMetal.Metal;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
namespace Ryujinx.Graphics.Metal

View file

@ -281,8 +281,8 @@ namespace Ryujinx.Graphics.Metal
var computeCommandEncoder = GetOrCreateComputeEncoder();
computeCommandEncoder.DispatchThreadgroups(
new MTLSize{width = (ulong)groupsX, height = (ulong)groupsY, depth = (ulong)groupsZ},
new MTLSize{width = (ulong)groupSizeX, height = (ulong)groupSizeY, depth = (ulong)groupSizeZ});
new MTLSize { width = (ulong)groupsX, height = (ulong)groupsY, depth = (ulong)groupsZ },
new MTLSize { width = (ulong)groupSizeX, height = (ulong)groupSizeY, depth = (ulong)groupSizeZ });
}
public void Draw(int vertexCount, int instanceCount, int firstVertex, int firstInstance)

View file

@ -1,4 +1,3 @@
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using SharpMetal.Foundation;
using SharpMetal.Metal;

View file

@ -1,10 +1,6 @@
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using SharpMetal.Foundation;
using SharpMetal.Metal;
using System;
using System.Buffers;
using System.Runtime.CompilerServices;
using System.Runtime.Versioning;
namespace Ryujinx.Graphics.Metal

View file

@ -1,6 +1,4 @@
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using SharpMetal.Foundation;
using SharpMetal.Metal;
using System;
using System.Buffers;

View file

@ -246,7 +246,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
{
texCall += ", ";
}
else {
else
{
appended = true;
}
texCall += str;