linker: Make invalidate_variable_locations available outside the compilation unit

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
Ian Romanick
2011-10-11 16:15:47 -07:00
parent 68db407b20
commit f6ee7bce65
2 changed files with 9 additions and 5 deletions

View File

@@ -30,6 +30,10 @@ extern bool
link_function_calls(gl_shader_program *prog, gl_shader *main,
gl_shader **shader_list, unsigned num_shaders);
extern void
link_invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode,
int generic_base);
/**
* Class for processing all of the leaf fields of an uniform
*