summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-10-07 16:55:14 +0200
committerGitHub <noreply@github.com>2023-10-07 16:55:14 +0200
commitff3859d48209c4931993c0f2d14994145b0e81f8 (patch)
tree4de2a9bd8614958fbf1055e08b70892611f045a8 /src/video_core/renderer_opengl
parentMerge pull request #11684 from Kelebek1/disable_push_descriptor_maxwell (diff)
parentImplement X8_D24 format (diff)
downloadyuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.gz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.bz2
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.lz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.xz
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.tar.zst
yuzu-ff3859d48209c4931993c0f2d14994145b0e81f8.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index c7dc7e0a1..5ea9e2378 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -116,6 +116,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> FORMAT_TAB
{GL_RGB9_E5, GL_RGB, GL_UNSIGNED_INT_5_9_9_9_REV}, // E5B9G9R9_FLOAT
{GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT}, // D32_FLOAT
{GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, // D16_UNORM
+ {GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT_24_8}, // X8_D24_UNORM
{GL_STENCIL_INDEX8, GL_STENCIL, GL_UNSIGNED_BYTE}, // S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // D24_UNORM_S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // S8_UINT_D24_UNORM