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>
This commit is contained in:
Ian Romanick
2011-10-18 11:54:48 -07:00
parent 9a21d4670c
commit 07731ed169
2 changed files with 98 additions and 0 deletions

View File

@@ -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
*