summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-06-19 12:05:20 -0700
committerKenneth Graunke <[email protected]>2014-09-10 11:05:05 -0700
commit04d3323d4b7b7cae4954d80946f0ca202770dd14 (patch)
tree19c9136a72a516a064affedade6749623f39bce8 /src/glsl/linker.h
parent1e87fbd78f15f262b3dd2cbc16099e9f484c42a0 (diff)
glsl/linker: Make get_main_function_signature public
The next patch will use this function in a different file. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r--src/glsl/linker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index beb9bb21695..9440794e23f 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -26,6 +26,9 @@
#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);