projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glsl: Properly add functions during lazy built-in prototype importing.
[mesa.git]
/
src
/
glsl
/
glsl_symbol_table.h
diff --git
a/src/glsl/glsl_symbol_table.h
b/src/glsl/glsl_symbol_table.h
index 329cd106b14fb25ea95977d2fcf419314a2f4b29..28a44ebe91c24fa065755136f1bfd30d1efad338 100644
(file)
--- a/
src/glsl/glsl_symbol_table.h
+++ b/
src/glsl/glsl_symbol_table.h
@@
-102,6
+102,11
@@
public:
bool add_function(ir_function *f);
/*@}*/
bool add_function(ir_function *f);
/*@}*/
+ /**
+ * Add an function at global scope without checking for scoping conflicts.
+ */
+ void add_global_function(ir_function *f);
+
/**
* \name Methods to get symbols from the table
*/
/**
* \name Methods to get symbols from the table
*/