summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_array_splitting.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2012-04-18 19:10:03 -0700
committerKenneth Graunke <[email protected]>2012-04-18 19:11:10 -0700
commit14e9942841d638b0ce5e858540f786fa4b04f67d (patch)
treeb8fd69f611abdf2089e0af6998510b710449e247 /src/glsl/opt_array_splitting.cpp
parent4f96e9830fa316fd1dacd6068c1f0e79a56ba038 (diff)
glsl: Remove unused mem_ctx field from ir_array_splitting_visitor.
Vinson reported that we failed to initialize this, which would lead to all kinds of crashes if we actually used it. Since we don't use it, we may as well just delete the broken code. Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/opt_array_splitting.cpp')
-rw-r--r--src/glsl/opt_array_splitting.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glsl/opt_array_splitting.cpp b/src/glsl/opt_array_splitting.cpp
index f11b51631db..5cf448b196d 100644
--- a/src/glsl/opt_array_splitting.cpp
+++ b/src/glsl/opt_array_splitting.cpp
@@ -236,7 +236,6 @@ public:
variable_entry *get_splitting_entry(ir_variable *var);
exec_list *variable_list;
- void *mem_ctx;
};
variable_entry *