diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-07-04 02:39:46 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-07-04 02:39:46 +0200 |
commit | ad50cd7df95ec91d11c84a7b4711836838860560 (patch) | |
tree | 0da63ac6691bef831bfcd9e3b9d3ed3195478177 /src/video_core/renderer_opengl/gl_shader_cache.h | |
parent | Merge pull request #2613 from ogniK5377/InitalizeApplicationInfo (diff) | |
download | yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar.gz yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar.bz2 yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar.lz yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar.xz yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.tar.zst yuzu-ad50cd7df95ec91d11c84a7b4711836838860560.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.h index 964f680bc..01af9b28a 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_cache.h @@ -52,9 +52,6 @@ struct ShaderParameters { class CachedShader final : public RasterizerCacheObject { public: - explicit CachedShader(const ShaderParameters& params, Maxwell::ShaderProgram program_type, - GLShader::ProgramResult result); - static Shader CreateStageFromMemory(const ShaderParameters& params, Maxwell::ShaderProgram program_type, ProgramCode&& program_code, ProgramCode&& program_code_b); @@ -81,6 +78,9 @@ public: BaseBindings base_bindings); private: + explicit CachedShader(const ShaderParameters& params, Maxwell::ShaderProgram program_type, + GLShader::ProgramResult result); + // Geometry programs. These are needed because GLSL needs an input topology but it's not // declared by the hardware. Workaround this issue by generating a different shader per input // topology class. |