diff options
| author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-18 21:38:15 -0300 |
|---|---|---|
| committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-11-22 21:28:49 -0300 |
| commit | 180417c51438e2c97b800f4b19e621dbc8288493 (patch) | |
| tree | f9b6d755d10c80a0bef5cda6a2254a0a497f93a2 /src/video_core/renderer_opengl/gl_state.h | |
| parent | c8a48aacc0a2bfe87de74e0aa7842f5d1aec1558 (diff) | |
gl_shader_cache: Remove dynamic BaseBinding specialization
Diffstat (limited to 'src/video_core/renderer_opengl/gl_state.h')
| -rw-r--r-- | src/video_core/renderer_opengl/gl_state.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_state.h b/src/video_core/renderer_opengl/gl_state.h index eaff22bda..fd53eb81a 100644 --- a/src/video_core/renderer_opengl/gl_state.h +++ b/src/video_core/renderer_opengl/gl_state.h @@ -96,8 +96,9 @@ public: GLenum operation = GL_COPY; } logic_op; - std::array<GLuint, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> textures = {}; - std::array<GLuint, Tegra::Engines::Maxwell3D::Regs::NumTextureSamplers> samplers = {}; + static constexpr std::size_t NumSamplers = 32 * 5; + std::array<GLuint, NumSamplers> textures = {}; + std::array<GLuint, NumSamplers> samplers = {}; std::array<GLuint, Tegra::Engines::Maxwell3D::Regs::NumImages> images = {}; struct { |
