summaryrefslogtreecommitdiffstats
path: root/src/glsl/program.h
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2015-06-29 14:39:05 +0300
committerTapani Pälli <[email protected]>2015-07-01 14:40:34 +0300
commit73afa31f07fe4af605088f6590edc4227652c482 (patch)
tree8ca4f163f3fbf6a62d19be1ed18d4db44be339fe /src/glsl/program.h
parentccaf37f4496eb836866c9daacf21f1f5ac8c6d66 (diff)
glsl: expose build_program_resource_list function
This is required so that we can move resource list creation to happen later. Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Martin Peres <[email protected]>
Diffstat (limited to 'src/glsl/program.h')
-rw-r--r--src/glsl/program.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/program.h b/src/glsl/program.h
index f15113a08d2..c06541a6105 100644
--- a/src/glsl/program.h
+++ b/src/glsl/program.h
@@ -40,6 +40,10 @@ extern void
link_shaders(struct gl_context *ctx, struct gl_shader_program *prog);
extern void
+build_program_resource_list(struct gl_context *ctx,
+ struct gl_shader_program *shProg);
+
+extern void
linker_error(struct gl_shader_program *prog, const char *fmt, ...)
PRINTFLIKE(2, 3);