diff options
author | Markus Wick <markus@selfnet.de> | 2018-08-10 09:45:38 +0200 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2018-08-12 15:48:59 +0200 |
commit | ce722e317b23a4591980fca0ffa43042d873eb2d (patch) | |
tree | 776739b470d94a3ccc3986894e1c38269bfd7dba /src/video_core/renderer_opengl/gl_rasterizer.h | |
parent | gl_rasterizer: Use a helper for aligning the buffer. (diff) | |
download | yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar.gz yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar.bz2 yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar.lz yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar.xz yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.tar.zst yuzu-ce722e317b23a4591980fca0ffa43042d873eb2d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h index d9d4e04b9..6f8503703 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.h +++ b/src/video_core/renderer_opengl/gl_rasterizer.h @@ -162,13 +162,12 @@ private: OGLStreamBuffer stream_buffer; OGLBuffer uniform_buffer; OGLFramebuffer framebuffer; + GLint uniform_buffer_alignment; size_t CalculateVertexArraysSize() const; std::pair<u8*, GLintptr> SetupVertexArrays(u8* array_ptr, GLintptr buffer_offset); - std::array<OGLBuffer, Tegra::Engines::Maxwell3D::Regs::MaxShaderStage> uniform_buffers; - std::pair<u8*, GLintptr> SetupShaders(u8* buffer_ptr, GLintptr buffer_offset); std::pair<u8*, GLintptr> AlignBuffer(u8* buffer_ptr, GLintptr buffer_offset, size_t alignment); |