mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 18:43:04 +00:00
Cleanup + Format
This commit is contained in:
parent
b064d76a4f
commit
362746887e
7 changed files with 4 additions and 19 deletions
|
@ -20,13 +20,6 @@ namespace Ryujinx.Graphics.Metal
|
|||
ComputePipeline = true;
|
||||
DepthStencil = true;
|
||||
}
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
RenderPipeline = false;
|
||||
ComputePipeline = false;
|
||||
DepthStencil = false;
|
||||
}
|
||||
}
|
||||
|
||||
[SupportedOSPlatform("macos")]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using SharpMetal.Foundation;
|
||||
using SharpMetal.Metal;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
using Ryujinx.Common.Logging;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using SharpMetal.Foundation;
|
||||
using SharpMetal.Metal;
|
||||
using System;
|
||||
using System.Buffers;
|
||||
|
|
|
@ -246,7 +246,8 @@ namespace Ryujinx.Graphics.Shader.CodeGen.Msl.Instructions
|
|||
{
|
||||
texCall += ", ";
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
appended = true;
|
||||
}
|
||||
texCall += str;
|
||||
|
|
Loading…
Reference in a new issue