aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.OpenGL/FormatTable.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2024-02-08 15:52:38 -0300
committerGitHub <noreply@github.com>2024-02-08 19:52:38 +0100
commit609de33b0b55a405dff9e4f1e2ca3748d6b39828 (patch)
tree3c69073d1ab64329f0c148e86d3d2f668b29fe5b /src/Ryujinx.Graphics.OpenGL/FormatTable.cs
parentdfc0819e7273e6887135546d32e2fed6e6d26073 (diff)
Implement BGR10A2 render target format (#6273)
Diffstat (limited to 'src/Ryujinx.Graphics.OpenGL/FormatTable.cs')
-rw-r--r--src/Ryujinx.Graphics.OpenGL/FormatTable.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.OpenGL/FormatTable.cs b/src/Ryujinx.Graphics.OpenGL/FormatTable.cs
index 3dac33b9..c7e3e4e2 100644
--- a/src/Ryujinx.Graphics.OpenGL/FormatTable.cs
+++ b/src/Ryujinx.Graphics.OpenGL/FormatTable.cs
@@ -161,6 +161,7 @@ namespace Ryujinx.Graphics.OpenGL
Add(Format.A1B5G5R5Unorm, new FormatInfo(4, true, false, All.Rgb5A1, PixelFormat.Rgba, PixelType.UnsignedShort5551));
Add(Format.B8G8R8A8Unorm, new FormatInfo(4, true, false, All.Rgba8, PixelFormat.Rgba, PixelType.UnsignedByte));
Add(Format.B8G8R8A8Srgb, new FormatInfo(4, false, false, All.Srgb8Alpha8, PixelFormat.Rgba, PixelType.UnsignedByte));
+ Add(Format.B10G10R10A2Unorm, new FormatInfo(4, false, false, All.Rgb10A2, PixelFormat.Rgba, PixelType.UnsignedInt2101010Reversed));
Add(Format.R8Unorm, SizedInternalFormat.R8);
Add(Format.R8Uint, SizedInternalFormat.R8ui);