summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_clone.cpp
diff options
context:
space:
mode:
authorMaxence Le Dore <[email protected]>2012-12-24 00:57:37 +0100
committerChris Forbes <[email protected]>2013-10-03 07:55:54 +1300
commit18002d9eda56801794cf471b30cfb9cd79fd167b (patch)
tree996f09ad1d51f934b512f59bb9c0a98ea0b73ed1 /src/glsl/ir_clone.cpp
parentd3575622b7897c88c62e4f57341c196eb913c960 (diff)
glsl: add texture gather changes
V2 [Chris Forbes]: - Add new pattern, fixup parameter reading. V3: Rebase onto new builtins machinery Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ir_clone.cpp')
-rw-r--r--src/glsl/ir_clone.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_clone.cpp b/src/glsl/ir_clone.cpp
index fb303b0b75c..fe531a8e306 100644
--- a/src/glsl/ir_clone.cpp
+++ b/src/glsl/ir_clone.cpp
@@ -248,6 +248,7 @@ ir_texture::clone(void *mem_ctx, struct hash_table *ht) const
switch (this->op) {
case ir_tex:
case ir_lod:
+ case ir_tg4:
break;
case ir_txb:
new_tex->lod_info.bias = this->lod_info.bias->clone(mem_ctx, ht);