From f43dd080641b3c2508e35bc7651fb0adcb282a2e Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 29 May 2018 20:37:10 -0300 Subject: Added support for more shader instructions and texture formats, fix swapped channels in RGB565 and RGBA5551? texture formats, allow zero values on blending registers, initial work to build CFG on the shader decoder, update the BRA instruction to work with it (WIP) --- Ryujinx.Graphics/Gal/GalTextureFormat.cs | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) (limited to 'Ryujinx.Graphics/Gal/GalTextureFormat.cs') diff --git a/Ryujinx.Graphics/Gal/GalTextureFormat.cs b/Ryujinx.Graphics/Gal/GalTextureFormat.cs index 37291e18..b3d8b03d 100644 --- a/Ryujinx.Graphics/Gal/GalTextureFormat.cs +++ b/Ryujinx.Graphics/Gal/GalTextureFormat.cs @@ -2,13 +2,18 @@ namespace Ryujinx.Graphics.Gal { public enum GalTextureFormat { - A8B8G8R8 = 0x8, - A1B5G5R5 = 0x14, - B5G6R5 = 0x15, - BC1 = 0x24, - BC2 = 0x25, - BC3 = 0x26, - BC4 = 0x27, - BC5 = 0x28 + R32G32B32A32 = 0x1, + R16G16B16A16 = 0x3, + A8B8G8R8 = 0x8, + R32 = 0xf, + A1B5G5R5 = 0x14, + B5G6R5 = 0x15, + G8R8 = 0x18, + R8 = 0x1d, + BC1 = 0x24, + BC2 = 0x25, + BC3 = 0x26, + BC4 = 0x27, + BC5 = 0x28 } } -- cgit v1.2.3