projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
glsl: Fix incorrect hard-coded location of the gl_SecondaryFragColorEXT built-in.
[mesa.git]
/
src
/
compiler
/
glsl
/
glsl_symbol_table.h
diff --git
a/src/compiler/glsl/glsl_symbol_table.h
b/src/compiler/glsl/glsl_symbol_table.h
index 5d654e5e6a778eed89357bb2c6266247d295deb5..2f94d4c7ec87d64f840692e475ca91d53dfa598c 100644
(file)
--- a/
src/compiler/glsl/glsl_symbol_table.h
+++ b/
src/compiler/glsl/glsl_symbol_table.h
@@
-100,6
+100,11
@@
struct glsl_symbol_table {
*/
void disable_variable(const char *name);
+ /**
+ * Replaces the variable in the entry by the new variable.
+ */
+ void replace_variable(const char *name, ir_variable *v);
+
private:
symbol_table_entry *get_entry(const char *name);