diff options
| author | 2019-04-09 12:33:46 -0400 | |
|---|---|---|
| committer | 2019-04-09 12:33:46 -0400 | |
| commit | 7c458311d30b1a5d29bfc4448f40f1cd05e3dc01 (patch) | |
| tree | 825c8bae6d63164720099c96cca68b4a97393035 /src | |
| parent | Correct depth compare with color formats for R32F (diff) | |
| download | yuzu-7c458311d30b1a5d29bfc4448f40f1cd05e3dc01.tar.gz yuzu-7c458311d30b1a5d29bfc4448f40f1cd05e3dc01.tar.xz yuzu-7c458311d30b1a5d29bfc4448f40f1cd05e3dc01.zip | |
Implement Texture Format ZF32_X24S8.
Diffstat (limited to '')
| -rw-r--r-- | src/video_core/surface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index a7ac26d71..3b022a456 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp | |||
| @@ -294,6 +294,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format, | |||
| 294 | return PixelFormat::Z16; | 294 | return PixelFormat::Z16; |
| 295 | case Tegra::Texture::TextureFormat::Z24S8: | 295 | case Tegra::Texture::TextureFormat::Z24S8: |
| 296 | return PixelFormat::Z24S8; | 296 | return PixelFormat::Z24S8; |
| 297 | case Tegra::Texture::TextureFormat::ZF32_X24S8: | ||
| 298 | return PixelFormat::Z32FS8; | ||
| 297 | case Tegra::Texture::TextureFormat::DXT1: | 299 | case Tegra::Texture::TextureFormat::DXT1: |
| 298 | return is_srgb ? PixelFormat::DXT1_SRGB : PixelFormat::DXT1; | 300 | return is_srgb ? PixelFormat::DXT1_SRGB : PixelFormat::DXT1; |
| 299 | case Tegra::Texture::TextureFormat::DXT23: | 301 | case Tegra::Texture::TextureFormat::DXT23: |