summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 09:46:07 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit9338599d7246a954a1ce25a7e97d80bc1062e1d9 (patch)
treea73b07e4d3fac447c3bafe41e493366fde6f023b /src/video_core/renderer_opengl
parentvideo_core: Implement RGBA16_SINT render target (diff)
downloadyuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.gz
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.bz2
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.lz
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.xz
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.tar.zst
yuzu-9338599d7246a954a1ce25a7e97d80bc1062e1d9.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-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 ff67ac813..de1e05cd2 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -71,6 +71,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
{GL_COMPRESSED_RGBA_ASTC_4x4_KHR}, // ASTC_2D_4X4
{GL_RGBA8, GL_BGRA, GL_UNSIGNED_BYTE}, // BGRA8
{GL_RGBA32F, GL_RGBA, GL_FLOAT}, // RGBA32F
+ {GL_RGBA32I, GL_RGBA_INTEGER, GL_INT}, // RGBA32I
{GL_RG32F, GL_RG, GL_FLOAT}, // RG32F
{GL_RG32I, GL_RG_INTEGER, GL_INT}, // RG32I
{GL_R32F, GL_RED, GL_FLOAT}, // R32F