Implement A2B10G10R10 TextureFormat (#248)

* add A2B10G10R10 TextureFormat

* return correct PixelFormat & PixelType

* return correct texture size

* return correct Bytes Per Pixel
This commit is contained in:
greggameplayer 2018-07-29 06:41:02 +02:00 committed by gdkchan
parent e07b0265c6
commit ce96a45685
4 changed files with 4 additions and 0 deletions

View file

@ -41,6 +41,7 @@ namespace Ryujinx.HLE.Gpu.Texture
return Texture.Width * Texture.Height * 8;
case GalTextureFormat.A8B8G8R8:
case GalTextureFormat.A2B10G10R10:
case GalTextureFormat.R32:
case GalTextureFormat.ZF32:
case GalTextureFormat.BF10GF11RF11: