From 19ca2908be5df2240d694c67c6f190982e9f7922 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 12 Dec 2008 09:58:18 -0700 Subject: mesa: remove unused fixup table code in glsl compiler --- src/mesa/shader/slang/slang_compile_function.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/mesa/shader/slang/slang_compile_function.h') 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 @@ -39,21 +39,6 @@ typedef enum slang_function_kind_ } 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. */ @@ -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 *); -- cgit v1.2.3