Formatting

This commit is contained in:
Isaac Marovitz 2024-05-09 22:59:34 -04:00
parent 3e422f020c
commit 2b07d783c8
No known key found for this signature in database
GPG key ID: 97250B2B09A132E1
31 changed files with 37 additions and 38 deletions

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
namespace Ryujinx.Graphics.OpenGL

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Runtime.InteropServices;
using System.Threading;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using System;
using Sampler = Ryujinx.Graphics.OpenGL.Image.Sampler;

View file

@ -1,7 +1,7 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using System;
using static Ryujinx.Graphics.OpenGL.Effects.ShaderHelper;

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
namespace Ryujinx.Graphics.OpenGL.Effects
{

View file

@ -1,7 +1,7 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using System;
namespace Ryujinx.Graphics.OpenGL.Effects.Smaa
@ -219,7 +219,7 @@ namespace Ryujinx.Graphics.OpenGL.Effects.Smaa
_gd.Api.DispatchCompute(dispatchX, dispatchY, 1);
_gd.Api.MemoryBarrier(MemoryBarrierMask.ShaderImageAccessBarrierBit);
_gd.Api.BindImageTexture(0, blendOutput.Handle, 0, false, 0, BufferAccessARB.ReadWrite,InternalFormat.Rgba8);
_gd.Api.BindImageTexture(0, blendOutput.Handle, 0, false, 0, BufferAccessARB.ReadWrite, InternalFormat.Rgba8);
_gd.Api.UseProgram(_blendShaderPrograms[Quality]);
edgeOutput.Bind(0);
areaTexture.Bind(1);

View file

@ -1,9 +1,9 @@
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.NV;
using Silk.NET.OpenGL.Legacy.Extensions.EXT;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Shader;
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.EXT;
using Silk.NET.OpenGL.Legacy.Extensions.NV;
namespace Ryujinx.Graphics.OpenGL
{

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
namespace Ryujinx.Graphics.OpenGL

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.NV;
using System;
using System.Runtime.CompilerServices;

View file

@ -1,4 +1,3 @@
using Ryujinx.Graphics.OpenGL.Helper;
using System;
namespace Ryujinx.Graphics.OpenGL

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
namespace Ryujinx.Graphics.OpenGL.Image
{

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
namespace Ryujinx.Graphics.OpenGL.Image
{

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
namespace Ryujinx.Graphics.OpenGL.Image
{

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Buffers;

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
namespace Ryujinx.Graphics.OpenGL.Image

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Numerics;

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
namespace Ryujinx.Graphics.OpenGL.Image
{

View file

@ -1,6 +1,6 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Buffers;
using System.Diagnostics;

View file

@ -1,11 +1,11 @@
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.ARB;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Ryujinx.Graphics.OpenGL.Queries;
using Ryujinx.Graphics.Shader.Translation;
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.ARB;
using System;
using System.Runtime.InteropServices;
using Sampler = Ryujinx.Graphics.OpenGL.Image.Sampler;
@ -149,7 +149,7 @@ namespace Ryujinx.Graphics.OpenGL
public Capabilities GetCapabilities()
{
bool intelWindows = Capabilities.GpuVendor == OpenGL.GpuVendor.IntelWindows;
bool intelUnix = Capabilities.GpuVendor == OpenGL.GpuVendor.IntelUnix;
bool intelUnix = Capabilities.GpuVendor == OpenGL.GpuVendor.IntelUnix;
bool amdWindows = Capabilities.GpuVendor == OpenGL.GpuVendor.AmdWindows;
return new Capabilities(

View file

@ -1,7 +1,7 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;

View file

@ -1,9 +1,9 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Image;
using Ryujinx.Graphics.OpenGL.Queries;
using Ryujinx.Graphics.Shader;
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.NV;
using System;
using Sampler = Ryujinx.Graphics.OpenGL.Image.Sampler;

View file

@ -1,9 +1,9 @@
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.ARB;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.Shader;
using Ryujinx.Graphics.Shader.Translation;
using Silk.NET.OpenGL.Legacy;
using Silk.NET.OpenGL.Legacy.Extensions.ARB;
using System;
using System.Buffers.Binary;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Logging;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Runtime.InteropServices;
using System.Threading;
@ -60,7 +60,7 @@ namespace Ryujinx.Graphics.OpenGL.Queries
_api.BindBuffer(BufferTargetARB.QueryBuffer, _buffer);
Marshal.WriteInt64(_bufferMap, -1L);
_api.GetQueryObject(Query,QueryObjectParameterName.Result, (long*)0);
_api.GetQueryObject(Query, QueryObjectParameterName.Result, (long*)0);
_api.MemoryBarrier(MemoryBarrierMask.QueryBufferBarrierBit | MemoryBarrierMask.ClientMappedBufferBarrierBit);
}
else

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Collections.Generic;
using System.Threading;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Threading;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Logging;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Collections.Generic;
using System.Linq;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Silk.NET.OpenGL.Legacy;
using System;
using System.Numerics;
using System.Runtime.CompilerServices;

View file

@ -1,8 +1,8 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL.Effects;
using Ryujinx.Graphics.OpenGL.Effects.Smaa;
using Ryujinx.Graphics.OpenGL.Image;
using Silk.NET.OpenGL.Legacy;
using System;
namespace Ryujinx.Graphics.OpenGL

View file

@ -1,9 +1,9 @@
// using OpenTK;
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.OpenGL;
using Ryujinx.Input.HLE;
using Silk.NET.OpenGL.Legacy;
using System;
using static SDL2.SDL;

View file

@ -1,9 +1,9 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Common.Configuration;
using Ryujinx.Common.Logging;
using Ryujinx.Graphics.GAL;
using Ryujinx.Graphics.OpenGL;
using Ryujinx.UI.Common.Configuration;
using Silk.NET.OpenGL.Legacy;
using SPB.Graphics;
using SPB.Graphics.Exceptions;
using SPB.Graphics.OpenGL;

View file

@ -1,5 +1,5 @@
using Silk.NET.OpenGL.Legacy;
using Ryujinx.Graphics.OpenGL;
using Silk.NET.OpenGL.Legacy;
using SPB.Graphics;
using SPB.Graphics.OpenGL;
using SPB.Platform;