summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_texture_cache.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:38:29 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit95c0f5afe580943fc58d8787aeb27623daacead5 (patch)
treebefe4d5bc15e2db36badc22d843b42eb8fd3df06 /src/video_core/renderer_opengl/gl_texture_cache.cpp
parentvideo_core: Implement RGBA8_SINT render target (diff)
downloadyuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.gz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.bz2
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.lz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.xz
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.tar.zst
yuzu-95c0f5afe580943fc58d8787aeb27623daacead5.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_texture_cache.cpp')
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp1
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 396b85e40..ff67ac813 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -55,6 +55,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
{GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT}, // RGBA16F
{GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT}, // RGBA16U
{GL_RGBA16_SNORM, GL_RGBA, GL_SHORT}, // RGBA16S
+ {GL_RGBA16I, GL_RGBA_INTEGER, GL_SHORT}, // RGBA16I
{GL_RGBA16UI, GL_RGBA_INTEGER, GL_UNSIGNED_SHORT}, // RGBA16UI
{GL_R11F_G11F_B10F, GL_RGB, GL_UNSIGNED_INT_10F_11F_11F_REV}, // R11FG11FB10F
{GL_RGBA32UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT}, // RGBA32UI