Implement BF10GF11RF11 TextureFormat (#246)

* add BF10GF11RF11 TextureFormat

* return correct PixelFormat & PixelType

* return correct texture size

* return correct Bytes Per Pixel

* correct PixelType
This commit is contained in:
greggameplayer 2018-07-19 01:26:28 +02:00 committed by Ac_K
parent 0a13900bc9
commit 120fe6b74a
4 changed files with 4 additions and 0 deletions

View file

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