comments
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 27 Nov 2006 17:48:59 +0000 (17:48 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 27 Nov 2006 17:48:59 +0000 (17:48 +0000)
src/mesa/shader/slang/slang_compile_function.h

index 1a7302f..c05c6f4 100644 (file)
@@ -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 */