diff options
author | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-23 16:11:21 +0100 |
---|---|---|
committer | Rodolfo Bogado <rodolfoosvaldobogado@gmail.com> | 2018-11-27 00:56:32 +0100 |
commit | dfdbfa69e5290239b839a3c1600e171c15e86290 (patch) | |
tree | 3a7b357d35949c0b0b0025abc2ff007cb8b4f0d5 /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #1794 from Tinob/master (diff) | |
download | yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar.gz yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar.bz2 yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar.lz yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar.xz yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.tar.zst yuzu-dfdbfa69e5290239b839a3c1600e171c15e86290.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 0bf19ed07..a486d1654 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -49,6 +49,11 @@ public: } fragment_color_clamp; struct { + bool far_plane; + bool near_plane; + } depth_clamp; // GL_DEPTH_CLAMP + + struct { bool enabled; // viewports arrays are only supported when geometry shaders are enabled. } geometry_shaders; @@ -235,6 +240,7 @@ private: void ApplyLogicOp() const; void ApplyTextures() const; void ApplySamplers() const; + void ApplyDepthClamp() const; void ApplyPolygonOffset() const; }; |