aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2019-12-28 20:45:33 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commitaf8498d6790ba83f1cf87eccf5f272f2ccbeb169 (patch)
treef4bbd0c418a056211f5077646100bedeb5e8fc13 /Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs
parentd1ab9fb42c2fd9f018d4410ca619cd66294eafc9 (diff)
Add basic error logging to the GPU
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs b/Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs
deleted file mode 100644
index a1fd723f..00000000
--- a/Ryujinx.Graphics.OpenGL/Formats/FormatInfo.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using OpenTK.Graphics.OpenGL;
-
-namespace Ryujinx.Graphics.OpenGL.Formats
-{
- struct FormatInfo
- {
- public int Components { get; }
- public bool Normalized { get; }
- public bool Scaled { get; }
-
- public PixelInternalFormat PixelInternalFormat { get; }
- public PixelFormat PixelFormat { get; }
- public PixelType PixelType { get; }
-
- public bool IsCompressed { get; }
-
- public FormatInfo(
- int components,
- bool normalized,
- bool scaled,
- All pixelInternalFormat,
- PixelFormat pixelFormat,
- PixelType pixelType)
- {
- Components = components;
- Normalized = normalized;
- Scaled = scaled;
- PixelInternalFormat = (PixelInternalFormat)pixelInternalFormat;
- PixelFormat = pixelFormat;
- PixelType = pixelType;
- IsCompressed = false;
- }
-
- public FormatInfo(int components, bool normalized, bool scaled, All pixelFormat)
- {
- Components = components;
- Normalized = normalized;
- Scaled = scaled;
- PixelInternalFormat = 0;
- PixelFormat = (PixelFormat)pixelFormat;
- PixelType = 0;
- IsCompressed = true;
- }
- }
-}