diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-27 18:25:59 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-28 16:16:21 +0100 |
commit | 16505939271ef0ddd5a108123f22bc1a2f854a23 (patch) | |
tree | 33187e8a270cb46907799f9f28de0d099636d7dd /src/video_core/renderer_opengl/gl_shader_manager.h | |
parent | gl_shader_manager: Remove reliance on global accessor within MaxwellUniformData::SetFromRegs() (diff) | |
download | yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar.gz yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar.bz2 yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar.lz yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar.xz yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.tar.zst yuzu-16505939271ef0ddd5a108123f22bc1a2f854a23.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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.h index 98217eed6..8eef2a920 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.h +++ b/src/video_core/renderer_opengl/gl_shader_manager.h @@ -12,14 +12,12 @@ namespace OpenGL::GLShader { -using Tegra::Engines::Maxwell3D; - /// Uniform structure for the Uniform Buffer Object, all vectors must be 16-byte aligned /// @note Always keep a vec4 at the end. The GL spec is not clear whether the alignment at /// 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& maxwell, std::size_t shader_stage); + void SetFromRegs(const Tegra::Engines::Maxwell3D& maxwell, std::size_t shader_stage); alignas(16) GLvec4 viewport_flip; struct alignas(16) { |