diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:00:23 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:08 +0200 |
commit | f29fede49c647ce336de2fb4f48aba25f968a882 (patch) | |
tree | 221f82144265a6587440ee801b5d4662f1d49a27 /src/video_core/renderer_opengl | |
parent | video_core: Implement R8_SNORM render target (diff) | |
download | yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.gz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.bz2 yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.lz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.xz yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.tar.zst yuzu-f29fede49c647ce336de2fb4f48aba25f968a882.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 6319b0006..553db1cb1 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -49,6 +49,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV}, // A1B5G5R5U {GL_R8, GL_RED, GL_UNSIGNED_BYTE}, // R8U {GL_R8_SNORM, GL_RED, GL_BYTE}, // R8S + {GL_R8I, GL_RED_INTEGER, GL_BYTE}, // R8I {GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE}, // R8UI {GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT}, // RGBA16F {GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT}, // RGBA16U |