summaryrefslogtreecommitdiffstats
path: root/src/glsl/loop_analysis.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2013-11-29 00:11:12 -0800
committerPaul Berry <[email protected]>2013-12-09 10:55:03 -0800
commit4d844cfa56220b7de8ca676ad222d89f81c60c09 (patch)
tree0b5fa5d797cccbc63f94a7add09549b7d1d2f2a5 /src/glsl/loop_analysis.h
parente734c9f677ef3e9e2e4f207e4e794651ea6643b4 (diff)
glsl/loops: Get rid of loop_variable_state::max_iterations.
This value is now redundant with loop_variable_state::limiting_terminator->iterations and ir_loop::normative_bound. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/loop_analysis.h')
-rw-r--r--src/glsl/loop_analysis.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/glsl/loop_analysis.h b/src/glsl/loop_analysis.h
index 0208890b1fd..ae980567c06 100644
--- a/src/glsl/loop_analysis.h
+++ b/src/glsl/loop_analysis.h
@@ -119,15 +119,6 @@ public:
hash_table *var_hash;
/**
- * Maximum number of loop iterations.
- *
- * If this value is negative, then the loop may be infinite. This actually
- * means that analysis was unable to determine an upper bound on the number
- * of loop iterations.
- */
- int max_iterations;
-
- /**
* Number of ir_loop_jump instructions that operate on this loop
*/
unsigned num_loop_jumps;
@@ -139,7 +130,6 @@ public:
loop_variable_state()
{
- this->max_iterations = -1;
this->num_loop_jumps = 0;
this->contains_calls = false;
this->var_hash = hash_table_ctor(0, hash_table_pointer_hash,