summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_tree_grafting.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/opt_tree_grafting.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/opt_tree_grafting.cpp')
-rw-r--r--src/glsl/opt_tree_grafting.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/opt_tree_grafting.cpp b/src/glsl/opt_tree_grafting.cpp
index 9aceb134def..03b920d8a2f 100644
--- a/src/glsl/opt_tree_grafting.cpp
+++ b/src/glsl/opt_tree_grafting.cpp
@@ -275,6 +275,7 @@ ir_tree_grafting_visitor::visit_enter(ir_texture *ir)
switch (ir->op) {
case ir_tex:
case ir_lod:
+ case ir_tg4:
break;
case ir_txb:
if (do_graft(&ir->lod_info.bias))