From 3b85f1cc6cb12e9d4931e12cf29adde578f389fd Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Thu, 26 Aug 2010 15:11:26 -0700 Subject: glsl2: Add cmp field to ir_loop This reprents the type of comparison between the loop induction variable and the loop termination value. --- src/glsl/ir_clone.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/glsl/ir_clone.cpp') diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index 1d690a4da7..3b8beb54b5 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -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; } -- cgit v1.2.3