[GPU] Add support for the BC4/5 texture formats
This commit is contained in:
parent
f57fd95fd9
commit
7b2f471d4f
5 changed files with 20 additions and 4 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue