Formatting

This commit is contained in:
Isaac Marovitz
2024-07-06 22:38:02 +01:00
committed by Evan Husted
parent 6188872a7c
commit 353a6ca4bb
6 changed files with 8 additions and 7 deletions

View File

@@ -839,7 +839,7 @@ namespace Ryujinx.Graphics.Metal
if (_currentState.CullBoth && isTriangles)
{
renderCommandEncoder.SetScissorRect(new MTLScissorRect { x = 0, y = 0, width = 0, height = 0});
renderCommandEncoder.SetScissorRect(new MTLScissorRect { x = 0, y = 0, width = 0, height = 0 });
}
else
{

View File

@@ -37,7 +37,7 @@ namespace Ryujinx.Graphics.Metal
{
descriptor.ArrayLength = (ulong)Info.Depth;
}
MTLTextureSwizzleChannels swizzle = GetSwizzle(info, descriptor.PixelFormat);
_identitySwizzleHandle = _device.NewTexture(descriptor);
@@ -251,7 +251,8 @@ namespace Ryujinx.Graphics.Metal
var dst = (Texture)destination;
bool isDepthOrStencil = dst.Info.Format.IsDepthOrStencil();
if (dst.Info.IsCompressed) {
if (dst.Info.IsCompressed)
{
Console.WriteLine("shit");
}

View File

@@ -229,7 +229,7 @@ namespace Ryujinx.Graphics.Metal
else if (srcInfo.Samples > 1 && srcInfo.Samples != dstInfo.Samples)
{
// TODO
Logger.Warning?.PrintMsg(LogClass.Gpu, "Unsupported mismatching sample count copy");
}
else