projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c6c3d
)
glsl/ir: Add cloning support for doubles
author
Dave Airlie
<airlied@gmail.com>
Thu, 5 Feb 2015 10:53:26 +0000
(12:53 +0200)
committer
Ilia Mirkin
<imirkin@alum.mit.edu>
Thu, 19 Feb 2015 05:28:34 +0000
(
00:28
-0500)
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
src/glsl/ir_clone.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_clone.cpp
b/src/glsl/ir_clone.cpp
index dffa57844ce2ad1d29c59f283453a1a2212ab33e..5c7279ca3d813c81637a708bd2c8340115efd5fb 100644
(file)
--- 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);