aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-04-09 12:33:46 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2019-04-09 12:33:46 -0400
commit1f12f92fc80bb933ac158fbd570983f767fdd320 (patch)
tree825c8bae6d63164720099c96cca68b4a97393035 /src/video_core/surface.cpp
parent9360d5e854695b50fe5becb02e742386c7b7f529 (diff)
Implement Texture Format ZF32_X24S8.
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index a7ac26d715..3b022a4566 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -294,6 +294,8 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format,
return PixelFormat::Z16;
case Tegra::Texture::TextureFormat::Z24S8:
return PixelFormat::Z24S8;
+ case Tegra::Texture::TextureFormat::ZF32_X24S8:
+ return PixelFormat::Z32FS8;
case Tegra::Texture::TextureFormat::DXT1:
return is_srgb ? PixelFormat::DXT1_SRGB : PixelFormat::DXT1;
case Tegra::Texture::TextureFormat::DXT23: