diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-03-16 01:24:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 01:24:53 +0100 |
commit | 7cc46a6faae50080e96a5ba5e8e0101e12573de8 (patch) | |
tree | 1811a5ff13e92377db955f1483d897a4e37d15ad /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | Merge pull request #3502 from namkazt/patch-3 (diff) | |
parent | video_core: Implement RGBA16_SNORM (diff) | |
download | yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.gz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.bz2 yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.lz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.xz yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.tar.zst yuzu-7cc46a6faae50080e96a5ba5e8e0101e12573de8.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_texture_cache.cpp')
-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 2d3838a7a..f424e3000 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -53,6 +53,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE, false}, // R8UI {GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT, false}, // RGBA16F {GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT, false}, // RGBA16U + {GL_RGBA16_SNORM, GL_RGBA, GL_SHORT, false}, // RGBA16S {GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT, false}, // RGBA16UI {GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV, false}, // R11FG11FB10F {GL_RGBA32UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT, false}, // RGBA32UI |