summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_compile.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-12-12 09:56:13 -0700
committerBrian Paul <[email protected]>2009-01-06 09:08:35 -0700
commit593073a3b39486398f245800633d6eeaf7989f5c (patch)
treedfbf97691efc64f59ed5d85da1790697bf12ce1d /src/mesa/shader/slang/slang_compile.c
parent0d293f66877486a37682bd0537ea1d3c5fc126db (diff)
mesa: checkpoint: GLSL 1.20 array constructors
(cherry picked from commit ade777ea1b62e2280c9f05fa09927a8f9bb63f4f)
Diffstat (limited to 'src/mesa/shader/slang/slang_compile.c')
-rw-r--r--src/mesa/shader/slang/slang_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c
index c0f6dc4c93a..ebc98c6c08e 100644
--- a/src/mesa/shader/slang/slang_compile.c
+++ b/src/mesa/shader/slang/slang_compile.c
@@ -2181,8 +2181,8 @@ parse_function(slang_parse_ctx * C, slang_output_ctx * O, int definition,
/* destroy the existing function declaration and replace it
* with the new one, remember to save the fixup table
*/
- parsed_func.fixups = found_func->fixups;
- slang_fixup_table_init(&found_func->fixups);
+ //parsed_func.fixups = found_func->fixups;
+ //slang_fixup_table_init(&found_func->fixups);
slang_function_destruct(found_func);
*found_func = parsed_func;
}