mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-22 23:55:47 +00:00
Formatting
This commit is contained in:
parent
6e80cc6caa
commit
b734c81683
6 changed files with 8 additions and 7 deletions
|
@ -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 a new issue