From 753ba6b9995ad6a2d2e43faa7df8033dcd003f87 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Thu, 5 Feb 2015 12:53:26 +0200 Subject: [PATCH] glsl/ir: Add cloning support for doubles Signed-off-by: Dave Airlie Reviewed-by: Matt Turner Reviewed-by: Ian Romanick Reviewed-by: Ilia Mirkin --- src/glsl/ir_clone.cpp | 1 + 1 file changed, 1 insertion(+) 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); -- 2.30.2