diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-10-11 16:15:47 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-11-07 13:33:15 -0800 |
commit | f6ee7bce65697ea3c6a78a000a49af901ba77c1d (patch) | |
tree | 8020b8e53dc1456703315022f2211252eff3f91b /src/glsl/linker.h | |
parent | 68db407b20e780d3f45b90b01f1271b7bd7e7a2b (diff) | |
download | external_mesa3d-f6ee7bce65697ea3c6a78a000a49af901ba77c1d.zip external_mesa3d-f6ee7bce65697ea3c6a78a000a49af901ba77c1d.tar.gz external_mesa3d-f6ee7bce65697ea3c6a78a000a49af901ba77c1d.tar.bz2 |
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>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r-- | src/glsl/linker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h index 78c6329..669549b 100644 --- a/src/glsl/linker.h +++ b/src/glsl/linker.h @@ -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 * |