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/lower_vertex_id.cpp | |
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/lower_vertex_id.cpp')
-rw-r--r-- | src/glsl/lower_vertex_id.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/lower_vertex_id.cpp b/src/glsl/lower_vertex_id.cpp index fc90bc8e66f..3da7a2f1b3b 100644 --- a/src/glsl/lower_vertex_id.cpp +++ b/src/glsl/lower_vertex_id.cpp @@ -130,7 +130,7 @@ lower_vertex_id(gl_shader *shader) return false; ir_function_signature *const main_sig = - link_get_main_function_signature(shader); + _mesa_get_main_function_signature(shader); if (main_sig == NULL) { assert(main_sig != NULL); return false; |