diff options
| author | greggameplayer <33609333+greggameplayer@users.noreply.github.com> | 2018-07-19 01:19:37 +0200 |
|---|---|---|
| committer | Ac_K <Acoustik666@gmail.com> | 2018-07-19 01:19:37 +0200 |
| commit | 0a13900bc93066dcb453f86d9154d52020255d32 (patch) | |
| tree | 33d54fd7d4d689aa4c4d2d74b6ea92982e5376c3 /Ryujinx.HLE/Gpu/Texture/TextureHelper.cs | |
| parent | 2236f4b2c372e3764d14997f25ae2dee0de6f1ad (diff) | |
Implement Z24S8 TextureFormat (#247)
* add Z24S8 TextureFormat
* return correct PixelFormat & PixelType
* return correct texture size
* return correct Bytes Per Pixel
* Correct PixelType
Diffstat (limited to 'Ryujinx.HLE/Gpu/Texture/TextureHelper.cs')
| -rw-r--r-- | Ryujinx.HLE/Gpu/Texture/TextureHelper.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Gpu/Texture/TextureHelper.cs b/Ryujinx.HLE/Gpu/Texture/TextureHelper.cs index dbbc87d4..e934e363 100644 --- a/Ryujinx.HLE/Gpu/Texture/TextureHelper.cs +++ b/Ryujinx.HLE/Gpu/Texture/TextureHelper.cs @@ -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: |
