summaryrefslogtreecommitdiffstats
path: root/src/glsl/ir_print_visitor.cpp
diff options
context:
space:
mode:
authorMaxence Le Dore <maxence.ledore@gmail.com>2012-12-24 00:57:37 +0100
committerChris Forbes <chrisf@ijw.co.nz>2013-10-03 07:55:54 +1300
commit18002d9eda56801794cf471b30cfb9cd79fd167b (patch)
tree996f09ad1d51f934b512f59bb9c0a98ea0b73ed1 /src/glsl/ir_print_visitor.cpp
parentd3575622b7897c88c62e4f57341c196eb913c960 (diff)
downloadexternal_mesa3d-18002d9eda56801794cf471b30cfb9cd79fd167b.zip
external_mesa3d-18002d9eda56801794cf471b30cfb9cd79fd167b.tar.gz
external_mesa3d-18002d9eda56801794cf471b30cfb9cd79fd167b.tar.bz2
glsl: add texture gather changes
V2 [Chris Forbes]: - Add new pattern, fixup parameter reading. V3: Rebase onto new builtins machinery Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/glsl/ir_print_visitor.cpp')
-rw-r--r--src/glsl/ir_print_visitor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp
index b518310..2c06b95 100644
--- a/src/glsl/ir_print_visitor.cpp
+++ b/src/glsl/ir_print_visitor.cpp
@@ -266,7 +266,7 @@ void ir_print_visitor::visit(ir_texture *ir)
printf(" ");
}
- if (ir->op != ir_txf && ir->op != ir_txf_ms && ir->op != ir_txs) {
+ if (ir->op != ir_txf && ir->op != ir_txf_ms && ir->op != ir_txs && ir->op != ir_tg4) {
if (ir->projector)
ir->projector->accept(this);
else
@@ -285,6 +285,7 @@ void ir_print_visitor::visit(ir_texture *ir)
{
case ir_tex:
case ir_lod:
+ case ir_tg4:
break;
case ir_txb:
ir->lod_info.bias->accept(this);