diff options
author | Eric Anholt <[email protected]> | 2010-07-22 15:34:01 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2010-07-22 15:34:01 -0700 |
commit | c3081e627302429cdf2ee23a40fb20fa5cbf5770 (patch) | |
tree | f903c2fadfaf77f9a9ecc9c71d481674192805f2 /src/glsl | |
parent | a711ad6bf2407f63110de8e8f216eacd09dd8e82 (diff) |
glsl2: Set the type on cloned tex instructions.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/ir_clone.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp index a3e4a3ae311..c49a7324818 100644 --- 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); |