diff options
author | tfarley <tfarleygithub@gmail.com> | 2016-01-04 00:46:54 +0100 |
---|---|---|
committer | tfarley <tfarleygithub@gmail.com> | 2016-01-21 03:57:59 +0100 |
commit | f53dbafdae6b6ca8ab718d2299437df469441389 (patch) | |
tree | ddf1b234c2440f8ade62be48ddf1e32ee22c8801 /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #1327 from Subv/unmap_memblock (diff) | |
download | yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar.gz yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar.bz2 yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar.lz yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar.xz yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.tar.zst yuzu-f53dbafdae6b6ca8ab718d2299437df469441389.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index 92b1f812e..c8a2d8f16 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -197,7 +197,8 @@ private: std::array<GLfloat, 4> const_color[6]; std::array<GLfloat, 4> tev_combiner_buffer_color; GLint alphatest_ref; - INSERT_PADDING_BYTES(12); + GLfloat depth_offset; + INSERT_PADDING_BYTES(8); }; static_assert(sizeof(UniformData) == 0x80, "The size of the UniformData structure has changed, update the structure in the shader"); @@ -218,6 +219,9 @@ private: /// Syncs the cull mode to match the PICA register void SyncCullMode(); + /// Syncs the depth scale and offset to match the PICA registers + void SyncDepthModifiers(); + /// Syncs the blend enabled status to match the PICA register void SyncBlendEnabled(); |