diff options
author | Jordan Justen <[email protected]> | 2015-08-17 12:22:34 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2015-09-13 09:53:16 -0700 |
commit | c4d049f64603d934aed2a75cac86d4a3d4adadb7 (patch) | |
tree | fa7683c911213688dee17a9ec8fc3badc561bb95 /src/glsl/ir.h | |
parent | 34e187ec38cee78fbc0e1d1a09a99160fbdf7a9f (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/ir.h')
-rw-r--r-- | src/glsl/ir.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index bb7fa0e0af4..fce72a2d3c4 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -2529,6 +2529,9 @@ _mesa_glsl_find_builtin_function_by_name(const char *name); extern gl_shader * _mesa_glsl_get_builtin_function_shader(void); +extern ir_function_signature * +_mesa_get_main_function_signature(gl_shader *sh); + extern void _mesa_glsl_release_functions(void); |