summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-11-27 17:48:59 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-11-27 17:48:59 +0000
commitd9a8cc430d2856c42ab74b672d9ca01a7001e015 (patch)
treee2abe5af6c0a93bbd8db38f02de17289e4b0b45e /src/mesa
parentc0815bc01fc27185d2f6bedefe49a286dedcbed9 (diff)
comments
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/shader/slang/slang_compile_function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h
index 1a7302f29a..c05c6f4d85 100644
--- a/src/mesa/shader/slang/slang_compile_function.h
+++ b/src/mesa/shader/slang/slang_compile_function.h
@@ -64,8 +64,8 @@ typedef struct slang_function_
{
slang_function_kind kind;
slang_variable header; /**< The function's name and return type */
- slang_variable_scope *parameters; /**< array [param_count] */
- unsigned int param_count;
+ slang_variable_scope *parameters; /**< formal parameters AND local vars */
+ unsigned int param_count; /**< number of formal params (no locals) */
slang_operation *body; /**< The instruction tree */
unsigned int address; /**< Address of this func in memory */
slang_fixup_table fixups; /**< Mem locations which need func's address */