summaryrefslogtreecommitdiff
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2011-10-18 11:54:48 -0700
committerIan Romanick <ian.d.romanick@intel.com>2011-11-07 13:33:16 -0800
commit07731ed1692eb5d72110b3c5b693f37e581e3809 (patch)
tree9b77a5a4412e6417cdd0285a4a4766c759b2a961 /src/glsl/linker.h
parent9a21d4670ce88cd2476930f3c5f7945cc57579e8 (diff)
linker: Track uniform locations to new tracking structures
This is just the infrastructure and the code. It's not used yet. 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h
index 669549bf0c5..433c63be246 100644
--- a/src/glsl/linker.h
+++ b/src/glsl/linker.h
@@ -34,6 +34,9 @@ extern void
link_invalidate_variable_locations(gl_shader *sh, enum ir_variable_mode mode,
int generic_base);
+extern void
+link_assign_uniform_locations(struct gl_shader_program *prog);
+
/**
* Class for processing all of the leaf fields of an uniform
*