summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-03-07 13:00:06 -0700
committerBrian <brian@yutani.localnet.net>2007-03-07 13:00:06 -0700
commitfaeea574afcdd45200aea4a78fb7d80b2aa56552 (patch)
tree190f3ba28d0007572abf9ef97b93ca00cbe8fa9e
parent35d25c0ce4104d41feead679573543427f99a031 (diff)
remove end_label field
-rw-r--r--src/mesa/shader/slang/slang_compile_function.c1
-rw-r--r--src/mesa/shader/slang/slang_compile_function.h5
2 files changed, 0 insertions, 6 deletions
diff --git a/src/mesa/shader/slang/slang_compile_function.c b/src/mesa/shader/slang/slang_compile_function.c
index 9b0bdaf406..2f74050b86 100644
--- a/src/mesa/shader/slang/slang_compile_function.c
+++ b/src/mesa/shader/slang/slang_compile_function.c
@@ -86,7 +86,6 @@ slang_function_construct(slang_function * func)
func->param_count = 0;
func->body = NULL;
func->address = ~0;
- func->end_label = 0;
slang_fixup_table_init(&func->fixups);
return 1;
}
diff --git a/src/mesa/shader/slang/slang_compile_function.h b/src/mesa/shader/slang/slang_compile_function.h
index 09fbfd9090..a59b094e08 100644
--- a/src/mesa/shader/slang/slang_compile_function.h
+++ b/src/mesa/shader/slang/slang_compile_function.h
@@ -66,11 +66,6 @@ typedef struct slang_function_
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 */
-#if 0
- slang_atom end_label; /**< The end-of-function label */
-#else
- struct slang_label_ *end_label;
-#endif
} slang_function;
extern int slang_function_construct(slang_function *);