projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a711ad6
)
glsl2: Set the type on cloned tex instructions.
author
Eric Anholt
<eric@anholt.net>
Thu, 22 Jul 2010 22:34:01 +0000
(15:34 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 22 Jul 2010 22:34:01 +0000
(15:34 -0700)
src/glsl/ir_clone.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_clone.cpp
b/src/glsl/ir_clone.cpp
index a3e4a3ae311a66702376d00f98884ca76ae4a30b..c49a7324818c1dc2281d38e6d7a5bf57c3a3b3c7 100644
(file)
--- a/
src/glsl/ir_clone.cpp
+++ b/
src/glsl/ir_clone.cpp
@@
-210,6
+210,7
@@
ir_texture::clone(struct hash_table *ht) const
{
void *ctx = talloc_parent(this);
ir_texture *new_tex = new(ctx) ir_texture(this->op);
+ new_tex->type = this->type;
new_tex->sampler = this->sampler->clone(ht);
new_tex->coordinate = this->coordinate->clone(ht);