diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-08 08:07:44 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-08-08 08:10:25 +0200 |
commit | 57982df105a6d149cc82292541184e6ceabc288c (patch) | |
tree | cafcaec08c7f7f7308f0856a03f1c8310a0a6740 /src/video_core/renderer_opengl/gl_state.h | |
parent | Merge pull request #964 from Hexagon12/lower-logs (diff) | |
download | yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar.gz yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar.bz2 yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar.lz yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar.xz yuzu-57982df105a6d149cc82292541184e6ceabc288c.tar.zst yuzu-57982df105a6d149cc82292541184e6ceabc288c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 24b1d956b..5c7b636e4 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -7,6 +7,10 @@ #include <array> #include <glad/glad.h> +#include "video_core/engines/maxwell_3d.h" + +using Regs = Tegra::Engines::Maxwell3D::Regs; + namespace TextureUnits { struct TextureUnit { @@ -120,7 +124,7 @@ public: GLuint bindpoint; GLuint ssbo; }; - std::array<std::array<ConstBufferConfig, 16>, 5> const_buffers{}; + std::array<std::array<ConstBufferConfig, Regs::MaxConstBuffers>, 5> const_buffers; } draw; struct { |