diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-09-26 21:52:31 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2018-09-28 02:04:22 -0300 |
| commit | b8f1506aa5e5eb25bfd82f4e0818f1c2c1e6bcb3 (patch) | |
| tree | ea9bab0a098dbb7edec15ae3dc5d69874c3d8db4 /src/video_core/renderer_opengl/gl_state.h | |
| parent | c0445006af7f985df0f8ec04ac815ee0b8ffabeb (diff) | |
gl_state: Pack sampler bindings into a single ARB_multi_bind
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index 9a93029d8..49f30b111 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -6,6 +6,7 @@ #include <array> #include <glad/glad.h> +#include "video_core/engines/maxwell_3d.h" namespace OpenGL { @@ -114,7 +115,7 @@ public: target = GL_TEXTURE_2D; } }; - std::array<TextureUnit, 32> texture_units; + std::array<TextureUnit, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> texture_units; struct { GLuint read_framebuffer; // GL_READ_FRAMEBUFFER_BINDING |
