diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.c | 1 | ||||
-rw-r--r-- | src/mesa/shader/slang/slang_compile_function.h | 5 |
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 *); |