diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-06 07:58:43 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-07 20:13:12 +0100 |
commit | 0ab17ab4062278ceed3a3dc28796493280e6d0a1 (patch) | |
tree | 26c4be1650fd1f554047f6179f31d3f2f8ddf528 /src/video_core/renderer_opengl/gl_shader_cache.h | |
parent | Merge pull request #1988 from lioncash/res (diff) | |
download | yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.gz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.bz2 yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.lz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.xz yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.tar.zst yuzu-0ab17ab4062278ceed3a3dc28796493280e6d0a1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.h index de3671acf..768747968 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_cache.h @@ -4,6 +4,7 @@ #pragma once +#include <array> #include <map> #include <memory> @@ -115,6 +116,9 @@ public: /// Gets the current specified shader stage program Shader GetStageProgram(Maxwell::ShaderProgram program); + +private: + std::array<Shader, Maxwell::MaxShaderProgram> last_shaders; }; } // namespace OpenGL |