From 873bb4c15ac2b949594eb6267420508dce6dc2fd Mon Sep 17 00:00:00 2001 From: gdk Date: Tue, 15 Oct 2019 00:11:11 -0300 Subject: Fix BC6 Signed/Unsigned float texture formats --- Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Ryujinx.Graphics.OpenGL/Formats/FormatTable.cs') 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)); -- cgit v1.2.3