diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-10 22:34:15 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2018-10-22 21:07:33 +0200 |
commit | 59a004f915e84fec4a4fed125661eb486e1de198 (patch) | |
tree | 0503fc9161e632023e1deeb005b33ee028440bcc /src/video_core/renderer_opengl/gl_shader_cache.h | |
parent | Cache uniform locations and restructure the implementation (diff) | |
download | yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar.gz yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar.bz2 yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar.lz yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar.xz yuzu-59a004f915e84fec4a4fed125661eb486e1de198.tar.zst yuzu-59a004f915e84fec4a4fed125661eb486e1de198.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.h')
-rw-r--r-- | src/video_core/renderer_opengl/gl_shader_cache.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.h index 7c80ee86b..a210f1731 100644 --- a/src/video_core/renderer_opengl/gl_shader_cache.h +++ b/src/video_core/renderer_opengl/gl_shader_cache.h @@ -73,15 +73,11 @@ public: /// Gets the GL uniform location for the specified resource, caching as needed GLint GetUniformLocation(const GLShader::SamplerEntry& sampler); - void SetAlphaTesting(const bool enable, const float ref, const u32 func); - private: /// Generates a geometry shader or returns one that already exists. GLuint LazyGeometryProgram(OGLProgram& target_program, const std::string& glsl_topology, const std::string& debug_name); - void SaveAlphaTestingLocations(); - VAddr addr; Maxwell::ShaderProgram program_type; GLShader::ShaderSetup setup; @@ -102,12 +98,6 @@ private: OGLProgram triangles_adjacency; } geometry_programs; - struct { - GLint enable_loc; - GLint ref_loc; - GLint func_loc; - } alpha_test; - std::map<u32, GLuint> resource_cache; std::map<u32, GLint> uniform_cache; }; |