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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user