aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-10-15 00:11:11 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit873bb4c15ac2b949594eb6267420508dce6dc2fd (patch)
tree111d68894002ffd8c8105a995abad2eb4d626c00 /Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs
parentf90ee9b7070dfbf3d6f9713a180b0ec899a039b8 (diff)
Fix BC6 Signed/Unsigned float texture formats
Diffstat (limited to 'Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs')
-rw-r--r--Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs b/Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs
index 13e88c55..b67fe5c4 100644
--- a/Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs
+++ b/Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs
@@ -90,8 +90,8 @@ namespace Ryujinx.Graphics.OpenGL.Formats
Add(Format.Bc5Snorm, new FormatInfo(1, true, false, All.CompressedSignedRgRgtc2));
Add(Format.Bc7Unorm, new FormatInfo(1, true, false, All.CompressedRgbaBptcUnorm));
Add(Format.Bc7Srgb, new FormatInfo(1, false, false, All.CompressedSrgbAlphaBptcUnorm));
- Add(Format.Bc6HUfloat, new FormatInfo(1, false, false, All.CompressedRgbBptcUnsignedFloat));
Add(Format.Bc6HSfloat, new FormatInfo(1, false, false, All.CompressedRgbBptcSignedFloat));
+ Add(Format.Bc6HUfloat, new FormatInfo(1, false, false, All.CompressedRgbBptcUnsignedFloat));
Add(Format.R8Uscaled, new FormatInfo(1, false, true, All.R8ui, PixelFormat.RedInteger, PixelType.UnsignedByte));
Add(Format.R8Sscaled, new FormatInfo(1, false, true, All.R8i, PixelFormat.RedInteger, PixelType.Byte));
Add(Format.R16Uscaled, new FormatInfo(1, false, true, All.R16ui, PixelFormat.RedInteger, PixelType.UnsignedShort));