glsl2: Add cmp field to ir_loop

This reprents the type of comparison between the loop induction
variable and the loop termination value.
This commit is contained in:
Ian Romanick
2010-08-26 15:11:26 -07:00
parent c8ee8e07f7
commit 3b85f1cc6c
3 changed files with 34 additions and 6 deletions

View File

@@ -134,6 +134,7 @@ ir_loop::clone(void *mem_ctx, struct hash_table *ht) const
new_loop->body_instructions.push_tail(ir->clone(mem_ctx, ht));
}
new_loop->cmp = this->cmp;
return new_loop;
}