summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/maxwell_to_gl.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-17 21:05:07 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-17 21:05:07 +0100
commit6dd6dc046c23957d3d8e040a92893acf31ca7980 (patch)
treec9371cd02452e4922c10088e2bd86a6c58f50ac5 /src/video_core/renderer_opengl/maxwell_to_gl.h
parentvideo_core: Add S8_UINT stencil format (diff)
downloadyuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar.gz
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar.bz2
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar.lz
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar.xz
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.tar.zst
yuzu-6dd6dc046c23957d3d8e040a92893acf31ca7980.zip
Diffstat (limited to '')
-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 39158aa3e..daba42ed9 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -108,6 +108,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_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
{GL_DEPTH32F_STENCIL8, GL_DEPTH_STENCIL,