summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_function.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 09:58:18 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 09:58:18 -0700
commit19ca2908be5df2240d694c67c6f190982e9f7922 (patch)
treec0d59b758c82d5edd436de6221908abcd1212159 /src/mesa/shader/slang/slang_compile_function.h
parentade777ea1b62e2280c9f05fa09927a8f9bb63f4f (diff)
mesa: remove unused fixup table code in glsl compiler
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_function.h')
-rw-r--r--src/mesa/shader/slang/slang_compile_function.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h
index 7fd697ddc8..bd44378b69 100644
--- a/src/mesa/shader/slang/slang_compile_function.h
+++ b/src/mesa/shader/slang/slang_compile_function.h
@@ -40,21 +40,6 @@ typedef enum slang_function_kind_
/**
- * When we need to fill in addresses which we won't know until the future,
- * we keep track of them with a fix-up table.
- */
-typedef struct slang_fixup_table_
-{
- GLuint *table; /**< array[count] of addresses */
- GLuint count;
-} slang_fixup_table;
-
-extern void slang_fixup_table_init(slang_fixup_table *);
-extern void slang_fixup_table_free(slang_fixup_table *);
-extern GLboolean slang_fixup_save(slang_fixup_table *fixups, GLuint address);
-
-
-/**
* Description of a compiled shader function.
*/
typedef struct slang_function_
@@ -64,10 +49,6 @@ typedef struct slang_function_
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 */
-#if 0
- unsigned int address; /**< Address of this func in memory */
- slang_fixup_table fixups; /**< Mem locations which need func's address */
-#endif
} slang_function;
extern int slang_function_construct(slang_function *);