diff options
author | Ian Romanick <[email protected]> | 2011-10-11 16:15:47 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2011-11-07 13:33:15 -0800 |
commit | f6ee7bce65697ea3c6a78a000a49af901ba77c1d (patch) | |
tree | 8020b8e53dc1456703315022f2211252eff3f91b /src/glsl/linker.h | |
parent | 68db407b20e780d3f45b90b01f1271b7bd7e7a2b (diff) |
linker: Make invalidate_variable_locations available outside the compilation unit
Signed-off-by: Ian Romanick <[email protected]>
Tested-by: Tom Stellard <[email protected]>
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 78c63296133..669549bf0c5 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 * |