diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 09:13:46 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | e849d680480e07e430793fd9657a08b676655803 (patch) | |
tree | 640b2cfed02f0e67750ff4ec4c8fc15e909a099f /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | video_core: Implement R8_SINT render target (diff) | |
download | yuzu-e849d680480e07e430793fd9657a08b676655803.tar yuzu-e849d680480e07e430793fd9657a08b676655803.tar.gz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.bz2 yuzu-e849d680480e07e430793fd9657a08b676655803.tar.lz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.xz yuzu-e849d680480e07e430793fd9657a08b676655803.tar.zst yuzu-e849d680480e07e430793fd9657a08b676655803.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 553db1cb1..ef1729894 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -85,7 +85,8 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV}, // RGBA8_SRGB {GL_RG8, GL_RG, GL_UNSIGNED_BYTE}, // RG8U {GL_RG8_SNORM, GL_RG, GL_BYTE}, // RG8S - {GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_INT}, // RG8UI + {GL_RG8I, GL_RG_INTEGER, GL_BYTE}, // RG8I + {GL_RG8UI, GL_RG_INTEGER, GL_UNSIGNED_BYTE}, // RG8UI {GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT}, // RG32UI {GL_RGB16F, GL_RGBA, GL_HALF_FLOAT}, // RGBX16F {GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT}, // R32UI |