From: Dave Airlie Date: Thu, 5 Feb 2015 10:53:26 +0000 (+0200) Subject: glsl/ir: Add cloning support for doubles X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=753ba6b9995ad6a2d2e43faa7df8033dcd003f87;p=mesa.git glsl/ir: Add cloning support for doubles Signed-off-by: Dave Airlie Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Reviewed-by: Ilia Mirkin --- diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index dffa57844ce..5c7279ca3d8 100644 --- a/src/glsl/ir_clone.cpp +++ b/src/glsl/ir_clone.cpp @@ -327,6 +327,7 @@ ir_constant::clone(void *mem_ctx, struct hash_table *ht) const case GLSL_TYPE_UINT: case GLSL_TYPE_INT: case GLSL_TYPE_FLOAT: + case GLSL_TYPE_DOUBLE: case GLSL_TYPE_BOOL: return new(mem_ctx) ir_constant(this->type, &this->value);