diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-27 21:44:09 +0100 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-10-27 21:44:09 +0100 |
commit | 3f9262195b1ab4828d93f661e1b0dedacb01f937 (patch) | |
tree | 54a95ce1409a00ac686ee0ff4efcf3f789880935 /src/video_core/surface.cpp | |
parent | Merge pull request #2976 from FernandoS27/cache-fast-brx-rebased (diff) | |
download | yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.gz yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.bz2 yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.lz yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.xz yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.tar.zst yuzu-3f9262195b1ab4828d93f661e1b0dedacb01f937.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/surface.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp index 9a3c05288..621136b6e 100644 --- a/src/video_core/surface.cpp +++ b/src/video_core/surface.cpp @@ -315,6 +315,14 @@ PixelFormat PixelFormatFromTextureFormat(Tegra::Texture::TextureFormat format, break; } break; + case Tegra::Texture::TextureFormat::E5B9G9R9_SHAREDEXP: + switch (component_type) { + case Tegra::Texture::ComponentType::FLOAT: + return PixelFormat::E5B9G9R9F; + default: + break; + } + break; case Tegra::Texture::TextureFormat::ZF32: return PixelFormat::Z32F; case Tegra::Texture::TextureFormat::Z16: |