glsl: Add ir_demote
[mesa.git] / src / compiler / glsl / ir_clone.cpp
index c492fdbb3d0254d8a228d1132db31f3a986f6a12..eb24ffe9be2e3faf5041c6d21ec15e3412ea1e34 100644 (file)
@@ -102,6 +102,12 @@ ir_discard::clone(void *mem_ctx, struct hash_table *ht) const
    return new(mem_ctx) ir_discard(new_condition);
 }
 
+ir_demote *
+ir_demote::clone(void *mem_ctx, struct hash_table *ht) const
+{
+   return new(mem_ctx) ir_demote();
+}
+
 ir_loop_jump *
 ir_loop_jump::clone(void *mem_ctx, struct hash_table *ht) const
 {