summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-08-17 12:22:34 -0700
committerJordan Justen <[email protected]>2015-09-13 09:53:16 -0700
commitc4d049f64603d934aed2a75cac86d4a3d4adadb7 (patch)
treefa7683c911213688dee17a9ec8fc3badc561bb95 /src/glsl/linker.h
parent34e187ec38cee78fbc0e1d1a09a99160fbdf7a9f (diff)
glsl: Move link_get_main_function_signature to a common location
Also rename to _mesa_get_main_function_signature. We will call it near the end of compilation to insert some code into main for initializing some compute shader global variables. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index ce3dc323297..0999878c65a 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -26,9 +26,6 @@
#ifndef GLSL_LINKER_H
#define GLSL_LINKER_H
-ir_function_signature *
-link_get_main_function_signature(gl_shader *sh);
-
extern bool
link_function_calls(gl_shader_program *prog, gl_shader *main,
gl_shader **shader_list, unsigned num_shaders);