summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_shader_cache.h
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-10-09 05:34:11 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2018-10-22 21:07:30 +0200
commitaa620c14af0a9bc2bf7784ed096298fc3c8899c3 (patch)
tree699de63d8265e2a7a6bc65b136fc9926cedb9e70 /src/video_core/renderer_opengl/gl_shader_cache.h
parentMerge pull request #1541 from lioncash/define (diff)
downloadyuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar.gz
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar.bz2
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar.lz
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar.xz
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.tar.zst
yuzu-aa620c14af0a9bc2bf7784ed096298fc3c8899c3.zip
Diffstat (limited to 'src/video_core/renderer_opengl/gl_shader_cache.h')
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.h5
1 files changed, 5 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 a210f1731..9333f423f 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.h
+++ b/src/video_core/renderer_opengl/gl_shader_cache.h
@@ -73,6 +73,11 @@ public:
/// Gets the GL uniform location for the specified resource, caching as needed
GLint GetUniformLocation(const GLShader::SamplerEntry& sampler);
+
+ GLint GetAlphaTestingEnableLocation();
+ GLint GetAlphaTestingFuncLocation();
+ GLint GetAlphaTestingRefLocation();
+
private:
/// Generates a geometry shader or returns one that already exists.
GLuint LazyGeometryProgram(OGLProgram& target_program, const std::string& glsl_topology,