mirror of
https://github.com/Ryujinx-NX/Ryujinx.git
synced 2024-11-14 21:17:43 -07:00
Formatting
This commit is contained in:
parent
dbb53c08a5
commit
a603587c51
@ -344,7 +344,7 @@ namespace Ryujinx.Graphics.GAL
|
||||
/// </summary>
|
||||
/// <param name="format">Texture format</param>
|
||||
/// <returns>Byte size for an element of this format (pixel, vertex attribute, etc)</returns>
|
||||
public static int GetBytesPerElement(this Format format)
|
||||
public static int GetBytesPerElement(this Format format)
|
||||
{
|
||||
int scalarSize = format.GetScalarSize();
|
||||
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -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");
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
using Ryujinx.Common;
|
||||
using Ryujinx.Common;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.Shader;
|
||||
using Ryujinx.Graphics.Shader.Translation;
|
||||
|
@ -1,4 +1,4 @@
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using Ryujinx.Graphics.Shader;
|
||||
using Silk.NET.Vulkan;
|
||||
using System;
|
||||
|
Loading…
Reference in New Issue
Block a user