From: Ian Romanick Date: Fri, 30 Aug 2013 22:27:49 +0000 (-0700) Subject: glsl: Copy ir_variable::assigned and ir_variable::used fields in ::clone method X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ceceaf53ceb7f5251833646a212a1c7e5786511c;p=mesa.git glsl: Copy ir_variable::assigned and ir_variable::used fields in ::clone method Nothing currently relies on this, but one of the next patches will. Signed-off-by: Ian Romanick Reviewed-by: Paul Berry --- diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index 9d4178de8b1..a75b3b7622b 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -59,6 +59,8 @@ ir_variable::clone(void *mem_ctx, struct hash_table *ht) const var->explicit_binding = this->explicit_binding; var->has_initializer = this->has_initializer; var->depth_layout = this->depth_layout; + var->assigned = this->assigned; + var->used = this->used; var->num_state_slots = this->num_state_slots; if (this->state_slots) {