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/renderer_opengl/gl_texture_cache.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/renderer_opengl/gl_texture_cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 2f9bfd7e4..55b3e58b2 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -131,6 +131,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_8X6_SRGB {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_6X5 {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_6X5_SRGB + {GL_RGB9_E5, GL_RGB, GL_UNSIGNED_INT_5_9_9_9_REV, ComponentType::Float, false}, // E5B9G9R9F // Depth formats {GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT, ComponentType::Float, false}, // Z32F |