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

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