diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-10 20:56:12 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-04-10 20:56:12 +0200 |
commit | 0032821864a679d09c252249c74d1bf8deef9baa (patch) | |
tree | 46e6c5b4e1bbcd7d920a6fbd742148b904f8a8bf /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | Merge pull request #2345 from ReinUsesLisp/multibind (diff) | |
download | yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar.gz yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar.bz2 yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar.lz yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar.xz yuzu-0032821864a679d09c252249c74d1bf8deef9baa.tar.zst yuzu-0032821864a679d09c252249c74d1bf8deef9baa.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index e4c64ae71..688ba0ad2 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -21,6 +21,7 @@ #include "video_core/rasterizer_cache.h" #include "video_core/rasterizer_interface.h" #include "video_core/renderer_opengl/gl_buffer_cache.h" +#include "video_core/renderer_opengl/gl_device.h" #include "video_core/renderer_opengl/gl_global_cache.h" #include "video_core/renderer_opengl/gl_primitive_assembler.h" #include "video_core/renderer_opengl/gl_rasterizer_cache.h" @@ -213,6 +214,8 @@ private: ScreenInfo& screen_info; + Device device; + std::unique_ptr<GLShader::ProgramManager> shader_program_manager; std::map<std::array<Tegra::Engines::Maxwell3D::Regs::VertexAttribute, Tegra::Engines::Maxwell3D::Regs::NumVertexAttributes>, @@ -228,7 +231,6 @@ private: static constexpr std::size_t STREAM_BUFFER_SIZE = 128 * 1024 * 1024; OGLBufferCache buffer_cache; PrimitiveAssembler primitive_assembler{buffer_cache}; - GLint uniform_buffer_alignment; BindBuffersRangePushBuffer bind_ubo_pushbuffer{GL_UNIFORM_BUFFER}; BindBuffersRangePushBuffer bind_ssbo_pushbuffer{GL_SHADER_STORAGE_BUFFER}; |