summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-22 15:11:28 +0200
committerGitHub <noreply@github.com>2019-09-22 15:11:28 +0200
commit822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d (patch)
tree1c687d74d025733b90c1a3b5de066a4961eb3c4c /src/video_core/renderer_opengl
parentMerge pull request #2867 from ReinUsesLisp/configure-framebuffers-clean (diff)
parentFix clang-format (diff)
downloadyuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.gz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.bz2
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.lz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.xz
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.tar.zst
yuzu-822ca65d695d85d8f017bc2f8c8dd5b6806c2e7d.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 4f135fe03..173b76c4e 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -97,6 +97,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
{GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // RG8U
{GL_RG8, GL_RG, GL_BYTE, ComponentType::SNorm, false}, // RG8S
{GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // RG32UI
+ {GL_RGB16F, GL_RGBA16, GL_HALF_FLOAT, ComponentType::Float, false}, // RGBX16F
{GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, ComponentType::UInt, false}, // R32UI
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_8X8
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_8X5