Implement Z24S8 TextureFormat (#247)
* add Z24S8 TextureFormat * return correct PixelFormat & PixelType * return correct texture size * return correct Bytes Per Pixel * Correct PixelType
This commit is contained in:
parent
2236f4b2c3
commit
0a13900bc9
4 changed files with 5 additions and 1 deletions
|
@ -37,6 +37,7 @@ namespace Ryujinx.HLE.Gpu.Texture
|
|||
case GalTextureFormat.A8B8G8R8:
|
||||
case GalTextureFormat.R32:
|
||||
case GalTextureFormat.ZF32:
|
||||
case GalTextureFormat.Z24S8:
|
||||
return Texture.Width * Texture.Height * 4;
|
||||
|
||||
case GalTextureFormat.A1B5G5R5:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue