summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/symbol_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/symbol_table.h')
-rw-r--r--src/mesa/program/symbol_table.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/program/symbol_table.h b/src/mesa/program/symbol_table.h
index ff1e6f2065a..cba47143ef2 100644
--- a/src/mesa/program/symbol_table.h
+++ b/src/mesa/program/symbol_table.h
@@ -32,6 +32,10 @@ extern void _mesa_symbol_table_pop_scope(struct _mesa_symbol_table *table);
extern int _mesa_symbol_table_add_symbol(struct _mesa_symbol_table *symtab,
const char *name, void *declaration);
+extern int _mesa_symbol_table_replace_symbol(struct _mesa_symbol_table *table,
+ const char *name,
+ void *declaration);
+
extern int
_mesa_symbol_table_add_global_symbol(struct _mesa_symbol_table *symtab,
const char *name,