From 7b2f471d4ff07bc811bbd84919c6708ab0f399f4 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 10 Apr 2018 18:54:50 -0300 Subject: [GPU] Add support for the BC4/5 texture formats --- Ryujinx.Graphics/Gpu/TextureReader.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Ryujinx.Graphics/Gpu/TextureReader.cs') diff --git a/Ryujinx.Graphics/Gpu/TextureReader.cs b/Ryujinx.Graphics/Gpu/TextureReader.cs index 715578b5..b3b016ed 100644 --- a/Ryujinx.Graphics/Gpu/TextureReader.cs +++ b/Ryujinx.Graphics/Gpu/TextureReader.cs @@ -16,6 +16,8 @@ namespace Ryujinx.Graphics.Gpu case GalTextureFormat.BC1: return Read8Bpt4x4 (Memory, Texture); case GalTextureFormat.BC2: return Read16Bpt4x4(Memory, Texture); case GalTextureFormat.BC3: return Read16Bpt4x4(Memory, Texture); + case GalTextureFormat.BC4: return Read8Bpt4x4 (Memory, Texture); + case GalTextureFormat.BC5: return Read16Bpt4x4(Memory, Texture); } throw new NotImplementedException(Texture.Format.ToString()); -- cgit v1.2.3