diff options
author | Paul Berry <[email protected]> | 2013-11-28 12:17:54 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-12-09 10:54:46 -0800 |
commit | 115fd75ab06b858b83173f7d76eada8ea417fc86 (patch) | |
tree | a53327897131374977a403fdbd52419d4b6ce8f5 /src/glsl/loop_analysis.cpp | |
parent | e00b93a1f7b4bc7f5e887591c000524e13f80826 (diff) |
glsl/loops: Remove unused fields iv_scale and biv from loop_variable class.
These fields were part of some planned optimizations that never
materialized. Remove them for now to simplify things; if we ever get
round to adding the optimizations that would require them, we can
always re-introduce them.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.cpp')
-rw-r--r-- | src/glsl/loop_analysis.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/glsl/loop_analysis.cpp b/src/glsl/loop_analysis.cpp index 9fc7672fb39..56191447166 100644 --- a/src/glsl/loop_analysis.cpp +++ b/src/glsl/loop_analysis.cpp @@ -389,8 +389,6 @@ loop_analysis::visit_leave(ir_loop *ir) ir_rvalue *const inc = get_basic_induction_increment(lv->first_assignment, ls->var_hash); if (inc != NULL) { - lv->iv_scale = NULL; - lv->biv = lv->var; lv->increment = inc; lv->remove(); |