Merge remote-tracking branch 'mesa-public/master' into vulkan
[mesa.git] / src / glsl / ir_clone.cpp
index bee60a241e4d7e32f5f2deabc0b253d086f6d7ed..2aef4fcb4ac3f599f6499fb9ebcaf1637cfe2ffe 100644 (file)
@@ -366,6 +366,7 @@ ir_constant::clone(void *mem_ctx, struct hash_table *ht) const
       return c;
    }
 
+   case GLSL_TYPE_FUNCTION:
    case GLSL_TYPE_SAMPLER:
    case GLSL_TYPE_IMAGE:
    case GLSL_TYPE_ATOMIC_UINT: