diff options
author | Maxence Le Dore <[email protected]> | 2012-12-24 00:57:37 +0100 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-03 07:55:54 +1300 |
commit | 18002d9eda56801794cf471b30cfb9cd79fd167b (patch) | |
tree | 996f09ad1d51f934b512f59bb9c0a98ea0b73ed1 /src/glsl/ir_print_visitor.cpp | |
parent | d3575622b7897c88c62e4f57341c196eb913c960 (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_print_visitor.cpp')
-rw-r--r-- | src/glsl/ir_print_visitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/ir_print_visitor.cpp b/src/glsl/ir_print_visitor.cpp index b5183108d6b..2c06b95f61a 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); |