From: Dave Airlie Date: Thu, 5 Feb 2015 10:53:26 +0000 (+0200) Subject: glsl/ir: Add cloning support for doubles X-Git-Tag: upstream/17.1.0~20699 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=753ba6b9995ad6a2d2e43faa7df8033dcd003f87;p=platform%2Fupstream%2Fmesa.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 dffa578..5c7279c 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);