summaryrefslogtreecommitdiff
path: root/src/mesa/shader/slang/slang_compile_variable.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-12-12 15:11:08 -0700
committerBrian Paul <brianp@vmware.com>2009-01-06 09:11:08 -0700
commitceaf57524b6daaba3b083f441a8e0a98f98cebde (patch)
tree95d27849f90c2f65618a9cfbb80ba4bbfb8b9e1e /src/mesa/shader/slang/slang_compile_variable.c
parent71ef9e3775a8d091a7aaacac9bd3dcaecd3b075e (diff)
mesa: remove unused varpool code in glsl compiler
(cherry picked from commit 81253be3347312eb7539eb61ee9362f76370eba7)
Diffstat (limited to 'src/mesa/shader/slang/slang_compile_variable.c')
-rw-r--r--src/mesa/shader/slang/slang_compile_variable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/shader/slang/slang_compile_variable.c b/src/mesa/shader/slang/slang_compile_variable.c
index 18e0f91a8f..eab912710e 100644
--- a/src/mesa/shader/slang/slang_compile_variable.c
+++ b/src/mesa/shader/slang/slang_compile_variable.c
@@ -164,7 +164,6 @@ slang_variable_construct(slang_variable * var)
var->a_name = SLANG_ATOM_NULL;
var->array_len = 0;
var->initializer = NULL;
- var->address = ~0;
var->size = 0;
var->isTemp = GL_FALSE;
var->store = NULL;
@@ -219,7 +218,6 @@ slang_variable_copy(slang_variable * x, const slang_variable * y)
return 0;
}
}
- z.address = y->address;
z.size = y->size;
slang_variable_destruct(x);
*x = z;