summaryrefslogtreecommitdiff
path: root/src/glsl/glsl_symbol_table.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2013-01-21 23:01:33 -0500
committerIan Romanick <ian.d.romanick@intel.com>2013-01-25 09:07:34 -0500
commit5383661092fc46cf7013052210e6d624f4d5b596 (patch)
tree0997c7806b795f6db0e75395edf752c5e605331b /src/glsl/glsl_symbol_table.h
parent9a204bb9f611e34396ea838b44517dd6eeb99bcc (diff)
glsl: Track blocks in the symbol table using the glsl_type instead of the gl_uniform_block
Eventually the gl_uniform_block information won't be calculated until linking. Block names need to be checked for name clashes during compiling, so we have to track it differently. v2: Update the commit message. Suggested by Carl Worth. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/glsl_symbol_table.h')
-rw-r--r--src/glsl/glsl_symbol_table.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/glsl_symbol_table.h b/src/glsl/glsl_symbol_table.h
index f95fb8a0115..9f5602787f0 100644
--- a/src/glsl/glsl_symbol_table.h
+++ b/src/glsl/glsl_symbol_table.h
@@ -99,7 +99,6 @@ public:
bool add_variable(ir_variable *v);
bool add_type(const char *name, const glsl_type *t);
bool add_function(ir_function *f);
- bool add_uniform_block(struct gl_uniform_block *u);
/*@}*/
/**