summaryrefslogtreecommitdiffstats
path: root/src/glsl/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl/program.h')
-rw-r--r--src/glsl/program.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glsl/program.h b/src/glsl/program.h
index db602fa9ec2..437ca1462fa 100644
--- a/src/glsl/program.h
+++ b/src/glsl/program.h
@@ -25,3 +25,11 @@
extern void
link_shaders(struct gl_context *ctx, struct gl_shader_program *prog);
+
+extern void
+linker_error(gl_shader_program *prog, const char *fmt, ...)
+ PRINTFLIKE(2, 3);
+
+extern void
+linker_warning(gl_shader_program *prog, const char *fmt, ...)
+ PRINTFLIKE(2, 3);