diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-27 18:17:35 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-28 16:14:24 +0100 |
commit | 7d88fc83bf31619fbb640dff532fe01f5e983361 (patch) | |
tree | 2d2d1a7d9849c1fe0b64ab183c50f5b227e32c1e /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | gl_shader_manager: Amend Doxygen string for MaxwellUniformData (diff) | |
download | yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar.gz yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar.bz2 yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar.lz yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar.xz yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.tar.zst yuzu-7d88fc83bf31619fbb640dff532fe01f5e983361.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_manager.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_manager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index d0e0ab95b..98217eed6 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -19,7 +19,8 @@ using Tegra::Engines::Maxwell3D; /// the end of a uniform block is included in UNIFORM_BLOCK_DATA_SIZE or not. /// Not following that rule will cause problems on some AMD drivers. struct MaxwellUniformData { - void SetFromRegs(const Maxwell3D::State::ShaderStageInfo& shader_stage); + void SetFromRegs(const Maxwell3D& maxwell, std::size_t shader_stage); + alignas(16) GLvec4 viewport_flip; struct alignas(16) { GLuint instance_id; |