diff options
author | Christian König <[email protected]> | 2011-01-20 22:43:18 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2011-01-20 22:43:18 +0100 |
commit | 78faf8d0e9c276a0ff1465e501d58fb3d66de2f7 (patch) | |
tree | 4e124bd6b511e408c5e113c4166b8fa97fd75b24 /src/glsl/loop_analysis.cpp | |
parent | d2ff6b8715e817c1ef14d4bf12be58c19d894143 (diff) | |
parent | 37233f1ee0213a224611788bbab38840ba9f8308 (diff) |
Merge remote branch 'origin/master' into pipe-video
Conflicts:
src/gallium/drivers/r600/r600_asm.c
Diffstat (limited to 'src/glsl/loop_analysis.cpp')
-rw-r--r-- | src/glsl/loop_analysis.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glsl/loop_analysis.cpp b/src/glsl/loop_analysis.cpp index ff7adf00a21..3cf86ebaa38 100644 --- a/src/glsl/loop_analysis.cpp +++ b/src/glsl/loop_analysis.cpp @@ -38,6 +38,7 @@ loop_state::loop_state() this->ht = hash_table_ctor(0, hash_table_pointer_hash, hash_table_pointer_compare); this->mem_ctx = talloc_init("loop state"); + this->loop_found = false; } @@ -52,7 +53,9 @@ loop_variable_state * loop_state::insert(ir_loop *ir) { loop_variable_state *ls = new(this->mem_ctx) loop_variable_state; + hash_table_insert(this->ht, ls, ir); + this->loop_found = true; return ls; } |