summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-12 11:17:49 +0200
committerwm4 <wm4@nowhere>2016-05-12 11:17:49 +0200
commitd4712af5af93bc2aea47d15b52dedcc61d9f81f1 (patch)
treee5d06f36d99e7c66f0af9a6938cef438173bae51 /video/out/opengl/common.c
parent809d2352088234bf040c257fea2068838e95d5a1 (diff)
downloadmpv-d4712af5af93bc2aea47d15b52dedcc61d9f81f1.tar.bz2
mpv-d4712af5af93bc2aea47d15b52dedcc61d9f81f1.tar.xz
vo_opengl: angle: dump translated shaders
Helpful for debugging and such.
Diffstat (limited to 'video/out/opengl/common.c')
-rw-r--r--video/out/opengl/common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index f9c830f25a..ee8b4c6468 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -344,6 +344,13 @@ static const struct gl_functions gl_functions[] = {
{0}
},
},
+ {
+ .extension = "GL_ANGLE_translated_shader_source",
+ .functions = (const struct gl_function[]) {
+ DEF_FN(GetTranslatedShaderSourceANGLE),
+ {0}
+ },
+ },
};
#undef FN_OFFS